Commit Graph
348 Commits
Author SHA1 Message Date
Thomas Scholtes 2ba4e0f0e3 Simplified comment action binding 2025-07-16 12:58:03 +02:00
Rūdolfs Ošiņš c0814d88b3 Don't change issue list filter when changing issue state
This makes the issue list behave the same way as patch list. We don't change
the filter, just reload the issue list so that the new issue state is properly
reflected in the list.
2025-07-16 12:50:56 +02:00
Sebastian Martinez e0ae5b5501 Add source browsing 2025-07-16 09:41:46 +02:00
Sebastian Martinez 5954d8e822 Split revision descriptions at a new line
In the revisions listing we are trying to display the whole revision
text, which should be trimmed at a new line, or after an amount of
chars.
2025-07-14 16:22:31 +02:00
Thomas Scholtes 6f3662fa96 Extract lineDiff snippet 2025-07-10 17:29:43 +02:00
Sebastian Martinez 0336da384f Provide error.code to InvokeError
We decide during onboarding to display different things based on the
error code received from the backend.

Due to the new `InvokeError` type we lost this `error.code` string.
2025-07-09 16:20:38 +02:00
Sebastian Martinez b65b6daaee Provide currentVersion in UpdateChecker without parsing it 2025-07-04 14:28:43 +02:00
Sebastian Martinez 2f801b9940 Add eslint-plugin-simple-import-sort to sort and group imports 2025-07-03 15:46:18 +02:00
Sebastian Martinez f69c90785c Limit embed file size to 10MB 2025-07-03 15:15:28 +02:00
Rūdolfs Ošiņš a55a138a7f Improve code review usability
This patch moves the revision list from the tab bar drop-down to a sidebar
on wide screens and above the current revision on narrow screens. This
way all revisions are visible at all times.

We also move and nest the revision reviews into that list so that one
can see whether there's anything actionable at a glance.

Other tweaks:

  - added comment counts to revisions and reviews
  - displayed unresolved comment thread counts per review
  - swapped icons for accepted/rejected and neutral reviews to avoid clashing
    with resolved/unresolved comment icons
  - made label and assignee sections more compact with hover-triggered "+" buttons
  - added author and status sections to the sidebar
  - enabled patch state changes from the title bar
  - made "Review revision" the primary action and "Checkout patch" secondary
  - added "Draft" label to draft patches
  - capitalized all badges for consistent UI text
2025-07-03 11:46:39 +02:00
Sebastian Martinez 18f5aa9065 Allow verdict and summary changes in draft reviews
While a patch review is still in draft mode we should allow it to be
changed to no verdict or an empty summary.

The validation logic being taken care of by the `Publish draft` button.
2025-07-02 13:54:14 +02:00
Sebastian Martinez 641b809d56 Add Check for Update into Settings popover 2025-07-02 13:15:42 +02:00
Thomas Scholtes 17586953bb Draft reviews before publishing
Reviews are locally persisted but only published to the network by an
explicit user action.

- [ ] Delete line comments on draft reviews

[squash] Sort imports, separate type imports into own section
2025-07-01 14:31:55 +02:00
Thomas Scholtes 049b2b15df Allow disabling of attachments in comments with reason
[squash] Use shorthand property
2025-07-01 14:31:55 +02:00
Thomas Scholtes d35920b8cb Allow disabling of reactions, replies and changing status on diff comments 2025-06-27 16:30:13 +02:00
Thomas Scholtes 9ee9a108a5 Make comments without IDs editable
For upcoming draft reviews, comments don’t have an ID yet but we still
want to make them editable.
2025-06-27 16:30:13 +02:00
Thomas Scholtes e5f2071aea Make timestamp optional in Comment component
We’ll need this for draft comments
2025-06-27 16:30:13 +02:00
Thomas Scholtes 3adbfeecc2 Wrap invoke rejection reasons in Error instance
This way we get stack traces and more informative console logs (instead
of "[Object object]").
2025-06-27 16:29:03 +02:00
Sebastian Martinez 3e8d63fb80 Add auto-hide scrollbars into revision selector 2025-06-25 13:56:38 +02:00
Sebastian Martinez 30710d5181 Customize layout of textarea scrollbar 2025-06-19 14:44:07 +02:00
Sebastian Martinez c8b0861662 Remove unused event listeners 2025-06-18 16:24:07 +02:00
Rūdolfs Ošiņš a1de446c79 Fix issue/patch second column overflow problem 2025-06-16 15:33:44 +02:00
Sebastian Martinez cd20e647fd Import overlayscrollbars css instead of pointing to node_modules 2025-06-16 13:04:46 +02:00
Sebastian Martinez e246a48b90 Add overlay scrollbars with custom styling 2025-06-11 19:54:59 +02:00
Sebastian Martinez 499a0983ea Add rebuild cache functionality to issue and patch listing
In case of an outdated cobs cache we display a banner on top of the
patch or issue listing, to allow users to rebuild the cobs cache of a
repo similar to running `rad patch cache`
After rebuilding we fetch the issues or patches from the start.

