Commit Graph
74 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš 44dae6bc12 Disallow text-selection by default 2024-09-13 13:54:39 +02:00
Rūdolfs Ošiņš 5725cec33f Add breadcrumbs 2024-09-13 13:54:39 +02:00
Rūdolfs Ošiņš 33e0b52e23 Use new button styling for header buttons 2024-09-12 14:26:31 +02:00
Rūdolfs Ošiņš 7c1f0fb28f Make copyable highlight on hover 2024-09-12 14:23:31 +02:00
Rūdolfs Ošiņš d7c811ba11 Add hero image to home screen 2024-09-11 17:58:06 +02:00
Rūdolfs Ošiņš c31652570f Make header sticky 2024-09-11 17:58:06 +02:00
Rūdolfs Ošiņš 1bb8a806aa Refactor header to use clip-path 2024-09-11 17:24:30 +02:00
Sebastian Martinez 43ad446dc7 Fix RepoInfo delegate type 2024-09-11 13:35:34 +02:00
Rūdolfs Ošiņš 8a417404b8 Add copyable current ID to the header 2024-09-11 09:44:48 +02:00
Rūdolfs Ošiņš c558235a49 Convert remaining on: events to onclick/ontouchstart 2024-09-10 11:55:37 +02:00
Sebastian Martinez ffff885ffb Event handlers with the on: directive are deprecated in svelte 5
Also bubbling events from HTML elements to the components have to be
done with `onclick` callback props.
2024-09-10 11:33:09 +02:00
Rūdolfs Ošiņš f09253f631 Add repo issues and patches routes 2024-09-10 11:13:45 +02:00
Rūdolfs Ošiņš cb82dae6eb Remove setTitle
There is no page title that is shown to the user, so there's no point in
setting it.
2024-09-10 11:12:21 +02:00
Rūdolfs Ošiņš 6cfd87fceb Prevent rubber-band effect on macOS when overscrolling
This yields a more native-app-like feel.
2024-09-09 17:38:11 +02:00
Sebastian Martinez 918cc213d8 Add the cargo checks to the check script 2024-09-09 10:54:19 +02:00
Rūdolfs Ošiņš 6017c191a9 Fix flickering on app load due to theme being loaded later
We read the theme before any of the svelte code is loaded. The benefit
is that it is executed first and there's no flickering if the stored
theme differs from the initial theme that is set in the design system.

The drawback is that this code isn't type-checked and will need to be
updated manually if we change the theme switching code in Svelte.
2024-09-06 15:51:09 +02:00
Sebastian Martinez 560891d1a6 Add tauri commands for single repo and cobs 2024-09-06 15:33:55 +02:00
Sebastian Martinez 0a059da762 Add CrabNebula dev tools
Allowed to see the time it takes for each tauri command to be processed,
is helpful for optimizing the desktop app
2024-09-06 14:51:11 +02:00
Sebastian Martinez 0f5d13da7e Remove double navigation on app load
We where navigating to the `home` route twice on load.

Once with `router.loadFromLocation` and then during `onMount` with
`navigate("home")` which triggered the repo listing twice.
2024-09-06 14:51:11 +02:00
Rūdolfs Ošiņš 5b33e1ecd5 Remove design system
It was only a placeholder until we get some content.
2024-09-05 13:42:39 +02:00
Rūdolfs Ošiņš 169866efeb Fix Border component background
Otherwise the Popover element was transparent.
2024-09-05 12:37:46 +02:00
Rūdolfs Ošiņš 3d9e614ea3 Allow opening the app in a browser
For development purposes it's convenient to be able to open the app in
Chrome. To do this we skip invoking internal Tauri commands.
2024-09-05 12:37:46 +02:00
Sebastian Martinez b6711a5698 Add list_repo and config commands 2024-09-05 12:37:00 +02:00
Rūdolfs Ošiņš 3edfcf9192 Add RepoCard component 2024-09-05 11:17:58 +02:00
Rūdolfs Ošiņš 7f67759d4b Use the Radicle logo as favicon
This only shows up when we open the app in a browser for development.
2024-09-05 11:01:33 +02:00
Rūdolfs Ošiņš 4d269511e3 Rename app from radicle-desktop to Radicle 2024-09-04 10:36:59 +02:00
Rūdolfs Ošiņš 21f64c5892 Fix CI breakage due to missing node types 2024-09-04 09:59:46 +02:00
Rūdolfs Ošiņš d17303bedb Remove unused file 2024-09-03 17:23:15 +02:00
Rūdolfs Ošiņš dedfaf1e94 Remove deprecated event dispatcher 2024-09-03 17:09:12 +02:00
Sebastian Martinez ffcbbebc5c Support svelte 5 release candidate 2024-09-03 17:03:41 +02:00
Rūdolfs Ošiņš 8179ed0f3e Add our own router 2024-09-03 16:30:12 +02:00
Rūdolfs Ošiņš 484d0d58ba Update dependencies 2024-09-03 14:04:25 +02:00
Sebastian Martinez 3738f24af6 Point to tauri for system dependencies 2024-09-02 15:13:31 +02:00
Rūdolfs Ošiņš b68a31feba Fix rust lints 2024-09-02 14:59:52 +02:00
Rūdolfs Ošiņš 397b35ffe0 Add github workflows for rust and typescript lint checks 2024-09-02 14:59:52 +02:00
Sebastian Martinez d621f47852 Update README with build instructions 2024-09-02 14:28:45 +02:00
Rūdolfs Ošiņš 16cede111b Clean up the auth warning page
Center content vertically and horizontally. Don't show a link but
directly the Repos view when authenticated.
2024-08-29 08:34:29 +02:00
Rūdolfs Ošiņš bb68d6c577 Add theme switch to the header 2024-08-28 14:39:51 +02:00
Rūdolfs Ošiņš c145669236 Use proper SVG icon instead of PNG 2024-08-28 14:26:15 +02:00
Rūdolfs Ošiņš b1ac40cc92 Fix eslint and other formatting errors 2024-08-28 14:26:15 +02:00
Rūdolfs Ošiņš dd3bead7e1 Add a basic design system
This adds some design primitives like pixelated borders and buttons.
2024-08-28 14:26:15 +02:00
Rūdolfs Ošiņš 38eb8a6f28 Add base styles for colors and typography 2024-08-28 14:26:15 +02:00
Sebastian Martinez 7e666475d1 Add radicle app icons 2024-08-28 12:35:01 +02:00
Sebastian Martinez 761c59e4e4 Add Header component and required components 2024-08-28 10:54:12 +02:00
Sebastian Martinez 5f61400707 Resolve import paths for src folder and type bindings 2024-08-28 10:54:12 +02:00
Sebastian Martinez 7cacaf0b78 Add svelte-routing as app router 2024-08-28 10:54:12 +02:00
Sebastian Martinez 0cab98ac31 Improve CSP definition for build 2024-08-28 10:50:09 +02:00
Sebastian Martinez a03a0aef3a Create a splashscreen that makes sure that the requirements are met 2024-08-28 10:50:09 +02:00
Sebastian Martinez cf2f43e465 Add authenticate command
Checks if there is a profile to be loaded, if the ssh agent is running
and if there is a Radicle identity stored in the ssh-agent.
2024-08-28 10:50:09 +02:00
Sebastian Martinez 029362787e Load profile in setup step 2024-08-28 10:50:09 +02:00