Return comments and replies instead of Oids
6 files changed
+48
-19
7267961c
→
996f0817
modified Cargo.lock
@@ -3892,6 +3892,7 @@ version = "0.0.0"
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified crates/radicle-tauri/Cargo.toml
@@ -17,6 +17,7 @@ tauri-build = { version = "2.0", features = ["isolation"] }
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified crates/radicle-tauri/bindings/Comment.ts
@@ -1,10 +1,9 @@
|
|
|
|
|
|
| - | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-tauri/src/commands/thread.rs
@@ -1,4 +1,6 @@
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -15,7 +17,8 @@ pub fn create_issue_comment(
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -25,13 +28,24 @@ pub fn create_issue_comment(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -40,18 +54,20 @@ pub fn create_patch_comment(
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -59,5 +75,16 @@ pub fn create_patch_comment(
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
modified crates/radicle-tauri/src/types/cobs.rs
@@ -12,6 +12,7 @@ use radicle::node::{Alias, AliasStore};
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -45,7 +46,7 @@ pub struct Issue {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-tauri/src/types/thread.rs
@@ -23,7 +23,7 @@ pub struct CreateReviewComment {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -65,7 +65,7 @@ impl Comment<CodeLocation> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -91,7 +91,7 @@ impl Comment {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -105,7 +105,7 @@ pub struct NewIssueComment {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -122,7 +122,7 @@ pub struct NewPatchComment {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -166,7 +166,7 @@ impl From<CodeLocation> for cob::CodeLocation {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|