Add file path and line for comments with code locations
Instead of only displaying a comment, we need to make sure users know that this has been a line comment.
Linking to changes for the display of the comment is a bit trickier, will do so in a follow up
Stop propagation of Link click
By not stopping the propagation of the click event on Link components
weird things happen around the app like i.e. the Popover component
things someone clicked outside and updates the url hash.
We should make sure to only propagate clicks where needed.
2 files changed
+47
-0
0603f63c
→
18afaa12
modified src/components/Comment.svelte
@@ -3,6 +3,10 @@
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -14,12 +18,28 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -42,6 +62,13 @@
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -108,6 +135,25 @@
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified src/components/Thread.svelte
@@ -50,6 +50,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|