Commit Graph
377 Commits
Author SHA1 Message Date
Sebastian Martinez dfed3287c6 Reduce tauri log verbosity
Instead of logging to stdout everything, just do so until `Info` level
2025-03-18 21:21:02 +01:00
Sebastian Martinez 851d98d524 Remove @public path alias
We don't use this alias in the code base so we should remove it
2025-03-18 21:21:02 +01:00
Sebastian Martinez 89957097e1 Remove replacing standard html checkboxes with custom ones
This doesn't work currently, we need to look into ways to delegate this.
2025-03-18 21:21:02 +01:00
Sebastian Martinez 2d685715b9 Remove authenticate e2e test 2025-03-18 21:21:02 +01:00
Sebastian Martinez 738e7f4fb4 Remove AuthenticationError component 2025-03-18 21:21:02 +01:00
Sebastian Martinez c730e82187 Convert cob actions into customized desktop actions
This commit allows us to e.g. convert the Set of DIDs we obtain from
assignee actions on cobs into a Set of Authors with their Aliases.

Also it introduces the `FromRadicleAction` trait which can be
implemented for any type of enum we get from the `radicle` create to
convert into a type which is better suited for us.

Removes also any calling the `alias` command in the `PatchTimeline` or
`IssueTimeline` since we already get the alias from the backend the
first time now.
2025-03-18 13:10:26 -06:00
Sebastian Martinez b1bf3c510d Change some eprintln statements for log::error 2025-03-18 13:06:59 -06:00
Sebastian Martinez 038457ea60 Remove unused logging statements 2025-03-18 13:06:59 -06:00
Sebastian Martinez 47ea7d78f6 Toggle commits in patch revisions 2025-03-18 11:05:41 -06:00
Yorgos Saslis 6f78319392 Fix artifact dir path
Signed-off-by: Yorgos Saslis <yorgos.work@proton.me>
2025-03-18 13:40:16 +02:00
Konstantinos ManinakisandYorgos Saslis 8ca8425e3f Add build and artifact upload pipeline
Co-authored-by: Yorgos Saslis <yorgos.work@proton.me>
2025-03-18 12:07:44 +01:00
Rūdolfs Ošiņš 2c8b00cab0 Fix stay on review page when reloading view 2025-03-17 21:49:11 -06:00
Rūdolfs Ošiņš 0c1b441ed2 Show commit list in review view 2025-03-17 21:49:11 -06:00
Rūdolfs Ošiņš d4a2677f57 Convert props to const where possible 2025-03-17 21:49:11 -06:00
Rūdolfs Ošiņš 3e37465572 Fix patch list preserve filter when loading more on scroll 2025-03-17 21:49:11 -06:00
Rūdolfs Ošiņš a103772f1f Fix file expansion state not being cleared when changing patches 2025-03-17 21:49:11 -06:00
Rūdolfs Ošiņš 2274a9c79b Refactor patch loading 2025-03-17 21:49:11 -06:00
Rūdolfs Ošiņš 87a455d2a4 Implement code comments for single line selections 2025-03-17 21:17:25 -06:00
Rūdolfs Ošiņš a28aa0d6ab Add Changes section to Review 2025-03-14 16:45:05 -06:00
Rūdolfs Ošiņš 65a5049a35 Extract Review section into a separate component 2025-03-14 16:45:05 -06:00
Rūdolfs Ošiņš 2edf730e78 Extract Changes section into a separate component 2025-03-14 16:45:05 -06:00
Sebastian Martinez 7cf21972cd Set replyTo and location fields in Comment to null 2025-03-13 08:02:02 +01:00
Fintan Halpenny 0efb4e09f7 Update Nix flake to run e2e tests
This fixes the e2e testing in the Nix flake. It also requires locking the SHA of
`radicle` since it is a Git dependency in the `Cargo.toml`.

