Commit Graph
140 Commits
Author SHA1 Message Date
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
Rūdolfs Ošiņš c2f38bb0cb Implement issue and patch filters in second column 2025-01-20 15:30:24 -06:00
Rūdolfs Ošiņš 4571d466db Use distinct icons for issue/patch states 2025-01-17 16:02:54 -06:00
Rūdolfs Ošiņš 296c046ef7 Fix overflow issue in patch body 2025-01-17 15:18:41 -06:00
Rūdolfs Ošiņš aafba92ba0 Extract revision selector and revision badges into components 2025-01-17 15:18:41 -06:00
Rūdolfs Ošiņš eec0351de8 Move timeline to its own tab 2025-01-17 15:18:41 -06:00
Rūdolfs Ošiņš 5310fe0b92 Add revision selector 2025-01-17 12:49:37 -06:00
Rūdolfs Ošiņš 5069613ff6 Extract revision into its own component 2025-01-16 16:09:53 -06:00
Rūdolfs Ošiņš eb6afd28ef Show changes 2025-01-16 12:31:46 -06:00
Rūdolfs Ošiņš 8a326da7a8 Add patch discussions 2025-01-16 12:31:46 -06:00
Rūdolfs Ošiņš 63ec8cb473 Style patch tabs 2025-01-16 12:31:46 -06:00
Rūdolfs Ošiņš 6326863f21 Add issue timeline 2025-01-14 16:03:29 -06:00
Rūdolfs Ošiņš 7aebf9531c Add patch timeline 2025-01-14 16:01:15 -06:00
Sebastian Martinez 432db1ce5b Make Operation generic, and handle patch operations
So far we only supported issue operations on the `activity_by_id`
command.

With this commit we separate the commands into a `activity_by_issue` and
`activity_by_patch` command that calls a generic `activity_by_id` trait
implementation.

`Operation` now takes as a generic either `cob/issue/Action.ts` or
`cob/patch/Action.ts`.

Also `Operation` now stores the array of all `Action` that happened on
said operation. I'm not entirely sure if this will help us in the
future, but it represents more closely the state of the relation between
an `Operation` and the cob `Actions`.
2025-01-10 10:33:32 -06:00
Rūdolfs Ošiņš 63d1c87c7f Change the sidebar filter to match new patch state
When changing the state of a patch we want the sidebar filter to reflect
that, otherwise the patch just disappears from the sidebar unless the
user selected "show all states".
2025-01-10 16:52:32 +01:00
Rūdolfs Ošiņš 32ca4dc48d Allow patch title editing 2025-01-10 16:52:32 +01:00
Rūdolfs Ošiņš d4e2503b05 Fix issue error messages 2025-01-10 16:52:32 +01:00
Rūdolfs Ošiņš 8622dba111 Implement changing patch states 2025-01-10 16:52:32 +01:00
Rūdolfs Ošiņš 74470ecaff Tweak title line alignment everywhere 2025-01-08 09:57:49 +01:00
Rūdolfs Ošiņš 5832be5716 Move breadcrumbs to second column 2025-01-08 09:40:41 +01:00
Rūdolfs Ošiņš 43dbe2b7b7 Enable patch revision body editing and adding reactions 2025-01-08 09:30:56 +01:00
Rūdolfs Ošiņš 6b336b0f64 Remove hero image 2025-01-06 11:17:45 -06:00
Sebastian Martinez 01416e8aa5 Allow preview for empty body in ExtendedTextarea
Instead of disabling the preview feature when the body is empty, we show
`Nothing to preview`
2024-12-19 14:06:34 +01:00
Rūdolfs Ošiņš 35201e6630 Tweak paddings in create issue view 2024-12-18 17:38:03 +01:00
Rūdolfs Ošiņš 9f83489634 Decrease vertical spacing between comments 2024-12-17 16:50:03 +01:00
Sebastian Martinez d6d9c43ee6 Fix regression on height of CreateIssue description field
Also instead of calculating the height of the description textarea we
should allow flexbox to extend the description field to fill the entire
height.
2024-12-17 12:06:42 +01:00
Rūdolfs Ošiņš 480cbe7031 Divide patch page into patch and revision tabs 2024-12-13 17:47:03 +01:00
Rūdolfs Ošiņš 1bb8eaf9f7 Add patch metadata header 2024-12-13 16:57:38 +01:00