Commit Graph
61 Commits
Author SHA1 Message Date
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
Sebastian Martinez 9dfc01a3c0 Add more error types and serialize WithHint into json 2024-08-28 10:50:09 +02:00
Sebastian Martinez 4074c5feb4 Add anyhow for passing strings as errors quickly 2024-08-28 10:50:08 +02:00
Sebastian Martinez 230c087f6f Increase window min dimensions to figma design 2024-08-28 10:50:08 +02:00
Sebastian Martinez ffa1176f5f Copy some css from radicle-explorer to be modified later 2024-08-28 10:50:08 +02:00
Sebastian Martinez eaee2a9e6a Remove unused template code 2024-08-28 10:50:08 +02:00
Sebastian Martinez 56046b4355 Remove workflow to build binaries
Since we won't be code signing the binaries for now, it makes more sense
to build them locally and pushing them to our file server.
2024-08-27 16:36:30 +02:00
Sebastian Martinez 1954e5f3ba Remove duplicated radicle dependency entry 2024-08-21 15:47:03 +02:00
Sebastian Martinez b4778efe41 Add workflow to build latest binaries 2024-08-21 15:40:50 +02:00
Sebastian Martinez 6c6280e75d Add Error enum for error handling 2024-08-21 15:37:42 +02:00
Sebastian Martinez b25a57cc21 Add Inter and JetBrainsMono fonts 2024-08-21 15:23:07 +02:00
Sebastian Martinez 1a95a7e826 Add radicle, thiserror and ts-rs dependencies 2024-08-21 12:53:23 +02:00
Rūdolfs Ošiņš 52c491d2ea Remember previous window size and position
Also sets minimum window width and height.
2024-08-20 14:56:35 +02:00
Sebastian Martinez 0000ead539 Update tauri to rc.0 2024-08-06 15:15:36 -03:00