Commit Graph
777 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš 75ebece30d Keep merge and review rows out of author runs 2026-08-14 17:30:46 +02:00
Rūdolfs Ošiņš a7c35340ec Allow deleting discussion comments 2026-08-14 17:30:46 +02:00
Rūdolfs Ošiņš 1ca4f76575 Trim the diff payload to a manifest
The tree-sitter highlighter goes with it: the hunk types name its
`Paint` spans and it implements `ToPretty` for them, so neither side
can be removed on its own.
2026-08-14 17:30:46 +02:00
Rūdolfs Ošiņš 42a141bd8b Render patch changes with Pierre 2026-08-14 17:30:46 +02:00
Rūdolfs Ošiņš bdd5b49b8d Match the Latest badge to the other badges 2026-08-14 17:30:46 +02:00
Rūdolfs Ošiņš 7a5fa363be Remove unused patch read commands and diff helper
`revision_by_patch_and_id` and `review_by_patch_and_revision_and_id`
were registered as Tauri commands but never invoked: the patch view
resolves a revision or review from the revisions it already holds. Drop
the commands, their registrations and the `revision_by_id` / `review_by_id`
port methods, which had no other callers.

`fileDiffName` in `diffText` has had no callers since it was added.
2026-08-10 12:54:39 +02:00
Brandon Oxendine d19d1f21f1 Add patch deletion 2026-08-10 12:54:39 +02:00
Brandon Oxendine 62e150c29a Rebuild the patch page, review UI, and activity timeline 2026-08-10 12:54:39 +02:00
Brandon Oxendine 030b5fe1f1 Show absolute timestamps on hover 2026-08-10 08:35:49 +02:00
Brandon OxendineandRūdolfs Ošiņš 20f5aa1f1e Add dismissible hints
Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2026-08-10 08:35:44 +02:00
Brandon Oxendine a03c413343 Add an author hover card 2026-08-10 08:35:41 +02:00
Rūdolfs Ošiņš d559015e3d Remove redundant surf Oid conversions
radicle-surf 0.29 switched from radicle-git-ext to radicle-oid for
its Oid type, making radicle_surf::Oid and radicle::git::Oid the
same type. The crate::oid::{from_surf, into_surf} helpers were
therefore no-op round-trips through git2::Oid.
2026-07-28 09:25:52 +02:00
Rūdolfs Ošiņš 08060f9190 Fix release container
It broke due to the recent rust toolchain update. Also point to
radicle.network for desktop downloads in zulip message.
2026-07-27 18:22:46 +02:00
Rūdolfs Ošiņš e57e16d69d Update arch package to v0.14.0 2026-07-27 17:13:40 +02:00
Rūdolfs Ošiņš 6e1472d8ab Release v0.14.0 2026-07-27 17:13:31 +02:00
Rūdolfs Ošiņš 9313521528 Upgrade npm dependencies 2026-07-27 16:56:13 +02:00
Rūdolfs Ošiņš 843a2d091c Align rust toolchain version with heartwood's 2026-07-27 15:29:37 +02:00
Rūdolfs Ošiņš b8df285b8a Suppress RUSTSEC-2023-0071 warning
We follow heartwood's lead on this.
2026-07-27 15:19:45 +02:00
Rūdolfs Ošiņš 935b02308a Upgrade rust dependencies
Upgrade all radicle-* dependencies to the latest versions regardless of
cooldown and the remaining rust dependencies honoring cooldown period.
2026-07-27 15:19:45 +02:00
Rūdolfs Ošiņš 883046269c Add share widget to repo/issue/patch pages
This replaces the open external icon button next to the ID in the
breadcrumbs as well as any copy link button.
2026-07-24 15:48:26 +02:00
ck cb0c5c8a08 Disable npm dependency lifecycle scripts 2026-07-24 09:47:32 +02:00
Rūdolfs Ošiņš 62e7ae1fcd Upgrade npm dependencies honoring a 7 day cooldown 2026-07-24 09:27:47 +02:00
Brandon Oxendine 3ee2ca9d58 Format All Repos count as a counter badge 2026-07-21 13:43:57 +02:00
hlatimer266andRūdolfs Ošiņš 74aaa6ef14 Use configured explorer and seed for links
explorerUrl() hardcoded both the seed ("iris.radicle.network") and
the explorer base ("https://radicle.network"), so every "Copy Link"
and "Open in …" action ignored the user's config and could point at
a host that does not replicate the repo.

Expose publicExplorer and preferredSeeds on the Config type (both
already carried by radicle::profile::Config) and thread config
through to every explorerUrl() call site. URLs are now built from
the publicExplorer template, filling $host from the first preferred
seed (falling back to rosa only when none are configured), and link
labels show the configured explorer's host.

Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2026-07-21 13:26:31 +02:00
justarandomgeek 7fe26dc4e5 Fix console window flashes when navigating repos on Windows 2026-07-21 12:05:55 +02:00
Rūdolfs Ošiņš a1a2567129 Add .dockerignore
Exclude target/, node_modules/, releases/ and .git/ from the
build context. Dockerfile.release COPYs nothing, so podman was
tarring the entire 32G target/ dir into the build context,
exhausting the machine's temp disk with "no space left on
device".
2026-07-21 11:51:46 +02:00
ck aca4285a26 build: Use distro rustup
rustup is packaged in Ubuntu noble (universe), so install it via
apt instead of piping the rustup-init script from sh.rustup.rs.
Removes one remote connection from the docker build.

