Commit Graph
179 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš a35077707f Style review list correctly with pixelated corners 2025-03-19 09:00:59 +01:00
Rūdolfs Ošiņš a3c143070e Don't show hover styling when a line can't be commented on
- outside of reviews
- when there is already a comment on that line
2025-03-19 09:00:59 +01:00
Rūdolfs Ošiņš 7b28e4202f Implement resolving and unresolving comments 2025-03-18 18:55:06 -06:00
Sebastian Martinez efe3c51d05 Add identity and repo creation flow 2025-03-18 23:01:07 +01:00
Sebastian Martinez 89957097e1 Remove replacing standard html checkboxes with custom ones
This doesn't work currently, we need to look into ways to delegate this.
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
Sebastian Martinez 47ea7d78f6 Toggle commits in patch revisions 2025-03-18 11:05:41 -06:00
Rūdolfs Ošiņš 0c1b441ed2 Show commit list in review view 2025-03-17 21:49:11 -06:00
Rūdolfs Ošiņš d4a2677f57 Convert props to const where possible 2025-03-17 21:49:11 -06:00
Rūdolfs Ošiņš a103772f1f Fix file expansion state not being cleared when changing patches 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ņš a28aa0d6ab Add Changes section to Review 2025-03-14 16:45:05 -06:00
Rūdolfs Ošiņš 65a5049a35 Extract Review section into a separate component 2025-03-14 16:45:05 -06:00
Rūdolfs Ošiņš 2edf730e78 Extract Changes section into a separate component 2025-03-14 16:45:05 -06:00
Sebastian Martinez 6ca5f29622 Fix regression in breaking popover and hovers 2025-02-23 14:17:11 +01:00
Rūdolfs Ošiņš 82544a68bc Fix exception in markdown renderer 2025-02-23 13:53:45 +01:00
Rūdolfs Ošiņš db79d36dee Fix thread reply overflow
This also fixes the top-level comment corners when the reply textarea is
open but there are no other replies.
2025-02-23 13:43:06 +01:00
Rūdolfs Ošiņš 83554dc4ec Update stale Action typings
We forgot to update them when we changed it in the backend. This also
fixes a bug in the front-end.
2025-02-21 08:28:28 -06:00
Rūdolfs Ošiņš 16c72d5b2f Fix review teaser label and comment alignment 2025-02-19 15:25:50 -06:00
Rūdolfs Ošiņš 5e6fd19a6d Add discussion section to reviews 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ņš 6c6484f2a3 Extract discussion section into its own component 2025-02-19 11:31:54 -06:00
Rūdolfs Ošiņš 15bb0353d0 Refactor VerdictButton props 2025-02-18 15:34:19 -06:00
Rūdolfs Ošiņš 7089e992e9 Use proper color for verdict badge icon 2025-02-18 15:29:46 -06:00
Rūdolfs Ošiņš 4add00d682 Add review page 2025-02-18 12:06:03 -06:00
Rūdolfs Ošiņš a918981ea7 Top-align icons and right-hand-side items in teasers 2025-02-17 12:36:25 +01:00
Rūdolfs Ošiņš 6cbd6336dc Show inbox button in active state when showing inbox 2025-02-13 08:54:16 -06:00
Sebastian Martinez 9231d3c6c7 Display all additions of labels or assignees
Instead of relying on actions of previous labels or assignees, we should
always display changes to labels and assignees which can also happen on
creation of an issue or patch.

Also makes use of the `pluralize` helper function instead of
reimplementing it.
2025-02-11 11:34:08 +01:00
Rūdolfs Ošiņš 53d49e0bbf Clean up section collapsing logic 2025-02-10 08:58:20 +01:00
Rūdolfs Ošiņš 023b2f0503 Tweak spacings between sections 2025-02-10 08:58:20 +01:00
Rūdolfs Ošiņš e862a511ec Tweak discussion section
- show a Comment button
- collapse the section if there are no comments
- remove Reply button from the patch body
2025-02-10 08:58:20 +01:00
Rūdolfs Ošiņš 02a3aa8db4 Tweak review section
- show a review counter
- show a tooltip on disabled buttons explaining why they're disabled
- change review shortcut button position
- change Write review button styling
- make review teasers without body more compact
- use correct color for review icons
- fix review header alignment
2025-02-10 08:58:20 +01:00
Rūdolfs Ošiņš f58eb32e1c Move reviews above discussion 2025-02-10 08:58:20 +01:00
Rūdolfs Ošiņš 42ab1462ea Also render ~~strikethrough~~ in titles 2025-02-07 13:23:46 -06:00
Sebastian Martinez 4ff909c7e9 Add quick actions buttons to create an accepted or rejected review 2025-02-07 14:55:26 +01:00
Rūdolfs Ošiņš 263037d0a7 Add a shortcut button for going for inbox 2025-02-07 09:39:29 +01:00
Rūdolfs Ošiņš 8babf383d3 Fix emoji reactivity bug 2025-02-07 09:30:47 +01:00
Rūdolfs Ošiņš f08255a194 Add a proper empty file placeholder 2025-02-06 16:29:13 -06:00
Sebastian Martinez 0338e96d25 Add New Review button to Reviews section in patch revisions 2025-02-06 13:14:47 +01:00
Sebastian Martinez e06a12119c Add disabled state to NakedButton 2025-02-06 13:08:31 +01:00
Sebastian Martinez c952d71839 Change plus icon with new design from figma 2025-02-06 13:08:31 +01:00
Rūdolfs Ošiņš 6a3adefbe5 Allow selecting commit messages and diffs in patches 2025-02-05 13:05:00 +01:00
Rūdolfs Ošiņš eb5738c33f Show comments on revision selector 2025-02-05 13:02:47 +01:00
Rūdolfs Ošiņš 014a3e9eee Add revision commit list 2025-02-04 15:49:00 -06:00
Sebastian Martinez 038a21cb51 Fix embeds not being added to cob actions
If we don't add `embeds` to the `embeds` map after saving them to disk,
they don't get added to the cobs action.
2025-01-31 15:29:57 -06:00
Rūdolfs Ošiņš 9632d61df4 Fix revision teaser background color 2025-01-31 09:54:28 +01:00
Rūdolfs Ošiņš 924130ce4b Style file header more nicely
- show `added`, `deleted`, `moved`, `copied` as colorful badges
- highlight the filename part of the path and make the path subdued
2025-01-30 13:48:45 -06:00
Rūdolfs Ošiņš e5278fd240 Add expand, collapse, expand all and collapse all buttons 2025-01-30 13:48:45 -06:00
Rūdolfs Ošiņš c4bef0e99b Use twemojis for reactions 2025-01-29 11:13:14 -06:00