Commit Graph
156 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš 7b396ff72d Persist sidebar across navigations to preserve scroll position
Move AppSidebar out of per-route view components into App.svelte so it
is never unmounted on navigation. This fixes the sidebar scroll position
resetting to the top whenever the user opens a repository or navigates
between Issues, Patches and the repo home view.

Also removes the redundant invoke<Config>("config") call from each repo
route loader — the value is now taken from sidebarData.config, which
loadSidebarData() already fetches.
2026-03-23 22:51:59 -06:00
Rūdolfs Ošiņš 010cac0377 Redesign app with new UI kit
Redesign the entire app with a new UI kit. Typography, colors, icons,
avatars, and border radii have all been updated for a more polished,
consistent appearance that matches our other products like
radicle-explorer.

- Replace blockies-based avatars with a new DID-based avatar system
- Move Settings and Create Issue into fullscreen modals
- Change the default theme to follow the system theme
- Remove window decorations on macOS for a cleaner, more native feel
- Update the app icon
- Fix popovers and tooltips

Navigation:

- Rewrite app navigation and layouts
- Add a sidebar that gives you access to all your repos
- Change the startup screen to open directly to the notification inbox
- Add a getting started guide shown to new users on first launch

Settings:

- Add a setting to disable the notification badge
- Add a code font setting

Bug fixes:

- Fix reactions and edits incorrectly targeting the root comment
  instead of the intended reply
- Restrict issue/patch state, labels and assignees to delegates only
2026-03-20 17:48:38 -06: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 a33799d62a Simplify reactOnComment action 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 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
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ņš 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
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
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
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ņš 83390aed59 Implement issue and patch list fuzzy finder 2025-04-01 17:16:03 +02:00
Sebastian Martinez e9f6debcb6 Update frontend dependencies 2025-03-19 09:36:38 -06: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
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ņš 3e37465572 Fix patch list preserve filter when loading more on scroll 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ņš 2800d4f8d6 Hide timeline by default
Use the same header styling as for the Discussion section.
2025-02-23 14:04:58 +01: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
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ņš ba79a3d22f Refactor discussion component 2025-02-19 15:25:50 -06:00