Commit Graph
106 Commits
Author SHA1 Message Date
Sebastian Martinez 8e683cf7ce Provide a full window error if something goes wrong 2025-06-06 15:22:08 +02:00
Sebastian Martinez e6db48b69d Update heartwood crates 2025-06-05 11:17:48 +02:00
Sebastian Martinez 33dd37714b Release v0.4.1
Fix build pipeline by copying the build artifacts into `$LATEST_DIR`
instead of a wildcard to a defined filename
2025-05-22 17:02:26 +02:00
Rūdolfs Ošiņš e8fb74cf09 Release v0.4.0 2025-05-22 15:55:57 +02:00
Sebastian Martinez a265267110 Remove test-http-api Cargo.lock 2025-05-21 23:04:59 +02:00
Sebastian Martinez 9c12f3ae7f Add diff syntax highlighting 2025-05-21 08:31:27 +02:00
Rūdolfs Ošiņš 71069ef19e Move inbox to a global popover 2025-05-20 15:46:00 +02:00
Sebastian Martinez 2ccbb118cc Add radicle package to deb dependencies 2025-05-20 15:15:23 +02:00
Sebastian Martinez b484a74d98 Change package name on linux to radicle-desktop instead of Radicle 2025-05-15 12:30:49 +02:00
Sebastian Martinez f7cfae720e Update dependencies 2025-05-14 11:16:26 +02:00
Sebastian Martinez 25c6ab322b Release v0.3.0 2025-05-08 18:03:37 +02:00
Lorenz Leutgeb f9294f0145 rust: Bump MSRV 1.70 (2023-06-01) → 1.77 (2024-03-21)
This is to get double colons in `build.rs`.
2025-05-08 14:54:41 +02:00
Lorenz Leutgeb 8ce7b1a4d5 radicle-tauri/build: Allow Specifying Version via GIT_HEAD
This now allows setting `GIT_HEAD` "from the outside" and will
gracefully fall back to "unknown" in case there's any issue figuring out
what HEAD refers to.
2025-05-08 14:54:41 +02:00
Sebastian Martinez 2ae7b65674 Simplify the version tauri command
Make it not fail when the build version hasn't been set
2025-05-08 13:38:43 +02:00
Sebastian Martinez ce18d024a0 Add check_radicle_cli command
We can check the Radicle home directory to see if the radicle binaries
are installed in the `RAD_HOME` folder
2025-05-08 11:55:54 +02:00
Rūdolfs Ošiņš 01d4c0c5b7 Fix wrong inbox notification counters
Avoid counting grouped notifications separately and omit notifications
for deleted objects.
2025-05-08 11:17:36 +02:00
Rūdolfs Ošiņš bb38192b7e Implement repo home page
- by default open repos on the home view
- show a rendered README on the repo home page
- show repo metadata: visibility, canonical branch, threshold, delegates
  and allow list with aliases
- make layout responsive on repo home
- add copy button to code blocks in markdown
2025-05-06 10:11:01 +02:00
Sebastian Martinez 865497ce38 Add short commit hash in about popup for macOS build 2025-05-05 11:21:53 +02:00
Rūdolfs Ošiņš 08d467b950 Release v0.2.0 2025-04-25 11:32:52 +02:00
Rūdolfs Ošiņš 8ebd772068 Add missing type file 2025-04-23 10:51:52 +02:00
erikli c754c4f365 Reduce minimum window width and height 2025-04-16 16:05:14 +02:00
Sebastian Martinez 74bb631381 Fix inbox pagination cursor and sorting 2025-04-08 17:53:04 +02:00
Rūdolfs OšiņšandFintan Halpenny 0702896ea3 Optimise patch list command
So we don't materialize the whole list multiple times especially when
paginating. Mostly written by Finto, I was just driving.

Co-authored-by: Fintan Halpenny <fintan.halpenny@gmail.com>
2025-04-07 18:35:15 +02:00
Rūdolfs Ošiņš 1a4dba2065 Deduplicate the diff/cob Stats type 2025-04-01 17:16:03 +02:00
Rūdolfs Ošiņš 7c0da906a8 Cache content-addressed API calls on the frontend 2025-04-01 17:16:03 +02:00
Rūdolfs Ošiņš 83390aed59 Implement issue and patch list fuzzy finder 2025-04-01 17:16:03 +02:00
Rūdolfs Ošiņš 5c5685d560 Sort projects by name on the home screen 2025-03-27 15:41:36 +01:00
Sebastian Martinez 08a2b01f7d Update crate dependencies 2025-03-19 09:36:38 -06:00
Sebastian Martinez efe3c51d05 Add identity and repo creation flow 2025-03-18 23:01:07 +01:00
Sebastian Martinez dfed3287c6 Reduce tauri log verbosity
Instead of logging to stdout everything, just do so until `Info` level
2025-03-18 21:21:02 +01:00
Sebastian Martinez c730e82187 Convert cob actions into customized desktop actions
This commit allows us to e.g. convert the Set of DIDs we obtain from
assignee actions on cobs into a Set of Authors with their Aliases.

