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
Sebastian Martinez
28718ba0cf
Add --alias to rad auth
...
To avoid the popping up of a terminal input field during the
globalFixture setup, we need to pass the wanted alias as a flag.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-12 15:36:02 +02:00
Sebastian Martinez
9294e23ea4
Update patch review schemas
...
To address changes to patch code review,
implemented in Heartwood in commit 45e87a6.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-11 13:59:23 +02:00
Sebastian Martinez
db94969f8a
Allow httpd API ports to be generated randomly.
...
To avoid port collisions between tests that can eventually run in
parallel, we need to be able to generate random port numbers.
This commit generates random httpd port numbers for inline tests,
while keeping the current palm seed with the default port number 8080.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-09 14:19:47 +02:00
Sebastian Martinez
91f5abafd3
Add a UI test flow for issues
...
Tests:
- Authentication
- Issue creation
- Title editing
- Commenting
- Reply to comment
- Issue state change
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-05 13:48:42 +02:00
Sebastian Martinez
e0261fe69e
Add more comments and replies and a rejected review to the test fixtures
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-04 14:52:51 +02:00
Sebastian Martinez
0cd42908e5
Add error handling for issue creation and commenting
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-04 14:14:29 +02:00
Sebastian Martinez
742a8eb1ef
Add spec for expanding commit message
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-28 15:45:01 +02:00
Sebastian Martinez
f971d777f2
Add missing moved and copied file operations to Changeset
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-17 17:50:19 +01:00
Sebastian Martinez
0e6be19373
Add patch reviewers in sidebar
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-27 17:23:37 +02:00
Sebastian Martinez
4fcb7373a3
Add more tests to revision selector
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-14 09:21:09 +02:00
Rūdolfs Ošiņš and Thomas Scholtes
a331721c9f
Move project source browsing loading into the router
...
Co-authored-by: Thomas Scholtes <geigerzaehler@axiom.fm >
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-06-13 14:24:27 +02:00
Sebastian Martinez
107696c3c9
Add a cobs fixture and issue and patch tests
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-08 11:13:28 +02:00
Sebastian Martinez
889b13303b
Extract markdown from source-browsing fixture
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-05 15:08:32 +02:00
Sebastian Martinez
99f27350c1
Fix out-of-state commit listing when refreshing page after push
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-01 10:09:12 +02:00
Sebastian Martinez
277c8d23fd
Add peerManager to e2e tests fixture
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-01 10:03:36 +02:00
Sebastian Martinez
c32b303744
Add CLI tooling to create seed fixtures on the fly
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-05-12 14:23:10 +02:00
Sebastian Martinez
d8d049518b
Improve patch timeline and add description
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-05-10 09:15:19 +02:00
Rūdolfs Ošiņš
1f09d8a2a8
Allow opening links in a new tab
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-27 15:54:53 +02:00
Sebastian Martinez
a168a4d126
Pluralize values instead of parenthesis
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-04-03 14:10:47 +02:00
Sebastian Martinez
3ea6a07dc4
Update seed fixture to latest heartwood commit
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-03-14 11:13:15 +01:00
Rūdolfs Ošiņš
94d0ec50c5
Improve nodeId formatting on various views
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-03-07 13:30:40 +01:00
Rūdolfs Ošiņš
2bad94457c
Migrate to the heartwood protocol stack
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-03-03 14:23:46 +01:00
Sebastian Martinez
d1168dc6ff
Add issue creation
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-03-01 15:12:03 +01:00