Running the update also automatically applied a change to change `reply_to` to
`replyTo` in `Action.ts`.
2025-02-24 11:01:40 +01:00
Sebastian Martinez 6ca5f29622 Fix regression in breaking popover and hovers 2025-02-23 14:17:11 +01:00
Rūdolfs Ošiņš 2800d4f8d6 Hide timeline by default
Use the same header styling as for the Discussion section.
2025-02-23 14:04:58 +01:00
Rūdolfs Ošiņš 82544a68bc Fix exception in markdown renderer 2025-02-23 13:53:45 +01:00
Rūdolfs Ošiņš db79d36dee Fix thread reply overflow
This also fixes the top-level comment corners when the reply textarea is
open but there are no other replies.
2025-02-23 13:43:06 +01:00
Rūdolfs Ošiņš 83554dc4ec Update stale Action typings
We forgot to update them when we changed it in the backend. This also
fixes a bug in the front-end.
2025-02-21 08:28:28 -06:00
Sebastian Martinez 31b2d9a9e1 Navigate users to latest revision of a patch
Instead of displaying the first revision of a patch, we should in
general send users to the latest revision of a patch and let user then
decide if they want to get more context.
2025-02-20 11:27:59 -06:00
Sebastian Martinez 618ae682bc Fix review.edit compressed notification summary
Instead of saying `edited 6 reviews` we should say `edited review 6
times`
2025-02-20 11:24:24 +01:00
Sebastian Martinez e82e333cc5 Refactor the tauri setup hook into individual commands
This allows us for onboarding to e.g. fail if there is no profile around
and guide new users through identity creation.

Also it makes the tauri run function easier to understand
2025-02-20 09:06:35 +01:00
Sebastian Martinez 89a26663e4 Update rust dependencies 2025-02-20 09:06:35 +01:00
Sebastian Martinez e7f0c4921d Update rust toolchain to 1.84 2025-02-20 09:06:35 +01:00
Rūdolfs Ošiņš 2e6fed9845 Refactor Issue discussion section
We now use the Discussion component like everywhere else.
2025-02-19 15:25:50 -06:00
Rūdolfs Ošiņš 16c72d5b2f Fix review teaser label and comment alignment 2025-02-19 15:25:50 -06:00
Rūdolfs Ošiņš 5e6fd19a6d Add discussion section to reviews 2025-02-19 15:25:50 -06:00
Rūdolfs Ošiņš ba79a3d22f Refactor discussion component 2025-02-19 15:25:50 -06:00
Rūdolfs Ošiņš 6c6484f2a3 Extract discussion section into its own component 2025-02-19 11:31:54 -06:00
Rūdolfs Ošiņš 15bb0353d0 Refactor VerdictButton props 2025-02-18 15:34:19 -06:00
Rūdolfs Ošiņš 7089e992e9 Use proper color for verdict badge icon 2025-02-18 15:29:46 -06:00
Rūdolfs Ošiņš 4add00d682 Add review page 2025-02-18 12:06:03 -06:00
Rūdolfs Ošiņš a918981ea7 Top-align icons and right-hand-side items in teasers 2025-02-17 12:36:25 +01:00
Rūdolfs Ošiņš c35b4a3dc5 Fix flaky tests
It's normal that some of the "alias" queries return a 404 if a DID can't
be looked up, in this case the endpoint returns a 404 and we just log
it.
2025-02-13 09:54:32 -06:00
Rūdolfs Ošiņš 6cbd6336dc Show inbox button in active state when showing inbox 2025-02-13 08:54:16 -06:00
Sebastian Martinez 9231d3c6c7 Display all additions of labels or assignees
Instead of relying on actions of previous labels or assignees, we should
always display changes to labels and assignees which can also happen on
creation of an issue or patch.

Also makes use of the `pluralize` helper function instead of
reimplementing it.
2025-02-11 11:34:08 +01:00
Rūdolfs Ošiņš 8f882c6013 Update color tokens from our Figma design system 2025-02-10 16:09:34 -06:00
Sebastian Martinez 365674bc58 Provide a sync_status store
The `sync_status` would update every 10 seconds with the latest state of
all repos, to be displayed in the repo where needed.
2025-02-10 11:55:14 -06:00
Rūdolfs Ošiņš 53d49e0bbf Clean up section collapsing logic 2025-02-10 08:58:20 +01:00
Rūdolfs Ošiņš 023b2f0503 Tweak spacings between sections 2025-02-10 08:58:20 +01:00
Rūdolfs Ošiņš e862a511ec Tweak discussion section
- show a Comment button
- collapse the section if there are no comments
- remove Reply button from the patch body
2025-02-10 08:58:20 +01:00