Commit Graph
108 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš 698a833e42 Overhaul app responsiveness
We introduce more breakpoints to cover mobile, small-desktop,
medium-desktop and large-desktop viewports.
2024-05-06 16:43:05 +02:00
dnlklmn d6f3d17805 Alignment fix 2024-03-27 22:29:25 +01:00
dnlklmn 4c8f64111b Make IconButton bigger 2024-03-27 20:23:03 +01:00
Rūdolfs Ošiņš 926a9da5e0 Fix NodeId popover z-index issues 2024-03-26 12:40:02 +01:00
Sebastian Martinez 4cbc6222c1 Add single line break option to Markdown component 2024-03-25 17:43:45 +01:00
Rūdolfs Ošiņš c75c318f08 Fix NodeId overflow issue in patch view 2024-03-22 17:37:31 +01:00
Sebastian Martinez 1c54038055 Handle error in AssigneeInput when chars outside of the bs58 charset
Also improves the UX and only shows validation errors on submit, and not
during input.
2024-03-22 09:00:47 +01:00
Sebastian Martinez daba9fca82 Make revision actions less tall and refine paddings 2024-03-19 15:07:55 +01:00
Sebastian Martinez fcdaa24973 Display diff stats badge in patch summary 2024-03-19 14:26:53 +01:00
Sebastian Martinez cee200e629 Compare to revisionBase instead of projectHead
- Makes diff stat badge clickable and navigates users to previous
  revision or revision base.
    - If base has changed between revisions uses latest patch base
2024-03-18 15:50:48 +01:00
Sebastian Martinez b7b9370709 Change commit browse icon tooltip 2024-03-15 15:30:58 +01:00
Rūdolfs Ošiņš 57c759c65e Show a compact authorship widget for revisions 2024-03-12 21:37:35 +01:00
Sebastian Martinez 6cfa0d0555 Fix assignee and peer switching e2e tests 2024-03-11 20:18:43 +01:00
Sebastian Martinez 5b30269c7c Add support for submodules and update heartwood 2024-03-11 19:13:22 +01:00
Sebastian Martinez 63122094df Show edited label only if there is at least 1 edit 2024-03-07 14:10:16 +01:00
Rūdolfs Ošiņš 41435951c1 Refactor BaseUrl string conversion
We're only using this as a string, so no need to convert it to an URL.
2024-02-23 15:46:28 +00:00
Sebastian Martinez 1471fb1709 Add edited label to patches 2024-02-23 07:53:48 -03:00
Sebastian Martinez d216caec7d Improve catching of errors when loading routes
- Handle ResponseParseErros, ResponseErrors and normal errors
  differently.
- Show them all in the same `LoadError` view
- Add a subtitle to give users some more information on what could have
  gone wrong.
- Add more properties to the copyable error message to make debugging
  easier.
