Commit Graph
569 Commits
Author SHA1 Message Date
Thomas Scholtes ef7736a8b0 Re-enable replying to review comments again 2025-07-29 14:55:02 +02:00
Rūdolfs Ošiņš 620ad89474 Fix lint pipeline
Create build directory if it doesn't exist.
2025-07-23 11:19:28 +02:00
Rūdolfs Ošiņš c9a3cf7ce1 Improve release process docs 2025-07-22 18:16:42 +02:00
Rūdolfs Ošiņš ce35d498d4 Point update checker to the correct URL where we store files 2025-07-22 12:32:24 +02:00
Thomas Scholtes 64a9e2ce9f Use .prettierignore for better formatting control
* `npm run format` becomes much simpler
* Also format woodpecker YAML files
* Exclude arch build files from formatting
2025-07-22 10:28:53 +02:00
Rūdolfs Ošiņš 4fd016de9e Fix copyable Id reactivity
The component would always copy the first value it was initialized with
regardless of what the actual ID was that it was showing.
2025-07-22 10:09:53 +02:00
Thomas Scholtes 0936d7f9ff Use anchors on home view for better accesibility
Convert clickable elements for filtering repos to anchors so that they
can be focused and activated with the keyboard.
2025-07-21 17:02:03 +02:00
Rūdolfs Ošiņš 1a5e702158 Update arch package to v0.7.1 2025-07-18 18:05:42 +02:00
Rūdolfs Ošiņš 5f4d31c9e3 Release v0.7.1 2025-07-18 17:18:46 +02:00
Thomas Scholtes 2bbe4fd88f Improve release process 2025-07-18 17:09:30 +02:00
Thomas Scholtes fda0638fd3 Fix arch package publish script on macOS 2025-07-18 16:25:07 +02:00
Sebastian Martinez 7765b7d765 Update radicle crate 2025-07-18 16:09:05 +02:00
Rūdolfs Ošiņš 1b1e724d02 Update arch package to 0.7.0 2025-07-17 14:38:17 +02:00
Rūdolfs Ošiņš 0e4711b313 Release v0.7.0 2025-07-17 14:24:25 +02:00
Thomas Scholtes 1583a3103c Make repos in home focusable and interactive
Instead of making the whole card interactive, I decided to make the
heading interactive. This avoids nesting the copyable ID as an
interactive element. Nested interactive elements are generally hard to
deal with for implementers and users [1].

I also cleaned up the flex layout in the card heading.

[1]: https://accessibilityinsights.io/info-examples/web/nested-interactive/
2025-07-17 12:50:19 +02:00
Thomas Scholtes ea395ee884 Add button to delete draft reviews 2025-07-17 11:35:13 +02:00
Thomas Scholtes 595382b240 Introduce update functions for less error-prone local storage updates
For local storage updates to be persisted it had to be assigned for
example with `storage.value = storage.value`. It was easy to forget this
and it’s not immediately obvious why this is needed. (In fact, eslint
complains.)

We introduce an `update` method for the local storage and an
`updateStoredDraftReview` to encapsulate the necessary logic.
2025-07-17 11:08:41 +02:00
Thomas Scholtes ceca51c1bb Support deleting draft review comments 2025-07-17 10:48:35 +02:00
Thomas Scholtes a33799d62a Simplify reactOnComment action 2025-07-16 12:58:03 +02:00
Thomas Scholtes fdabbac599 Remove redundant partial application 2025-07-16 12:58:03 +02:00
Thomas Scholtes 2ba4e0f0e3 Simplified comment action binding 2025-07-16 12:58:03 +02:00
Thomas Scholtes a8486548d1 Move arch packaging into separate step with its own commit 2025-07-16 12:56:02 +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 8c3a629ecf Add missing readme_handler endpoint 2025-07-16 09:41:47 +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
Sebastian Martinez 2698a5a6d7 Add https://minio-api.radworks.garden to connect-src directive 2025-07-14 10:55:26 +02:00
Thomas Scholtes 6f3662fa96 Extract lineDiff snippet 2025-07-10 17:29:43 +02:00
Sebastian Martinez 581a9b6af6 Add version endpoint to test-http-api 2025-07-10 11:31:43 +02:00
Sebastian Martinez a9bfcd47a1 Move Version into radicle-types 2025-07-10 11:31:29 +02:00
Sebastian Martinez 51cf6cfbfe Release v0.6.1 2025-07-09 17:44:31 +02:00
Sebastian Martinez 0fe157e403 Bump release to 0.6.1 2025-07-09 17:43:11 +02:00
tippfehlr c0036eb35d Fix arch packaging, depend on cargo 2025-07-09 17:06:36 +02:00
Thomas Scholtes 447f5e00c6 Improve docs for arch releases 2025-07-09 17:05:23 +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
Rūdolfs Ošiņš 37a9fbeec0 Update arch package to 0.6.0 2025-07-04 08:44:46 +02:00
Rūdolfs Ošiņš 71904a7e40 Release v0.6.0 2025-07-03 16:16:02 +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ņš 832344f8a3 Fix theme spec 2025-07-03 11:46:39 +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 430a5b931c Ignore 'arch' folder when linting 2025-06-27 16:29:39 +02:00