Commit Graph
3488 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš 58f2ec2f51 Hook up the online/offline button to the new events 2024-09-18 12:59:17 +02:00
Sebastian Martinez ff6b7aa5dc Add ability to listen to node events from the frontend 2024-09-18 12:25:28 +02:00
Rūdolfs Ošiņš 797a64b8d7 Replace patch icon from band-aid to +- 2024-09-18 12:17:08 +02:00
Rūdolfs Ošiņš 4fcf3619d0 Add InlineTitle component and use it in Issue/Patch lists 2024-09-17 18:09:23 +02:00
Rūdolfs Ošiņš 7f567e354a Style issue and patch list views 2024-09-17 17:32:08 +02:00
Rūdolfs Ošiņš e103fa21fb Update dependencies 2024-09-17 13:47:18 +02:00
Sebastian Martinez 3bc304590d Add word-break to node description 2024-09-17 13:17:42 +02:00
Rūdolfs Ošiņš f27974c23e Add sidebar 2024-09-17 10:22:19 +02:00
Rūdolfs Ošiņš edd2313245 Update dependencies 2024-09-16 12:56:44 +02:00
Richard Levitte b70ff99971 Fix code block formatting in README.md
Many MD viewers/renderers do not recognise fenced code blocks
unless they are separated with empty lines from the rest.
2024-09-16 10:15:27 +02:00
Rūdolfs Ošiņš a5601e7661 Extract header from repo card
This will be reused in the repo sidebar.
2024-09-13 17:16:27 +02:00
Rūdolfs Ošiņš 4f63f9e87f Link peer breadcrumb to home screen 2024-09-13 13:54:39 +02:00
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
Sebastian Martinez 337dbf4312 Fix repo cards failing to load when head commit with non-utf8 are loaded 2024-09-11 12:22:22 +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
Sebastian Martinez 2bbcc2f9d1 http: Make the rust github workflow throw errors instead of warnings
Instead of failing silently, warnings should be treated as errors and be
fixed before merging a patch.
2024-09-04 08:00:35 +02:00
Sebastian Martinez 9dd61d3bf3 http: Apply warnings from clippy 2024-09-04 07:24:34 +02:00
Sebastian Martinez 1ded8b4462 http: Update dependencies
Also removes some dependencies that wheren't used anymore.
2024-09-04 07:24:34 +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
Sebastian Martinezandmountdisk <mountdisk@icloud.com.> 900506bf4b Fix some typos
Co-authored-by: mountdisk <mountdisk@icloud.com.>
2024-09-03 15:37:13 +02:00
Sebastian Martinez 5fb6b3e43c Use on base in Revision components 2024-09-03 15:25:44 +02:00
Sebastian Martinez fc83829ef6 http: Decouple api responses from heartwood crates 2024-09-03 15:22:22 +02:00