Commit Graph
183 Commits
Author SHA1 Message Date
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 2f801b9940 Add eslint-plugin-simple-import-sort to sort and group imports 2025-07-03 15:46:18 +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
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
Sebastian Martinez 3e8d63fb80 Add auto-hide scrollbars into revision selector 2025-06-25 13:56:38 +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 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
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ņš 71069ef19e Move inbox to a global popover 2025-05-20 15:46:00 +02:00
Rūdolfs Ošiņš 7d977f22da Extract buttons into own components 2025-05-15 17:08:43 +02:00
Sebastian Martinez ff13c1e4f3 Move onboarding instructions to popover 2025-05-08 13:38:43 +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ņš 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
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 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
Sebastian Martinez fd4b2f2335 Always reload the correct repo listing
Don't default to `all` repos for the repo listing reload, try to reload
the repo listing according to the `activeTab` props and else go with
`all`.
2025-04-16 15:48:33 +02:00
Sebastian Martinez 473ff8ed6c Remove unneccessary repo list reload
If there is at least one repo, we don't need to reload the repo listing.
2025-04-16 15:48:33 +02:00
Sebastian Martinez d97c12c692 Fix showing onboarding instructions when there's at least one repo in total 2025-04-16 15:48:33 +02:00
dnlklmn ea2982faa2 Improve contrast in light and dark modes 2025-04-16 11:51:06 +02:00
Rūdolfs Ošiņš 241e7a54b9 Fix checkout popover overlap issue 2025-04-15 11:58:54 +02:00
Rūdolfs Ošiņš 724132abcc Extract issue and patch titles into EditableTitle
This also improves the UX making the title clickable.
2025-04-15 09:10:24 +02:00
Sebastian Martinez 74bb631381 Fix inbox pagination cursor and sorting 2025-04-08 17:53:04 +02:00
Rūdolfs Ošiņš 7f487be94b Position all popovers the same distance away from the trigger 2025-04-08 16:51:43 +02:00
Rūdolfs Ošiņš b11ada847f Fix superfluous outer border on all lists
This also resets the fuzzy filter input when switching states in list
views.
2025-04-08 16:41:12 +02:00
Rūdolfs Ošiņš ae3258d7cb Add confirmations to Clear all notifications buttons 2025-04-08 16:10:41 +02:00
Sebastian Martinez 3cbebb66bb Add patch checkout popover 2025-04-07 15:21:38 +02:00
Rūdolfs Ošiņš 82560dbb0b Restyle and move issue/patch state buttons 2025-04-04 10:26:56 +02:00
Rūdolfs Ošiņš 5845bf3cd1 Prevent layout shifts when selecting an item in lists 2025-04-04 10:26:56 +02:00
Rūdolfs Ošiņš f777284af2 Make all elements of title row same height
This is so that text areas and buttons align perfectly.
2025-04-04 10:26:54 +02:00
Rūdolfs Ošiņš 94c85ad06b Fix review section toggle
This also makes all section toggles more robust against reordering of
CSS classes.
2025-04-02 15:35:24 +02:00
Rūdolfs Ošiņš b770fac336 Implement fuzzy filter in single patch/issue views 2025-04-02 10:32:18 +02:00
Rūdolfs Ošiņš 054174f606 Don't show filter inputs when there's nothing to filter 2025-04-02 10:31:36 +02:00
Rūdolfs Ošiņš 12afb43ed0 Fix don't highlight single repo if filter isn't active 2025-04-01 17:16:03 +02:00
Rūdolfs Ošiņš 83390aed59 Implement issue and patch list fuzzy finder 2025-04-01 17:16:03 +02:00
Rūdolfs Ošiņš d01cf9b433 Add filter icon 2025-03-28 18:18:46 +01:00
Rūdolfs Ošiņš 8a3e480b3c Add repo fuzzy finder to home screen 2025-03-28 09:03:17 +01:00
Sebastian Martinez e9f6debcb6 Update frontend dependencies 2025-03-19 09:36:38 -06:00
Sebastian Martinez acd06d00a9 Fix HomeSidebar repositories navigation
TIL that svelte5 reactivity doesn't apply to destructured renamed
variables.

By renaming `repos: initialRepos` and then using `initialRepos` in a
`$state` rune, changes to the `repos` prop will not be taken into
account.
2025-03-19 11:23:48 +01:00
Sebastian Martinez efe3c51d05 Add identity and repo creation flow 2025-03-18 23:01:07 +01:00
Sebastian Martinez 738e7f4fb4 Remove AuthenticationError component 2025-03-18 21:21:02 +01:00