Commit Graph
96 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš d2441f1b3a Speed up commit count with a direct revwalk 2026-06-04 18:04:33 +02:00
Rūdolfs Ošiņš efea7f1ab2 Add peer selector to repo source browsing
Introduce a peer/branch/tag selector in the repository source and commits
views, letting you browse the canonical refs or any peer's namespace.
2026-06-04 17:19:31 +02:00
Rūdolfs Ošiņš c651ef7779 Exclude job COBs without runs from list_jobs 2026-05-21 15:56:53 +02:00
Rūdolfs Ošiņš 3057fd7644 Fix clippy lints for Rust 1.90 2026-05-19 17:40:37 +02:00
Rūdolfs Ošiņš 7ea1f580c8 Fix inbox show all and align group filters 2026-05-19 17:16:09 +02:00
Daniel Norman 3fc73a0b89 Fix contributor filter in list_repos & repo_count
- the previous list_repos / repo_count predicates only matched
  SignedRefsInfo::Some, so a forked repo whose sigrefs predate the
  current FeatureLevel (NeedsMigration) was hidden from the
  contributor view and undercounted
- add is_contributor helper so the two call sites can't drift again
  (they already had — list_repos was inverted from repo_count after the
0.22 sigrefs refactor)

See discussion for more info
https://radicle.zulipchat.com/#narrow/channel/369277-heartwood/topic/.60SignedRefsInfo.3A.3ANeedsMigration.60.20and.20local.20signed.20refs/with/594265582
2026-05-12 11:35:52 +02:00
Daniel Norman 073a5fb574 Bump deps to radicle 0.24 / radicle-job 0.6
- bump radicle 0.22 -> 0.24, radicle-job 0.5.2 -> 0.6, and
  radicle-surf 0.27.0 -> 0.27.1 to match heartwood
- raise radicle-tauri rust-version to 1.86 for radicle-job 0.6's MSRV
- migrate to the 0.24 COB store API: signer moves onto the cache via
  WriteAs, so issues_mut/patches_mut take &signer and the per-call
  signer arg disappears from every issue/patch action method
- pass ReadOnly to JobsStore::open for radicle-job 0.6's new Access
  type param
- replace the removed Profile::socket() with home().socket_from_env()
  and the removed WriteRepository::set_head() with the
  set_canonical_symbolic_refs + set_default_branch_to_canonical_head
  pair used by rad::init
- split the old ssh::agent::Error into AgentError + ConnectError so
  Agent::connect failures still bubble through ?
- swap SignedRefsInfo::is_ok() (gone in 0.23) for an explicit
  matches!(_, Some(_)) on the new None/Some/NeedsMigration enum