add build-arg: RUST_VERSION=1.90
2026-07-21 11:51:46 +02:00
Rūdolfs Ošiņš e2da5055ba Integrate pierre's diffs into commit view 2026-07-20 17:40:25 +02:00
Rūdolfs Ošiņš 6c2365d4c9 Copy only current version's deb from build cache 2026-07-07 10:27:43 +02:00
Rūdolfs Ošiņš f6eeeae613 Update arch package to v0.13.0 2026-07-03 12:36:02 +02:00
Rūdolfs Ošiņš e7b6d054d4 Release v0.13.0 2026-07-03 12:35:51 +02:00
Rūdolfs Ošiņš bbb323106e Fix tar security warning 2026-07-03 12:14:05 +02:00
Rūdolfs Ošiņš 3fa3d04628 Fix npm audit issues 2026-07-03 11:52:12 +02:00
Rūdolfs Ošiņš cd7949000e Center no commits placeholder 2026-07-03 11:33:16 +02:00
Rūdolfs Ošiņš b01ba37f7e Apply restored scroll position only once 2026-07-03 11:33:14 +02:00
Rūdolfs Ošiņš 9bd20fa15c Move patch pagination into the patch service 2026-07-03 11:33:12 +02:00
Rūdolfs Ošiņš f7f4b2b4ba Revalidate restored lists on history navigation 2026-07-03 11:33:09 +02:00
Rūdolfs Ošiņš b4855054e4 Extract shared paginated list state helper 2026-07-03 11:33:08 +02:00
Rūdolfs Ošiņš ce5e270ecb Open the COB cache database once per driver 2026-07-03 11:33:01 +02:00
Rūdolfs Ošiņš 151db44c28 Move issue pagination into the issue service 2026-07-03 11:32:58 +02:00
Rūdolfs Ošiņš fe6d2607e1 Keep loading flag set for superseded page loads 2026-07-03 11:32:53 +02:00
Rūdolfs Ošiņš 1ba7369392 Generate copyable patch text via libgit2 2026-07-03 11:32:33 +02:00
Rūdolfs Ošiņš f568125aa7 Compute diff stats via git diff --numstat
PatchTeaser requests diff_stats per row, and each call re-opened the
whole repo through libgit2-surf, so a list of patches serialized into
tens of seconds on a large repo. Shell out to `git diff --numstat`,
which opens and diffs in one fast pass, falling back to the surf diff
when git is unavailable.
2026-07-03 11:31:50 +02:00
Rūdolfs Ošiņš 0bfe2d7220 Speed up opening files in large repositories
repo_blob and repo_readme resolved the blob through radicle-surf, which
also walks history to find the last commit that touched the path.
libgit2 ignores the commit-graph and diffs every commit, so opening a
file last changed long ago took a long time and varied by how far back
the file changed, not by its size.

Resolve the content with a direct tree lookup and the last commit via
`git rev-list -1`, falling back to the libgit2 walk when git is
unavailable.
2026-07-03 11:30:51 +02:00
Rūdolfs Ošiņš 2bfd580bbe Count commits via git rev-list with bitmaps
libgit2's revwalk ignores the pack bitmap and commit-graph, so counting
walks every commit. Shell out to `git rev-list --count --use-bitmap-index`,
which uses those indexes, and fall back to the revwalk if git is
missing, too old, or errors, so the result is unchanged, just faster on
maintained storage.
2026-07-03 11:30:07 +02:00
Rūdolfs Ošiņš bc1e636fbf Virtualize the file tree's root entries
The file tree was the one list left un-virtualized, so wide directories
mounted every entry and re-rendered all rows on selection. Render
entries through VirtualList like the other lists.
2026-07-03 11:29:40 +02:00
Rūdolfs Ošiņš 5b121b131a Add a diff actions menu with copy and save to disk
Replace the file-header and whole-diff copy buttons with a popover menu
offering "Copy to clipboard" and "Save to disk".
2026-07-03 11:28:57 +02:00
Rūdolfs Ošiņš 737703422e Virtualize the patch-review diff renderer
Route the comment-capable diff through the same single virtualizer as
the commit diff instead of rendering every file and line at once.
2026-07-03 11:28:36 +02:00
Rūdolfs Ošiņš 41535bf32c Add unified-diff copy buttons to the commit diff 2026-07-03 11:28:33 +02:00
Rūdolfs Ošiņš fb35fe369e Virtualize the commit diff view
Render only visible diff rows (via virtua) so commit diffs stay smooth
at any size.
2026-07-03 11:28:12 +02:00