Rūdolfs Ošiņš
3f7a58c489
Handle app URL translation into seed BaseUrl in one place
...
To make the code easier to reason about we handle all app URL encoding
and decoding and the related seed BaseUrl extraction in a single place.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-06-28 10:51:59 +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
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
2c11e9e520
Display a seed URL that matches isLocal as radicle.local
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-02 10:29:41 +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
Rūdolfs Ošiņš
9e1fc49ae7
Fix mixed content warning when connecting to local node
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-05 13:49:52 +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
Sebastian Martinez
2498ef7c9e
Fix some router issues
...
- Clicking on the project in various places goes now to `../<rid>`
instead of `../<rid>/tree/<commit>`
- Project URL on seed allows trailing slash, eg. `../<rid>/`
- Navigating to a project URL with a `remotes/<nodeId>` suffix works now
correctly w or w/o trailing slash
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-03-07 12:53:17 +01:00
Rūdolfs Ošiņš and xphoniex
26f96990a4
Extract fixture specific variables
...
Co-authored-by: xphoniex <dj.2dixx@gmail.com >
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-28 12:23:28 +01:00
Sebastian Martinez
e86accafae
Handle errors in Browser.svelte
...
Updates also the seed fixture to fix some minor issues and add a
relative image markdown example
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-12-21 17:10:20 +01:00
Rūdolfs Ošiņš
836b0ccc09
Extract fixture URL
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-16 15:06:05 +01:00
Rūdolfs Ošiņš
0b6d9586ee
Extract custom app config in tests
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-16 15:05:57 +01:00
Rūdolfs Ošiņš
6c363e9313
Move all test files to the tests folder
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-01 16:36:40 +01:00