Also it introduces the `FromRadicleAction` trait which can be
implemented for any type of enum we get from the `radicle` create to
convert into a type which is better suited for us.

Removes also any calling the `alias` command in the `PatchTimeline` or
`IssueTimeline` since we already get the alias from the backend the
first time now.
2025-03-18 13:10:26 -06:00
Sebastian Martinez b1bf3c510d Change some eprintln statements for log::error 2025-03-18 13:06:59 -06:00
Sebastian Martinez 038457ea60 Remove unused logging statements 2025-03-18 13:06:59 -06:00
Rūdolfs Ošiņš 2274a9c79b Refactor patch loading 2025-03-17 21:49:11 -06:00
Sebastian Martinez 7cf21972cd Set replyTo and location fields in Comment to null 2025-03-13 08:02:02 +01:00
Rūdolfs Ošiņš 83554dc4ec Update stale Action typings
We forgot to update them when we changed it in the backend. This also
fixes a bug in the front-end.
2025-02-21 08:28:28 -06:00
Sebastian Martinez e82e333cc5 Refactor the tauri setup hook into individual commands
This allows us for onboarding to e.g. fail if there is no profile around
and guide new users through identity creation.

Also it makes the tauri run function easier to understand
2025-02-20 09:06:35 +01:00
Sebastian Martinez 89a26663e4 Update rust dependencies 2025-02-20 09:06:35 +01:00
Sebastian Martinez e7f0c4921d Update rust toolchain to 1.84 2025-02-20 09:06:35 +01:00
Rūdolfs Ošiņš 5e6fd19a6d Add discussion section to reviews 2025-02-19 15:25:50 -06:00
Rūdolfs Ošiņš 4add00d682 Add review page 2025-02-18 12:06:03 -06:00
Sebastian Martinez 365674bc58 Provide a sync_status store
The `sync_status` would update every 10 seconds with the latest state of
all repos, to be displayed in the repo where needed.
2025-02-10 11:55:14 -06:00
Sebastian Martinez 450f6d6f0c Remove usage of DraftStore
@fintan:
The API of the DraftStore needs some improvement and it can be easy to
do the wrong thing when trying to publish the changes to the published
cob reference

Based on this PSA we should apply any changes to the patch revisions
directly, instead of using the `DraftStore`
2025-02-06 13:14:23 +01:00
Sebastian Martinez 9c021345dd Delete cobs/patch module 2025-02-06 13:08:31 +01:00
Rūdolfs Ošiņš 014a3e9eee Add revision commit list 2025-02-04 15:49:00 -06:00
Sebastian Martinez f34522b689 Implement a custom list_patches method to read directly from cache 2025-02-03 14:25:39 +01:00
Sebastian Martinez 5dd75959a0 Cleanup img-src attributes in the CSP directive
By restricting `img-src` in our CSP, we weren't allowing images from
e.g. https://github.com like CI badges to display.

With this change we allow users to add images from any `https`, `data`
or `blob` source, which is more user friendly.
2025-01-31 15:17:47 -06:00
Sebastian Martinez 19fdd17f99 Fix repo listing not displaying all repos
`Show::All` which is the default value should return all values obtained
from `storage.repositories()`.
This commit adds a `Show::Contributor` enum variant to only get repos
that the user has forked, initialized or contributed in some way.
2025-01-27 13:19:42 +01:00
Sebastian Martinez d5632ed534 Add global inbox 2025-01-23 22:28:00 +01:00
Sebastian Martinez dc87d3fa84 Adding Service and Storage traits for the inbox logic
To start making the backend codebase more future proof, I started
introducing the hexagonal architecture concept, of having `Service`
traits that is the public API and inner traits like `Storage`,
`Metrics`, etc. that can be implemented by different adapters like
`Sqlite`.

This is a first development in this direction.
2025-01-23 22:23:44 +01:00