2026-05-12 11:26:53 +02:00
Brandon OxendineandRūdolfs Ošiņš ec49ecbd36 Start review from code-comment on revision diff
Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2026-04-30 16:49:41 +02:00
Yaroslav Halchenko af7d2e5181 chore: run codespell to fix typos automagically 2026-04-28 12:04:26 +02:00
Rūdolfs OšiņšandJulien Donck 65c453e37d Add commit history list and single commit views
Co-authored-by: Julien Donck <donckjulien@gmail.com>
2026-04-27 18:00:14 +02:00
Rūdolfs Ošiņš 0bd6f6b2b9 Share a single Highlighter across diff commands 2026-04-27 17:58:55 +02:00
Rūdolfs Ošiņš 17188c77c2 Reuse cached tree-sitter configurations in Highlighter 2026-04-27 17:58:30 +02:00
Rūdolfs Ošiņš 81388f2101 radicle-types: Fix clippy warning after heartwood upgrade 2026-03-23 09:04:22 -06:00
Lorenz Leutgeb d9300c5cb9 radicle-types: Skip over invalid sigrefs
`radicle::storage::RepositoryInfo` now contains the result of loading
signed references, not just an `Option`. Skip over errors.
2026-03-21 18:55:31 +01:00
Lorenz Leutgeb cd9e0be8a3 radicle-types: Initialize DB from profile
The database initialization in `radicle` was changed, so that it now
requires a configuration.
2026-03-21 18:55:31 +01:00
Lorenz Leutgeb aee677886d radicle-types: Fix breakage in stream iteration
Various straightforward fixes after upstream updates.
2026-03-21 18:55:19 +01:00
Lorenz Leutgeb 8cecb87085 radicle-types: Deal with fallible policy reads
`seed_policies` now iterates over results. Keep
only `Ok` values.
2026-03-21 18:55:19 +01:00
Lorenz Leutgeb b89f4c0a8d radicle-types: Fix access to ref formatting
Upstream introduced a new `fmt` module to use.
2026-03-21 18:55:19 +01:00
Lorenz Leutgeb 51430e5a9b radicle-types: Remove unused error variant 2026-03-21 18:55:19 +01:00
Lorenz Leutgeb eba37c01fa radicle-types: Fix OID conversion
The `radicle` crate switched its OID `struct`. The new `struct` does not
convert to/from the OID `struct` in `radicle-surf`. Introduce an ad-hoc
conversion.
2026-03-21 18:55:19 +01:00
Lorenz Leutgeb 3e5d277df8 radicle-types: Capture signer errors
`radicle` has introduced a new `SignerError` that must be captured.
2026-03-21 18:55:19 +01:00
Lorenz Leutgeb 6a9906aa0e radicle-types: Migrate to radicle_localtime 2026-03-21 18:55:19 +01:00
Lorenz Leutgeb 8271a9ded0 radicle-types: Use new type for titles
A new wrapper for titles was introduced in `radicle`. Use it instead of
strings and also add a corresponding error variant.
2026-03-21 18:54:42 +01:00
Lorenz Leutgeb d8cde006e9 fix: Use radicle::Node::announce_refs_for 2026-03-21 18:54:42 +01:00
Rūdolfs Ošiņš 8b2df264af Add list_repos_summary Tauri command 2026-03-20 14:06:48 -06:00
Rūdolfs Ošiņš 6d585cceb0 Simplify job-cob code 2025-07-30 16:24:26 +02:00
Rūdolfs Ošiņš bfa38d9fe9 Show job cobs on latest revision and default branch commits 2025-07-29 16:16:56 +02:00
Sebastian Martinez 7765b7d765 Update radicle crate 2025-07-18 16:09:05 +02:00
Sebastian Martinez e0ae5b5501 Add source browsing 2025-07-16 09:41:46 +02:00
Sebastian Martinez a9bfcd47a1 Move Version into radicle-types 2025-07-10 11:31:29 +02:00
Sebastian Martinez f69c90785c Limit embed file size to 10MB 2025-07-03 15:15:28 +02:00
Thomas Scholtes 17586953bb Draft reviews before publishing
Reviews are locally persisted but only published to the network by an
explicit user action.

- [ ] Delete line comments on draft reviews

[squash] Sort imports, separate type imports into own section
2025-07-01 14:31:55 +02:00
Sebastian Martinez 499a0983ea Add rebuild cache functionality to issue and patch listing
In case of an outdated cobs cache we display a banner on top of the
patch or issue listing, to allow users to rebuild the cobs cache of a
repo similar to running `rad patch cache`
After rebuilding we fetch the issues or patches from the start.

Small caveat with patches:
The banner can only be shown after a user fetched all patches from the
backend, so we are sure we tried to fetch all of them.
2025-06-11 18:24:27 +02:00
Sebastian Martinez 1e1810b78a Remove unnecessary filter map 2025-06-11 18:24:27 +02:00
Rūdolfs Ošiņš 299adcaccb Implement repo seeding 2025-06-11 14:32:58 +02:00
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 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 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 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ņš 5c5685d560 Sort projects by name on the home screen 2025-03-27 15:41:36 +01:00
Sebastian Martinez efe3c51d05 Add identity and repo creation flow 2025-03-18 23:01:07 +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