Commit Graph
167 Commits
Author SHA1 Message Date
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
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
Rūdolfs Ošiņš 4add00d682 Add review page 2025-02-18 12:06:03 -06:00
Sebastian Martinez b854f1cd0f Only allow delegates to add labels or assignees to issues during creation
Non delegates are not allowed to execute the `assign` or the `label`
action on an issue so the issue creation fails silently.

So we should probably hide that in the issue creation.
2025-02-07 11:54:12 -06:00
Rūdolfs Ošiņš ea43ffd44e Make second column breadcrumbs clickable 2025-01-27 12:49:16 -06:00
Rūdolfs Ošiņš 4367441be8 Tweak patch tab bar
- Square the dropdown icon
- Set the tab bar height to what it is in the design system
- Move dropdown button inside the tab
2025-01-27 12:49:16 -06:00
Rūdolfs Ošiņš 9235f1867c Fix no repo placeholder alignment 2025-01-24 12:41:08 -06:00
Rūdolfs Ošiņš d2a25af485 Remove timeline title 2025-01-23 15:36:56 -06:00
Sebastian Martinez d5632ed534 Add global inbox 2025-01-23 22:28:00 +01:00