Small caveat with patches:
The banner can only be shown after a user fetched all patches from the
backend, so we are sure we tried to fetch all of them.
2025-06-11 18:24:27 +02:00
Sebastian Martinez a6ea607c3a Fix scroll in single patch view second column 2025-06-11 16:58:24 +02:00
Rūdolfs Ošiņš 299adcaccb Implement repo seeding 2025-06-11 14:32:58 +02:00
Sebastian Martinez 8e683cf7ce Provide a full window error if something goes wrong 2025-06-06 15:22:08 +02:00
Sebastian Martinez d68a06c33a Show a spinner if startup takes more than 1 sec 2025-06-06 15:22:08 +02:00
Rūdolfs Ošiņš 8ff59fd0db Allow fuzzy finding by repo id, and issue/patch ids
This supports the workflow of copying an id from radicle-explorer and
searching for it on the app.
2025-06-05 10:51:04 +02:00
Rūdolfs Ošiņš 43989e53ba Show patch id as well as revision id in breadcrumbs 2025-05-22 14:19:35 +02:00
Rūdolfs Ošiņš f539a2a350 Implement breadcrumbs 2025-05-22 11:10:02 +02:00
Rūdolfs Ošiņš 0de67878a0 Always close inbox when navigating to notification 2025-05-20 15:58:09 +02:00
Rūdolfs Ošiņš 71069ef19e Move inbox to a global popover 2025-05-20 15:46:00 +02:00
Rūdolfs Ošiņš ac7189a1e9 Make all popover and drop-down buttons consistent 2025-05-15 17:08:43 +02:00
Rūdolfs Ošiņš 7d977f22da Extract buttons into own components 2025-05-15 17:08:43 +02:00
Sebastian Martinez f7cfae720e Update dependencies 2025-05-14 11:16:26 +02:00
Sebastian Martinez ff13c1e4f3 Move onboarding instructions to popover 2025-05-08 13:38:43 +02:00
Sebastian Martinez f427902005 Make rid prop in the Markdown component optional 2025-05-08 11:55:54 +02:00
Rūdolfs Ošiņš 5cb9aaa7fb Make buttons more descriptive 2025-05-07 18:58:55 +02:00
Rūdolfs Ošiņš f32772ebf1 Add New Patch button 2025-05-07 18:58:55 +02:00
Rūdolfs Ošiņš e427af7ed2 Fix bug where adding comment on opposite line would error
When adding a comment to the side that doesn't have changes we force the
comment to be added to the opposite side. E.g. adding a comment on the
right-hand-side for a deletion will force the comment to be added to the
left-hand-side.
2025-05-06 12:28:30 +02:00
Rūdolfs Ošiņš bb38192b7e Implement repo home page
- by default open repos on the home view
- show a rendered README on the repo home page
- show repo metadata: visibility, canonical branch, threshold, delegates
  and allow list with aliases
- make layout responsive on repo home
- add copy button to code blocks in markdown
2025-05-06 10:11:01 +02:00
Sebastian Martinez 865497ce38 Add short commit hash in about popup for macOS build 2025-05-05 11:21:53 +02:00
Rūdolfs Ošiņš 5d64fd9016 Add popover to online button with a short explainer 2025-04-25 08:43:45 +02:00
Rūdolfs Ošiņš e13ffec559 Revert "Add a little explainer to the Online/Offline button"
This reverts commit 301d8a6b7c.
2025-04-25 08:43:19 +02:00
Rūdolfs Ošiņš 301d8a6b7c Add a little explainer to the Online/Offline button
Also move the avatar and alias into the popover, and replace the home
icon.
2025-04-23 12:45:19 +02:00
Sebastian Martinez 03d7f8ae6e Fix prettier warning 2025-04-17 14:10:41 +02:00
Sebastian Martinez 90fe041fc4 Change px attributes to rem
Touches paddings, margins, gaps and line-heights.
Doesn't touch positioning and widths
2025-04-17 13:53:38 +02:00
Sebastian Martinez 5232b85e12 Adjust font size 2025-04-17 13:53:38 +02:00