Prepare components for draft reviews
- Make timestamp optional in Comment component
- Make comments without IDs editable. For upcoming draft reviews, comments don’t have an ID yet but we still want to make them editable.
- Allow disabling of reactions, replies and changing status on diff comments
2 files changed
+33
-27
30710d51
→
5b5ea9a6
modified src/components/Comment.svelte
@@ -28,7 +28,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -139,9 +139,11 @@
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -153,12 +155,12 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/components/Diff.svelte
@@ -1,6 +1,6 @@
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -16,12 +16,14 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -430,27 +432,27 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -460,18 +462,20 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|