Commit Graph
202 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš c72494f620 Enable localhost connections in radicle-explorer
Allow radicle-explorer to connect to a locally running radicle-httpd via
https://app.radicle.xyz/nodes/localhost. This was previously disabled to
encourage use of Radicle Desktop, but is now useful for testing the new
always-on node in local development environments.

Remove support for /nodes/radicle.local, an undocumented and unused convention.

Fix remote node loading when Cloudflare URL-encodes port separator (: → %3A).
2026-01-12 14:38:50 -06:00
Sebastian Martinez af159b8735 Update node metadata test user agent regex 2025-09-15 13:28:18 +02:00
Sebastian Martinez 76285b6265 Switch version e2e test to a regex expression 2025-06-04 11:25:11 +02:00
Sebastian Martinez 50318285f8 Update svelte to v5.0
Only do the minimal changes possible to be able to keep updating
dependencies.
2025-02-04 11:42:02 -06:00
Sebastian Martinez b77c0862b8 Update heartwood-release and radicle-httpd-release to latest versions 2024-12-05 15:30:03 +01:00
Sebastian Martinez f456731f42 Fix radicle-httpd tests for radicle 1.1.0 2024-12-05 14:13:56 +01:00
Sebastian Martinez 723d188e9e Fix copying wrong ids when switching cob listing state
We don't really need the `clipboard` prop.
By switching between stats in patches and issue listings the clipboard
props aren't been recomputed.

Wrote a test that should make sure this doesn't break in the future.
2024-11-27 11:00:17 +01:00
Sebastian Martinez 846daf0b16 Fix mutation of commit listing in place
The commit listing on each patch revision started to be flaky when using
browser navigation. It seems like the `Array.sort()` call started to
reverse the order of the commit listing back to HEAD on top which isn't
what we wanted.
`Array.toReversed()` returns a fresh copy of the reversed array which is
less error prone.
2024-10-21 21:13:58 +02:00
Sebastian Martinez 9bdfba11d1 Update heartwood release to 1.0.0 2024-09-30 15:02:50 +02:00
Sebastian Martinezandmountdisk <mountdisk@icloud.com.> 900506bf4b Fix some typos
Co-authored-by: mountdisk <mountdisk@icloud.com.>
2024-09-03 15:37:13 +02:00
Sebastian Martinez 30647fbb26 Update heartwood and radicle-httpd releases 2024-08-29 11:02:04 +02:00
Sebastian Martinez a34056b2bf Remove sinon in favor of existing APIs of playwright and vitest
We where using `sinon` in the `playwright` tests to simulate a different
time, which since `playwright@1.45.0` can be done with the Clock API
calling `page.clock.setFixedTime`.

And to test the mutex executor we can use the vitest utils spy function
`vi.fn()` instead of `sinon.spy()`
2024-08-29 10:11:04 +02:00
Sebastian Martinez 868f7b1e2d Rename files from project(s) to repo(s) 2024-08-22 09:43:06 +02:00
Sebastian Martinez cf08c83913 Update naming of project(s) to repo(s) 2024-08-22 09:43:06 +02:00
Rūdolfs Ošiņš 5174cda6f2 Add bookmarking ability to seed selector 2024-08-09 12:20:06 +02:00
Sebastian Martinez 4de9724f9e Improve external markdown link test
By using `page.route` we weren't changing the response of
`https://example.com` since we where only changing it on the initial
page.

