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
9f70390432
Add commit summary to BranchSelector
...
Also extract it into a separate component to use in Blob.svelte
2024-03-21 13:37:20 +01:00
Sebastian Martinez
d401819d2e
Add Canonical badge for canonical branch
2024-03-21 13:37:20 +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
Sebastian Martinez
5b30269c7c
Add support for submodules and update heartwood
2024-03-11 19:13:22 +01:00
Sebastian Martinez
9b425e534b
Update heartwood version
2024-03-04 16:52:46 +01:00
Sebastian Martinez
4bb0e72841
Remove hash routing
...
Since we don't have or want any deployments on IPFS, and we don't have
much use for hash routing else, we can clean up some code and remove
some tests.
2024-03-04 14:39:36 +01:00
Sebastian Martinez
481e25dca1
Enable branch selector even if no delegate is selected
2024-02-27 14:41:10 +01:00
dnlklmn
d883a0f3dd
Switch Seed and Clone buttons
2024-02-14 18:22:50 +00: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
Georgios Jason Efstathiou
b1411ae4a5
Implement new landing page
2024-02-01 17:29:40 +00:00
Sebastian Martinez
ef7a2659b5
Fixes e2e test suite relation with seed.radicle.garden
...
- Due to missing preferredSeed config option we where trying to connect to
seed.radicle.garden on the fixture creation.
- This commit also starts first nodes before httpds due to the config
being updated by the node.
2024-01-29 17:17:03 +01:00
Rūdolfs Ošiņš
65e906fd07
Bump heartwood version
...
This fixes the landing page not showing local projects anymore.
2024-01-25 11:58:53 +00:00
Sebastian Martinez
9ee2a4578f
Add share button
2024-01-24 21:58:18 +01:00
Sebastian Martinez
c76c8e7ab8
Change actions to who what when
2024-01-17 17:00:10 +00:00
Sebastian Martinez
25160bb39c
Capitalize cob state badge
2024-01-16 12:16:54 +01: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
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
Thomas Scholtes
7d61539d95
Renaming confusing method startPeer to createPeer
...
The name was confusing because the function does not actually start any
services.
2023-12-11 12:13:51 +01:00
Sebastian Martinez
3c72bfad48
Update createProject test support function
...
To pass in more specific props, it's nicer to have it as an opts object.
2023-12-04 11:59:12 +01:00
Sebastian Martinez
95ed1a0353
Adding embed editing in issues and patches
2023-11-28 10:59:55 +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
Rūdolfs Ošiņš
ad84bc9f30
Add breadcrumbs to header
2023-11-21 13:57:25 +01:00
Sebastian Martinez
e6c560b58b
Fix cob commit listing borderline not expanding
2023-11-20 15:12:34 +01:00
Sebastian Martinez
b331f446ee
Remove not allowed cursor from Contributors and BranchSelector
...
Adds also HoverPopover tooltips, with some hints
2023-11-17 10:19:57 +01:00
Sebastian Martinez
0f8bd0d1dc
Fix flakiness in comment and reply e2e test
2023-11-15 16:21:47 +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
5742f15e28
Refactor Issue actions and related components
2023-11-15 09:32:10 +01:00
Sebastian Martinez and Rūdolfs Ošiņš
38fbddeb21
Update test suite to latest heartwood
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-11-03 15:34:16 +01:00
Rūdolfs Ošiņš and dnlklmn
d914710396
Implement new design
...
Co-authored-by: dnlklmn <pelicansinberlin@gmail.com >
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-10-13 18:05:19 +02:00
Sebastian Martinez
1ef0f9dfd1
Add issue embeds
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-09-27 16:40:49 +02:00
Sebastian Martinez
bd6ba784b3
Improve binary detection
...
libgit2 optimizes around not loading the content, when there's no
content callbacks configured.
So we aren't able to get a clear answer from radicle-surf if a file in a
diff is a binary or not.
A simple way without doing additional API requests is to check if the
file type is a executable and if there are no hunks (since we don't get
any deltas in binaries), this is a strong
indicator for a binary.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-09-26 09:04:01 +02:00
Sebastian Martinez
9b15911f83
Use lastCommit of each blob for navigation instead of patch revision
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-09-25 10:07:14 +02:00
Sebastian Martinez
fb06b5fe8b
Add moved and copied files e2e tests
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-09-19 07:50:27 +02:00
Alice Liddell
1b01216bf8
Improve FileDiff and add tests
...
Signed-off-by: Alice Liddell <alice@radicle.xyz >
2023-09-19 07:49:36 +02:00
Sebastian Martinez
1a7c28b6ea
Split going through UI patch flow into separate tests
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-09-19 07:45:40 +02:00
Sebastian Martinez
542630a7f7
Add patch comment and state modifiers
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-08-30 17:05:25 +02:00
Sebastian Martinez
aec0289f10
Refactor some of the reaction components
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-08-28 13:52:57 +02:00
Sebastian Martinez
26447b3c59
Switch edit title button with icons
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-08-28 13:34:57 +02:00
Sebastian Martinez
ea1f23c4a2
Add test to check that issue counter updates when closing issue
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-08-28 09:18:07 +02:00
Sebastian Martinez
7edd6dcdf0
Enable adding and removing reactions
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-08-24 09:23:36 +02:00
Rūdolfs Ošiņš
0146ca00b5
Update the UI to work with the new COB schema
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-08-08 10:53:49 +02:00
Sebastian Martinez
4525771264
Use /nodes/ in URL instead of /seeds/
...
We still allow already published URLs with `/seeds/` in them to be
resolved.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-07-31 16:58:45 +02:00
Sebastian Martinez
99ec07e0a3
Add e2e tests for patch and issue counters
...
When creating a new patch or issue, we want the counters to reflect on
that on navigation.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-31 10:16:41 +02:00
Sebastian Martinez
afbc57079b
Switch page.locator with page.getByRole and page.getByText
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-19 11:35:20 +02:00
Thomas Scholtes
283b665b31
Switch to flat project route type
...
We switch to a project route type that is just a union. This has the
following advantages
* It’s much easier to construct project routes. Fewer properties are
needed and there are no nested objects.
* We eliminate the implicitly shared properties `path`, `peer`,
`revision` and `route` which only belonged to the tree route.
* The structure of the project route is more regular and thus easier to
understand.
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm >
2023-07-17 11:27:57 +02:00
Sebastian Martinez
205fc814bc
Bring reactions to comments and issues
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-12 15:36:02 +02:00