Commit Graph
10 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 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 cf08c83913 Update naming of project(s) to repo(s) 2024-08-22 09:43:06 +02: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 13a6925bcf Remove sinon fake timers out of the window object 2024-05-17 13:11:47 +02:00
Sebastian Martinez 297c4b8ee1 Update tests to handle querystrings in page.route handlers 2024-04-29 13:22:55 +02:00
Sebastian Martinez e475596ec0 Remove private project visual test
Currently the httpd doesn't serve private projects, so this test fails
everytime.
We should look at it again once we figured out how to serve private
projects securely.
2024-04-16 11:40:09 +02:00
Sebastian Martinez 4e0d557a65 Improve error when node doesn't have any pinned repos 2024-03-25 16:34:16 +01: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
Rūdolfs Ošiņš 5684b8ef42 Refactor visual tests
We use built in devices for testing instead of our own custom ones.
Split up desktop and mobile visual tests for better separation.
2024-01-05 17:45:20 +00:00