Commit Graph
134 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš 59be840f80 Align placeholder with markdown content
So it doesn't visually jump around when toggling between issues with and
without description.
2024-10-11 11:58:02 +02:00
Sebastian Martinez 6ff895e9a5 Add embeds field to comments 2024-10-10 19:55:53 +02:00
Sebastian Martinez 2af8538851 Fix reactions TS types 2024-10-10 19:55:44 +02:00
Sebastian Martinez 98bd1ee6b5 Use number as type instead of bigint 2024-10-10 11:23:36 +02:00
Sebastian Martinez c17c659458 Remove return of ReviewId from create_draft_review for open reviews
Instead of returning the `ReviewId` for a existing `Review`
`create_draft_review` should return an error that the new `Review` is a
duplicate.
2024-10-10 09:43:25 +02:00
Sebastian Martinez c06ddc5b49 Use types.rs instead of the mod.rs system for types 2024-10-10 09:43:25 +02:00
Rūdolfs Ošiņš cfe1c546f9 Add markdown preview to create issue view 2024-10-09 21:12:12 +02:00
Rūdolfs Ošiņš 9958575626 Add Issue state/label/assignee section in single issue view 2024-10-09 21:12:12 +02:00
Sebastian Martinez 6ea83dec47 Add edit_issue command 2024-10-09 11:43:58 +02:00
Sebastian Martinez 05fc9ec46c Add create and edit of patch reviews 2024-10-09 10:06:49 +02:00
Sebastian Martinez 8d76c8317c Create a cargo workspace to handle multiple crates 2024-10-08 15:21:19 +02:00
Sebastian Martinez 54ce1864eb Fix linter issue 2024-10-08 13:06:33 +02:00
Sebastian Martinez aebd7dda3a Fix missing entry in Cargo.lock 2024-10-08 13:06:23 +02:00
Sebastian Martinez ab27beca87 Add CobOptions to issue creation 2024-10-08 12:57:13 +02:00
Sebastian Martinez 3139c98834 Add rid to missing Patch component 2024-10-08 12:14:25 +02:00
Sebastian Martinez cb3a5ee586 Add mainBinaryName config option
Allows us to separate the binary name for the name of the rust crate.
2024-10-08 12:09:20 +02:00
Sebastian Martinez b2ea2cd2c9 Move src-tauri crate to crates/radicle-tauri 2024-10-08 12:09:20 +02:00
Sebastian Martinez 8c80f7b228 Add get_file_by_oid command, enables support for embeds 2024-10-08 12:07:47 +02:00
Rūdolfs Ošiņš e5f90e20b8 Add create issue view 2024-10-08 11:27:44 +02:00
Sebastian Martinez 517d867f95 Revert to initial scroll position on filter change 2024-10-07 13:11:08 +02:00
Sebastian Martinez e51df19fed Add infinite scrolling for patches listing 2024-10-07 13:11:08 +02:00
Sebastian Martinez 6b8c73c615 Fix Patch revision listing 2024-10-03 16:56:02 +02:00
Sebastian Martinez c9f654f752 Rename Revision oid to head 2024-10-03 16:55:52 +02:00
Sebastian Martinez 56cbb761d5 Add id to revision type 2024-10-03 11:51:12 +02:00
Sebastian Martinez d3d690c0fb Update tauri to 2.0 stable 2024-10-03 10:00:10 +02:00
Sebastian Martinez 6dea9a648e Update rust-toolchain to 1.81 2024-10-03 08:43:51 +02:00
Sebastian Martinez 4d81bf53be Await event listeners and unlisten on unmount 2024-10-01 18:24:18 +02:00
Sebastian Martinez d4825ab1dd Some minor refactors on tauri commands 2024-09-30 11:00:47 +02:00
Rūdolfs Ošiņš ea9a425cf0 Add single patch route 2024-09-27 16:59:16 +02:00
Sebastian Martinez 1a0de05a58 Add create_issue tauri command 2024-09-27 09:35:36 +02:00
Sebastian Martinez ddf44cea4e Rename and reorganize tauri commands 2024-09-26 11:30:44 +02:00
Sebastian Martinez 665c5a96bd Remove unusued lineNumbersGutter fn
It was a copy pasta function from `radicle-explorer` that if we need to
highlight files by line in the future e.g. changesets we should do it
better than this.
2024-09-26 09:54:07 +02:00
Sebastian Martinez 3b29598c77 Add prettylights css file
To provide the stylesheets for the classes that `starry-night` outputs
we use the `starry-night/style/both` stylesheets provided at
https://github.com/wooorm/starry-night?tab=readme-ov-file#css
2024-09-26 09:53:32 +02:00
Sebastian Martinez 56522a6083 Add buffer dependency for fixing build step
With the addition of the buffer polyfill we need to add the
corresponding dependency to fix the build step
2024-09-25 22:44:52 +02:00
Rūdolfs Ošiņš 25c8042944 Add styling for patch diff stats 2024-09-25 17:34:59 +02:00
Rūdolfs Ošiņš 395c46958e Make sidebar scrollable 2024-09-25 17:31:57 +02:00
Rūdolfs Ošiņš 6b8cb91567 Add single issue view 2024-09-25 17:31:57 +02:00
Rūdolfs Ošiņš c316caec04 Port Markdown renderer component 2024-09-25 17:31:57 +02:00
Rūdolfs Ošiņš 0e2aefe052 Style issue/patch missing text 2024-09-25 17:31:57 +02:00
Sebastian Martinez 608d211083 Add repo::diff tauri command 2024-09-25 16:59:47 +02:00
Rūdolfs Ošiņš 8aae8e66ab Update dependencies 2024-09-24 13:46:01 +02:00
Rūdolfs Ošiņš 88981c3f2a Use new app icon that Daniel designed
Has a background and rounded corners.
2024-09-24 13:10:36 +02:00
Sebastian Martinez 037ac391f8 Add issues_by_id, patches_by_id, revisions_by_patch, revisions_by_id
Also provides all the types related to it and a new npm script that
allows generating those types quickly.
2024-09-24 06:40:50 +02:00
Sebastian Martinez 9334ffb3c5 Add tauri commands to create comments and reply 2024-09-19 16:00:13 +02:00
Sebastian Martinez 8731506b94 Improve the event threads in the backend 2024-09-18 17:37:40 +02:00
Rūdolfs Ošiņš f5ce15a673 Fix lint issue 2024-09-18 17:03:29 +02:00
Rūdolfs Ošiņš 0d84cf55a6 Make list scroll under the header properly 2024-09-18 16:59:43 +02:00
Rūdolfs Ošiņš 7ec692738e Add elevation shadow to popover 2024-09-18 16:59:26 +02:00
Rūdolfs Ošiņš b05bc05b3c Fix header image in packaged build 2024-09-18 16:41:54 +02:00
Rūdolfs Ošiņš ccd4c280a5 Wire up the revision count in PatchTeaser 2024-09-18 14:37:58 +02:00