2024-02-15 13:26:11 -03:00
Sebastian Martinez 1324c8e320 Revert bottom padding in patch revision descriptions 2024-02-05 11:14:19 +01:00
Sebastian Martinez f0758de9f3 Add reactions to patch revisions
- Also adapts to the new reactions API schema everywhere.
2024-02-02 13:33:07 +01:00
Sebastian Martinez ebfec3fd8e Set Revision expanded state only on first mount
Instead of recalculating the expanded state of a revision on any
`patch.revisions` variable change, we should just use it once on Mount
and then let the `Revision` component manage their expanded state
internally.
2024-02-02 13:09:35 +01:00
Sebastian Martinez 7fdcd816d1 Add missing absolute timestamps back as title tooltip 2024-01-25 17:05:07 +00:00
dnlklmn 14716208e4 Add border below issue header 2024-01-24 12:25:47 +00:00
dnlklmn 6e1f3dea8b Make issue/patch body stand out more via background color 2024-01-19 18:51:01 +00:00
Sebastian Martinez ff593e6567 Make timestamps --color-foreground 2024-01-19 16:43:10 +01:00
Sebastian Martinez 8f126d3903 Change commit ids to color-foreground-dim 2024-01-19 16:43:10 +01:00
Sebastian Martinez 7b25d5ba56 Distinguish git commits from radicle ids 2024-01-18 18:49:39 +00:00
Sebastian Martinez c76c8e7ab8 Change actions to who what when 2024-01-17 17:00:10 +00:00
Sebastian Martinez 87afc6204c Add embeds also to revisions 2024-01-15 15:43:24 +00:00
Sebastian Martinez aed8538218 Add embeds to patch descriptions
Also adds an array of edits to a new `edits` field which we can show to
show edits to the patch description
2024-01-15 15:43:23 +00:00
Rūdolfs Ošiņš 08d16dbbeb Implement two column layout 2024-01-02 11:48:19 +00:00
Sebastian Martinez 4912d85198 Add editing of revisions 2023-12-21 20:35:11 +01:00
Sebastian Martinez 2472938bf1 Simplify TextInput
Extracts the validation message out of the `TextInput` component.
For a nice and flexible layout we should render the validation message
outside of the `TextInput` component and just do text input.
2023-12-21 14:05:17 +00:00
Sebastian Martinez 851a444b5d Fix failing e2e tests
We had e2e tests failing for the new Assignee and LabelInput components,
and due to the changes to the SeedButton.
2023-12-21 14:25:15 +01:00
dnlklmn 99a0d8d6f2 Fix gray colors 2023-12-19 17:00:09 +00:00
Sebastian Martinez 55f8f4ba87 Improve assignee and label input 2023-12-19 14:52:23 +00:00
Rūdolfs Ošiņš 858602586f Don't show connector line when we don't show the cob action button 2023-11-30 21:19:52 +01:00
Rūdolfs Ošiņš 68f7702616 Fix commit list line in Firefox on linux retina screens
We make the line that covers the bottom part of the commit connector
line wider, so that it always covers the border. This should also fix
the line appearing when decreasing text size.
2023-11-30 21:19:52 +01:00
Rūdolfs Ošiņš 4fb457c7cb Make dropdown styling consistent with design system 2023-11-28 21:34:19 +01:00
Sebastian Martinez 95ed1a0353 Adding embed editing in issues and patches 2023-11-28 10:59:55 +01:00
Sebastian Martinez 575f44e434 Unify lodash imports
We currently use all three ways of importing lodash.
The one that provides us with the smalles bundle size is.

```
import isEqual from "lodash/isEqual";
```

So we should use that everywhere
2023-11-28 09:25:13 +01:00
Sebastian Martinez b6ac9bd4a7 Improve handling of rawPath
Instead of computing it in multiple components, we should do it in
router.ts in the routes where we need it, and add the commit param when
we have it.
2023-11-27 14:12:24 +01:00
Thomas Scholtes 72352835eb Update heartwood version
The update resulted in changes to all issue and patch IDs. We adapt the
tests so that they do not rely on fixed IDs.

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-11-23 09:21:37 +01:00
Sebastian Martinez 2f013df4e1 Refactor CobHeader 2023-11-21 15:15:27 +01:00
Sebastian Martinez eeba82017d Add permission checks for delegates and authors 2023-11-20 22:13:51 +01:00
Sebastian Martinez e6c560b58b Fix cob commit listing borderline not expanding 2023-11-20 15:12:34 +01:00
Sebastian Martinez e658e67c43 Fix issue with dismiss changes in title 2023-11-15 09:32:12 +01:00
Sebastian Martinez 56c87787ed Add e2e tests for editing patches, issues, comments, labels and assignees 2023-11-15 09:32:12 +01:00
Sebastian Martinez 1188e84c87 Cleaning up state flags 2023-11-15 09:32:12 +01:00
Sebastian Martinez 664158e472 Refactor Patch actions and related components 2023-11-15 09:32:12 +01:00