Commit Graph
66 Commits
Author SHA1 Message Date
Sebastian Martinez 3139c98834 Add rid to missing Patch component 2024-10-08 12:14:25 +02:00
Sebastian Martinez 8c80f7b228 Add get_file_by_oid command, enables support for embeds 2024-10-08 12:07:47 +02:00
Rūdolfs Ošiņš e5f90e20b8 Add create issue view 2024-10-08 11:27:44 +02:00
Sebastian Martinez 517d867f95 Revert to initial scroll position on filter change 2024-10-07 13:11:08 +02:00
Sebastian Martinez e51df19fed Add infinite scrolling for patches listing 2024-10-07 13:11:08 +02:00
Sebastian Martinez 6b8c73c615 Fix Patch revision listing 2024-10-03 16:56:02 +02:00
Sebastian Martinez 4d81bf53be Await event listeners and unlisten on unmount 2024-10-01 18:24:18 +02:00
Rūdolfs Ošiņš ea9a425cf0 Add single patch route 2024-09-27 16:59:16 +02:00
Sebastian Martinez ddf44cea4e Rename and reorganize tauri commands 2024-09-26 11:30:44 +02:00
Sebastian Martinez 665c5a96bd Remove unusued lineNumbersGutter fn
It was a copy pasta function from `radicle-explorer` that if we need to
highlight files by line in the future e.g. changesets we should do it
better than this.
2024-09-26 09:54:07 +02:00
Rūdolfs Ošiņš 25c8042944 Add styling for patch diff stats 2024-09-25 17:34:59 +02:00
Rūdolfs Ošiņš 395c46958e Make sidebar scrollable 2024-09-25 17:31:57 +02:00
Rūdolfs Ošiņš 6b8cb91567 Add single issue view 2024-09-25 17:31:57 +02:00
Rūdolfs Ošiņš c316caec04 Port Markdown renderer component 2024-09-25 17:31:57 +02:00
Rūdolfs Ošiņš 0e2aefe052 Style issue/patch missing text 2024-09-25 17:31:57 +02:00
Sebastian Martinez 608d211083 Add repo::diff tauri command 2024-09-25 16:59:47 +02:00
Sebastian Martinez 8731506b94 Improve the event threads in the backend 2024-09-18 17:37:40 +02:00
Rūdolfs Ošiņš f5ce15a673 Fix lint issue 2024-09-18 17:03:29 +02:00
Rūdolfs Ošiņš 0d84cf55a6 Make list scroll under the header properly 2024-09-18 16:59:43 +02:00
Rūdolfs Ošiņš 7ec692738e Add elevation shadow to popover 2024-09-18 16:59:26 +02:00
Rūdolfs Ošiņš b05bc05b3c Fix header image in packaged build 2024-09-18 16:41:54 +02:00
Rūdolfs Ošiņš ccd4c280a5 Wire up the revision count in PatchTeaser 2024-09-18 14:37:58 +02:00
Sebastian Martinez 91ba8ab390 Add timestamp and revisionCount to issue and patch listings 2024-09-18 14:37:58 +02:00
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ņš f27974c23e Add sidebar 2024-09-17 10:22:19 +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ņš 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
Sebastian Martinez 560891d1a6 Add tauri commands for single repo and cobs 2024-09-06 15:33:55 +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