Commit Graph
96 Commits
Author SHA1 Message Date
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 691e0255fb Improve handling of localStorage and svelte stores
Also moving the svelte-stored-writable package into the repo.
So we have it closer for maintenance, we can eventually rewrite it in
svelte 5 runes later.

Reference: https://github.com/efstajas/svelte-stored-writable/pull/5
2024-11-25 17:06:26 +01:00
Jappie3 b050924caa add follow system theme button & functionality 2024-11-25 14:26:32 +01:00
Rūdolfs Ošiņš 1ff3890fa8 Clean up icons 2024-07-29 15:30:27 +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 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 e326f48cbf Update seeding policy schema 2024-06-28 13:59:35 +02:00
Sebastian Martinez 2ee8bae82e Rename httpd-client to http-client 2024-06-07 12:22:28 +02:00
Sebastian Martinez 46e514dcd8 Refactor config json into a virtual module 2024-05-17 15:35:00 +02:00
Rūdolfs Ošiņš ce8d6f6dd4 Prevent double scroll-bar on landing page 2024-05-16 17:18:25 +02:00
Rūdolfs Ošiņš a5e390ef59 Align node/connect/authenticate popover positioning 2024-05-16 16:44:24 +02:00
Rūdolfs Ošiņš d41a99de05 Don't show HTTP daemon port setting on mobile 2024-05-16 10:23:55 +02:00
Rūdolfs Ošiņš 02db25ac20 Shorten the commit/issue/patch ID on small desktop screens 2024-05-16 10:23:55 +02:00
Sebastian Martinez 5657811467 Set custom httpd port in Settings 2024-05-07 12:28:59 +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
dnlklmn 9358798f8f Use seedling icon for seeds in the breadcrumbs 2024-05-06 13:03:10 +02:00
Sebastian Martinez d7521a4608 Don't store the entire node config in the httpd state
This should also fix the race condition, since we don't compare it for
running the checkState fn
2024-03-14 11:07:21 +01:00
Rūdolfs Ošiņš 0b56f31dad Flip settings and radicle.xyz in the footer
In the sidebar layout we also show settings on the left-hand-side of the
screen.
2024-03-07 14:30:26 +01:00
Sebastian Martinez 192524fe90 Add experimental switch in settings
Hide all read/write functionality behind this setting.
2024-03-07 10:35:21 +01:00
Rūdolfs Ošiņš 45479ddf47 Show full SHAs in breadcrumbs 2024-03-06 09:44:01 +01:00
Sebastian Martinezanddnlklmn eb0013ef9c Switch toggle styles
Co-authored-by: dnlklmn <pelicansinberlin@gmail.com>
2024-02-27 16:59:07 +00:00
dnlklmn d18086d2a6 Align alias button contents 2024-02-27 10:05:59 +01:00
Rūdolfs Ošiņš 8f43a57984 Remove Radworks from app
It's already on the radicle.xyz webpage, no need to repeat it in the
app.
2024-02-23 12:15:29 +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 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ņš 4d259a944d Tweak NodeInfo button wording
Sync -> Offline
Syncing -> Online
2024-02-13 09:31:13 +00:00
Georgios Jason Efstathiou beb74abec3 Load home page sections asynchronously 2024-02-07 13:33:16 +00:00
Georgios Jason Efstathiou b1411ae4a5 Implement new landing page 2024-02-01 17:29:40 +00:00
Sebastian Martinez 7a3a525542 Add httpd hostname and port to Authenticate popover 2024-01-19 14:54:37 +01:00
Sebastian Martinez 7b25d5ba56 Distinguish git commits from radicle ids 2024-01-18 18:49:39 +00:00
Rūdolfs Ošiņš 5f82eb894b Show "Local Node" breadcrumb on node page only 2024-01-17 14:17:44 +00:00
dnlklmn 4e3de0f378 Remove Local Device from breadcrumbs 2024-01-15 18:28:22 +00:00
dnlklmn 2915226524 Make buttons regular size - 32px tall 2024-01-15 18:28:22 +00:00
Rūdolfs Ošiņš 8e580385f0 Tweak tab visuals
Make selected tabs not change on hover. Change unselected tabs to use regular
font weight and foreground-contrast.
2024-01-15 18:28:22 +00:00
Rūdolfs Ošiņš a73ad66e06 Tweak app header and footer
Adds a border bottom to the header and makes sure footer sticks to the
bottom.
2024-01-05 18:32:16 +00:00
Rūdolfs Ošiņš e194de4218 Two column layout refactor
We use a grid layout and let the browser calculate everything instead of
relying on JavaScript.
2024-01-05 15:22:56 +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
Rūdolfs Ošiņš 5141f3e340 Show Connect button only when not connected and authenticated 2023-12-21 11:53:58 +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
Thomas Scholtes f2eb867d1f Don’t use disabled Popover
We stop using the disabled `Popover` component. Instead of using the
disabled component it is simpler to just not use the component at all.
This also avoids issues where the toggle button of the `Popover` was
nested inside the button in `src/App/Header/Authenticate.svelte` which
in turn created problems with `.getByRole` selectors in tests.

Because of this change we can also drop the use of `NodeId` in places
where it simply displays the node ID and avatar.

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-12-10 12:47:02 +01:00
Sebastian Martinez 5265a6b245 Display badge for private repos 2023-12-04 11:59:12 +01:00
Rūdolfs Ošiņš 63d4cc2d62 Change header toggle buttons to secondary color 2023-11-28 21:34:19 +01:00
Rūdolfs Ošiņš 4fb457c7cb Make dropdown styling consistent with design system 2023-11-28 21:34:19 +01:00
Rūdolfs Ošiņš 4e68b98ef9 Fix project sub-view breadcrumb alignment 2023-11-22 16:57:41 +01:00
Rūdolfs Ošiņš d7fc70a1f3 Don't show "Source" segment in breadcrumbs
It is redundant, we can already go to the "Source"/"Files" tab by
clicking on the project title in the breadcrumbs.

This also fixes some of the links that were linking to "Source"
incorrectly.
2023-11-22 15:29:41 +01:00
Rūdolfs Ošiņš 159f766157 Tweak primary/secondary toggle button styling 2023-11-21 16:44:07 +01:00
Rūdolfs Ošiņš ad84bc9f30 Add breadcrumbs to header 2023-11-21 13:57:25 +01:00
Rūdolfs Ošiņš 4bd03f55dc Tweak sync/authenticate/connect buttons
- simplify positioning
- make sure they expand depending on content, yet have a min width
- add a popover for the connected button state, move httpd info from the
  authenticated button into this popover
- fix external link styling
- make the hover outline color pink
2023-11-16 11:54:44 +01:00
Sebastian Martinez 54be2b78e4 Simplify nodeStore, and make it part of the httpdStore 2023-11-16 10:03:06 +01:00