By using `context` we are able to change the response for any request to
that site on all playwright pages.
2024-08-02 08:02:15 -03:00
Sebastian Martinez e005cd784e Update heartwood to rc.13 2024-08-02 08:00:26 -03:00
Sebastian Martinez 8d30407de6 Add firefox to the clipboard tests 2024-07-29 15:00:31 -03:00
Rūdolfs Ošiņš c0049f83ba Redesign node view and use it as the landing-page 2024-07-26 10:20:01 +02:00
Sebastian Martinez 266afb17c8 Expand internal file markdown test case
Additionally to navigate the file links we should guarantee that
circling back to the source without a path shouldn't break navigation.
2024-07-23 15:52:23 +02:00
Sebastian Martinez 7a5d4566d3 Fix commit listing, adding new commits to list instead of replacing 2024-07-23 15:43:15 +02:00
Sebastian Martinez 1775dd284d Rename missed state -> status occurrences 2024-07-15 14:43:15 +02:00
Sebastian Martinez 507580b6ee Render project description in Source view
This avoids diplaying escaped characters like &amp; in a description
2024-07-05 11:43:27 +02:00
Sebastian Martinez dd61f5cf5c Remove local httpd features and experimental features
Updates API version to 2.0.0
2024-07-04 11:48:41 +02:00
Sebastian Martinez 4b579d13a9 Add InlineTitle component
This new component doesn't rely on marked.js but escapes any special
characters and then replaces any backtick with a <code> HTML tag to
render any inline codeblocks in all titles.
2024-07-01 13:05:08 +02:00
Sebastian Martinez f21a80167c Display user agent instead of version 2024-06-28 21:43:32 +02:00
Sebastian Martinez fda384bc14 Remove tests relying on rad-web 2024-06-28 08:55:13 +02:00
Sebastian Martinez ae17e8c643 Reduce flakiness related to peer branch selector 2024-06-21 14:19:43 +02:00
Sebastian Martinez 59a38e4191 Update install binaries script
radicle-httpd and rad-web have been removed from the files.radicle.xyz
tar files, so we should build them to always have the web client be
compatible with the httpd
2024-06-21 14:19:16 +02:00
Sebastian Martinez 894ab2e0aa Update node config 2024-06-21 13:24:11 +02:00
Sebastian Martinez a4e0d21bad Reduce flakiness of some e2e tests 2024-06-20 16:43:44 +02:00
Sebastian Martinez b09a705f58 Overhaul peer and branch selector 2024-06-20 16:43:30 +02:00
Rūdolfs Ošiņš 173ede84d5 Rename user facing strings with "project" -> "repository" 2024-06-20 15:28:59 +02:00
Rūdolfs Ošiņš 6d87823ce0 Tweak copyable IDs 2024-06-12 15:49:03 +02:00
Sebastian Martinez 29d340961b Add a new e2e test case for commit messages with double colons 2024-06-03 20:31:50 +02:00
Sebastian Martinez 3d13bc03ae Navigate seed nodes from explore section 2024-05-29 16:32:40 +02:00
Thomas Scholtes 04de7e7526 Remove unnecessary stops of httpd in tests 2024-05-27 09:21:08 +02:00
Sebastian Martinez 46e514dcd8 Refactor config json into a virtual module 2024-05-17 15:35:00 +02:00
Sebastian Martinez 13a6925bcf Remove sinon fake timers out of the window object 2024-05-17 13:11:47 +02:00
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
Sebastian Martinez ec0aa4d982 Update heartwood to rc.8 2024-05-03 08:34:08 +02:00
Sebastian Martinez c8e91ac218 Update test suite to use heartwood releases instead of commits
Remove extra line at heartwood-release
2024-05-02 11:25:42 +02:00
Sebastian Martinez 207ec7782a Modify RAD env vars based on heartwood rc.6 2024-04-30 11:39:35 +02:00
Sebastian Martinez 297c4b8ee1 Update tests to handle querystrings in page.route handlers 2024-04-29 13:22:55 +02:00
Sebastian Martinez aed7d3ce46 Update node metadata test
Heartwood rc.5 wasn't built with the rc.5 label.
2024-04-29 13:21:46 +02:00
Sebastian Martinez 7adcea4148 Update components and interfaces for radicle-surf v0.21 2024-04-24 16:50:14 +02:00
Sebastian Martinez 0c46e67f88 Handle absolute markdown links with leading slash
This commit also handles relative linking when there is no path yet.
Aka not having `/tree/..` in the URL.
2024-04-04 22:24:53 +02:00
Rūdolfs Ošiņš 127efc49a5 Revert "Handle absolute markdown links with leading slash"
This reverts commit 2efd0ad58e.

There's a bug with root-level links in markdown docs.
2024-03-29 16:48:28 +01:00
Sebastian Martinez 2efd0ad58e Handle absolute markdown links with leading slash 2024-03-29 11:54:54 +01:00
Rūdolfs Ošiņš 845c4fcb6d Fix e2e spec 2024-03-27 16:03:52 +01:00