Commit Graph
131 Commits
Author SHA1 Message Date
Sebastian Martinez add8a9ad94 Display images in source browser and diffs, enable preview for svgs 2024-02-27 16:59:07 +00:00
Rūdolfs Ošiņš 4a5e67dd2b Improve authentication error modal
We tell users to check their firewall and ad blocker settings in case
they bump into authentication problems. This also separates out the
modal to be only used by the session view.
2024-02-26 13:03:44 +00:00
Rūdolfs Ošiņš 41435951c1 Refactor BaseUrl string conversion
We're only using this as a string, so no need to convert it to an URL.
2024-02-23 15:46:28 +00:00
Rūdolfs Ošiņš 3cfddf8647 Show seed policy and scope in "online" button 2024-02-23 11:37:01 +00:00
Sebastian Martinez 1471fb1709 Add edited label to patches 2024-02-23 07:53:48 -03:00
Rūdolfs Ošiņš 975d1823a2 Show only pinned projects on node view
And style them visually similar to the landing page.
2024-02-22 05:33:36 +00:00
Sebastian Martinez dbfb56f37b Remove node config from httpdStore and poll only active tab and browser 2024-02-20 12:02:41 +00:00
dnlklmn 0bee4f1e03 Show absolute timestamps on edited markers 2024-02-19 22:26:11 +01:00
Rūdolfs Ošiņš f833fc506e Improve error message when local project is unavailable 2024-02-16 16:38:18 +00: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
Sebastian Martinez 389ecc95ba Fix prefferedSeeds typo 2024-02-15 09:38:28 -03:00
Sebastian Martinez 0cd667c925 Add supportWebsite config param 2024-02-15 09:38:28 -03:00
Sebastian Martinez 364844f47f Remove unused error.ts file 2024-02-15 09:38:28 -03:00
Rūdolfs Ošiņš b5977588ae Show correct meta key on Linux/macOS in hotkeys modal 2024-02-13 13:53:58 +00:00
Sebastian Martinez 90de4d538c Open same page when clicking on make changes on local machine 2024-02-13 06:57:24 +00:00
Sebastian Martinez 76ed6399c4 Remove caching projects found status 2024-02-08 12:45:58 -03:00
Georgios Jason Efstathiou beb74abec3 Load home page sections asynchronously 2024-02-07 13:33:16 +00:00
Sebastian Martinez 2b3b8bc0de Add redirection to project depending on rad-web cwd 2024-02-07 11:47:08 +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
Sebastian Martinez 9ee2a4578f Add share button 2024-01-24 21:58:18 +01:00
Sebastian Martinez 196beca898 Change titles to font-weight semibold 2024-01-23 10:14:37 +01:00
Sebastian Martinez 10170d79e5 Add local switch and contextual help to sidebar 2024-01-19 17:01:01 +00:00
Rūdolfs Ošiņš b3e212ff5b Load theme in top-level App.svelte
Previously the theme was only loaded when the <ThemeSettings> component
was loaded in the footer. This stopped working since we removed the
layout around the loading spinner.
2024-01-02 14:25:59 +00:00
Rūdolfs Ošiņš 08d16dbbeb Implement two column layout 2024-01-02 11:48:19 +00:00
Thomas Scholtes 2b03aec645 Implement simplified authentication flow
We change the instructions to connect to a local node to use the
simplified authentication flow.

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-12-19 13:49:53 +00:00
Sebastian Martinez 448c762831 Show edited label on edited comments and issues
If a comment or an issue had at least one additional edit, we show a `edited` label,
which on hover shows the standard tooltip with more information on
who edited it and when.
2023-12-15 07:10:14 +01:00
Sebastian Martinez 29a53f1ff6 Improve markdown footnotes 2023-12-11 15:00:50 +01:00
Sebastian Martinez 95ed1a0353 Adding embed editing in issues and patches 2023-11-28 10:59:55 +01:00
Sebastian Martinez b6ac9bd4a7 Improve handling of rawPath
Instead of computing it in multiple components, we should do it in
router.ts in the routes where we need it, and add the commit param when
we have it.
2023-11-27 14:12:24 +01:00
Sebastian Martinez eeba82017d Add permission checks for delegates and authors 2023-11-20 22:13:51 +01:00
Sebastian Martinez 54be2b78e4 Simplify nodeStore, and make it part of the httpdStore 2023-11-16 10:03:06 +01:00
Sebastian Martinez 84addf467d Show node state indicator 2023-11-15 16:21:47 +01:00
Sebastian Martinez 5742f15e28 Refactor Issue actions and related components 2023-11-15 09:32:10 +01:00
Sebastian Martinez 5e5f7fc12f Add editing to issue/patch descriptions, comments and replies
Also does some refactoring for `action`, `editable` and other variables
we were using which weren't very clear

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-10-26 16:27:54 +02:00
Sebastian Martinez 809daadd04 Remove search functionality
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-10-26 13:22:01 +02:00
Rūdolfs Ošiņšanddnlklmn 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 9f68848bc0 Update dependencies
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-09-27 07:56:26 +02:00
Sebastian Martinez 45830f6cd9 Show local projects instead of network to landing page, if available
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-09-04 12:06:03 +02:00
Sebastian Martinez 08683dc9e9 Update deps
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-08-23 10:07:15 +02:00
Rūdolfs Ošiņš 5736083d50 Fix not found and loading error screens
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-08-16 09:35:44 +02:00
Rūdolfs Ošiņš 5cd098187c Rename "project.tree" to "project.source"
This aligns better with the component and tab naming.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-08-08 15:35:27 +02:00
Rūdolfs Ošiņš 3cc485dce2 Flatten ProjectLoadedRoute type
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-08-08 15:24:26 +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 8d798cc93f Adding a new defaultLocalHttpdPort property to the config.json
We use `defaultHttpdPort` for both exposed ports like on
seed.radicle.xyz as also for local ports e.g. radicle.local.
This worked fine, for now but has shown the first issues, when external
ports like 443 show up in the radicle.local connection dashboard.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-07-31 15:38:36 +02:00
Sebastian Martinez f631c7f171 Fix absolute links with files in markdown
We had a regression because of introducing marked-linkify-it, which took
links for CONTRIBUTING.md or HACKING.md as domains of a new page instead
than files to be navigating to.

This commit sets the `fuzzyLink` option for marked-linkify-it to false,
which disables this behavior

Also tests that the browser tree expands itself when navigating to a
file inside a directory

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-07-22 08:02:00 +02:00
Sebastian Martinez 50d046ce86 Fix URL not updating when using navigateInternalOnAnchor
We were always calling `replace` and not passing the desired action in
the `navigateInternalOnAnchor`, this was leading to the URL not updating
when e.g. clicking on file URLs in Markdown renders.

By passing the action to the `navigate` fn instead we can also take the
`push` action into account.

Test have been written to guarantee this works

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-07-21 22:36:53 +02:00