Commit Graph
3595 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš ee80f7d6f4 Add shared core package and query cache
Core holds the keys of the data both apps read and maps a node's ref
updates to the keys they affect. The query cache wraps TanStack Query for
runes, as decided in ADRs 4 and 5.
2026-11-20 19:32:16 +01:00
Rūdolfs Ošiņš 5937288817 Amend ADR 5 for updates shown in place
The patch view shows new comments in place instead of pinning a snapshot,
paginated lists keep their own pages, and `cached()` stays for small
lookups, so the ADR now says so.
2026-11-20 19:32:16 +01:00
Ioannis T.andBrandon Oxendine bc2914f06b desktop: Add an actor profile editor behind the actorRepos lab
Co-authored-by: Brandon Oxendine <brandon.oxendine@gmail.com>
2026-11-20 17:33:55 +01:00
Brandon OxendineandRūdolfs Ošiņš 442e58780f desktop: Respect reduced motion
Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2026-11-17 11:50:00 +01:00
Brandon OxendineandRūdolfs Ošiņš efc6ae961f explorer: Add open in app to a share menu
Copy link becomes a split button like desktop's, which can also copy the
ID or rad: URI, or open the URI in whichever app handles it. Commits and
releases get their own share button too.

Browsers don't tell us whether the app opened, so instead of redirecting
we show a notice linking to the desktop download page, unless the window
loses focus within a second.

Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2026-11-13 13:54:42 +01:00
Brandon Oxendine 65e102b965 explorer: Link the node name in breadcrumbs
The node name in the node, repo and user page breadcrumbs only opened
the node picker, and the node page was reachable only through a small
arrow inside it. Make the name a link to the node page and open the
picker from a separate, always visible chevron button. Escape returns
focus to the chevron, and the redundant "Open node view" arrows are
hidden where the link exists.

Breadcrumbs now use quieter slash separators, so the chevron no longer
sits next to another arrow, and every breadcrumb link underlines on
hover instead of turning brand blue.
2026-11-13 11:32:10 +01:00
Rūdolfs Ošiņš c5957b32f4 desktop: Add compare options to the revision picker
Right-clicking a revision in the Changes tab picker offers the same
comparisons as the activity tab's compare menu, so you don't have to
leave the Changes tab to compare revisions.
2026-11-13 10:37:41 +01:00
Ioannis T. f28442fd5c desktop: Add a compare menu to patch revisions 2026-11-13 09:37:32 +01:00
Ioannis T. ba6e754686 desktop: Count every commit of a revision in the revision picker
Fixes rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5/cob/xyz.radicle.issue/47d0ce74b984d8aa0a7c671e76f2af1a6b12d3fb
2026-11-13 09:37:32 +01:00
Rūdolfs Ošiņš 2a504c2b38 desktop: Show shortcut hints only when Mod is held alone
The sidebar numbers flashed on every ⌘Tab and showed up in ⌘⇧5
screenshots, then stuck until ⌘ was pressed again because the
screenshot overlay swallows the keyups. Now they wait for ⌘ to be
held on its own for a moment and hide on any sign it was let go.
2026-11-12 10:09:46 +01:00
Rūdolfs Ošiņš 0ef41cc23b desktop: Disallow attachments when editing a draft comment
Drafts are kept in local storage and publish only their bodies, so a
file attached while editing one never reached the COB and peers saw a
broken link. The draft composer already disallowed attaching; editing
didn't.
2026-11-10 16:54:20 +01:00
Rūdolfs Ošiņš 2ec2fecbdd desktop: Save embeds when editing a review summary
The summary editor allowed attaching files but never sent them, so the
link ended up in the summary while the file never reached the COB.
Verdict changes and task toggles also sent no embeds, which would drop
them again once a summary has some.
2026-11-10 16:54:20 +01:00
Brandon Oxendine ac793e1215 desktop: Keep embeds when editing a description 2026-11-10 16:54:20 +01:00
Daniel Norman 068263a272 desktop: Register releases with radicle-artifact
- Add a register phase after tag, like httpd's build/register
- Record the DMG, deb and AppImage in the release of the tag, with
  their files.radicle.dev URLs and sha256
- Move the Zulip announcement into its own announce phase
- Document how to install rad-artifact in README.md
2026-11-10 13:32:16 +01:00
Daniel Norman f50122d8d8 desktop: Sign the release tag
- Sign the release tag with the Radicle key, like the httpd tag
- Check that the signing key matches the Radicle identity first
- Document the Git signing setup in README.md
2026-11-10 13:32:16 +01:00
Daniel Norman 3b64bbf556 desktop: Prefix the release commit and tag
- Write "desktop: Release <version>" as the release commit subject and
  the tag message, like httpd
- Drop the v before the version everywhere else too: changelog
  headings, the releases/ folders and the apt branch
- Still find older release commits, which lack the prefix and have a v
2026-11-10 13:32:16 +01:00
Rūdolfs Ošiņš 58e848d1d0 Add Wrangler do dev deps
We need it to deploy radicle.network.
2026-11-10 12:16:18 +01:00
Rūdolfs Ošiņš cafd882ad9 explorer: Use oak as the default seed
oak.radicle.garden balances between its seed nodes at the network
level, so we don't need to spread users across iris and rosa anymore.
A picked seed that's neither a default nor bookmarked gets cleared,
which moves users who picked iris or rosa to the new default.
2026-11-10 12:00:51 +01:00
Daniel Norman 1ac894481d httpd: Register the bundle in its own step
- Move the explorer bundle build and registration to register-bundle
- Keep register to the archives and their checksums
- Add register-bundle as its own step in RELEASE.md
- Drop -w explorer, which failed with "No workspaces found"
2026-11-09 15:21:29 +01:00
Daniel Norman f426d679a1 httpd: Prefix the release tag message
- Write "httpd: Release <version>" so the tag matches the release commit
- Show the component in the radicle-artifact release title
2026-11-09 14:07:13 +01:00
Daniel Norman 11cf896b90 httpd: Release 0.31.0 releases/httpd/0.31.0 2026-11-09 09:51:23 +01:00
Daniel Norman ea992a558c Format markdown 2026-11-09 09:17:04 +01:00
Rūdolfs Ošiņš cb90c7ebcd Release v0.18.0 releases/desktop/0.18.0 2026-11-09 09:03:21 +01:00
Daniel Norman 1f258810aa Update Node to 24.22.2
- Pin .nvmrc to the latest Node 24 release
2026-11-09 08:50:17 +01:00
Rūdolfs Ošiņš 1386f65557 desktop: Cache evaluated boards
Heartwood doesn't cache custom COBs, so every board read replayed the
board's whole history, about 2.5 s for 3,000 ops. Evaluated boards are
now kept in `boards.db` next to radicle-artifact's cache, keyed by the
board's ref tips, so a read with nothing new takes a few milliseconds and
an op fetched from any peer still triggers a fresh evaluation.
2026-11-06 18:21:33 +01:00
Brandon OxendineandRūdolfs Ošiņš 682a406d85 desktop: Add the board view
Every issue and patch of a repository shows on its board, in a column
derived from its state until someone moves it. Cards move by drag and
drop or from their menu, closing columns close and reopen issues for
those allowed to, and a drop that isn't allowed says why. Changes wait
2.5 seconds and are written as one op. Patches link to issues with a
keyword and a full reference. Boards stay hidden until turned on under
Settings → Labs.

Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2026-11-06 18:21:33 +01:00
Brandon OxendineandRūdolfs Ošiņš 3c6b455da0 desktop: Add board commands
The port lists, creates and renames boards, edits their columns, and
applies a batch of card moves and removals as one op, so a burst of
changes costs one update of the signed refs. Changes the board would
ignore are refused before writing and reported back, and boards are only
written on the test network or in private repositories for now.

Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2026-11-06 18:21:33 +01:00
Brandon OxendineandRūdolfs Ošiņš 3f32a750b8 desktop: Add the board COB
A board arranges a repository's issues and patches in columns and stores
only where each card sits, as `works.monadic.board` in its own crate so
other clients can reuse it. Moves follow the issue and patch access
rules, ops that fail them are ignored rather than rejected, and positions
are fractional keys so concurrent moves converge. ADR 0005 records the
decisions.

Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2026-11-06 18:21:33 +01:00
Rūdolfs Ošiņš 787be14d73 desktop: Share the avatar stack
Board cards show assignees the way the repository header shows
delegates, overlapping and fanning out on hover, so the stack moves
into its own component.
2026-11-06 18:21:33 +01:00
Rūdolfs Ošiņš 244e2dc44c desktop: Write pending changes before the window closes
Views can hold back writes to batch them, which would be lost if the
window closed in the meantime. The first close is held until registered
views have flushed, writing locally without announcing, with a 5 second
fallback. On macOS, Quit goes through the same path instead of
terminating the app directly.
2026-11-06 18:21:33 +01:00
Rūdolfs OšiņšandBrandon Oxendine e29def0dda desktop: Extend shared form components
`Checkbox` reports changes, `SegmentedSwitch` options can show an icon and
a label together, `TextInput` takes a `maxlength`, and a new `Select` is a
styled dropdown that also works inside a popover, where a nested `Popover`
would close its parent.

Co-authored-by: Brandon Oxendine <brandon.oxendine@gmail.com>
2026-11-06 18:21:33 +01:00
Daniel Norman c13c7fa5d9 httpd: Register and attest releases
- Add build/register for a delegate to record each archive in the tag's
  release with radicle-artifact, from their own machine
- Build the explorer bundle with config/default.json in build/register,
  and register and seed it as a collection in the same release
- Record the CI build that fetch leaves in artifacts/; make build drop it
- Add build/attest for other delegates to attest a matching build
- Document registration, attestation and how to verify a download
2026-11-06 10:45:37 +01:00
Daniel Norman 9a9a78b5a2 httpd: Build release archives in CI
- Add build/ci to build the archives of an annotated release tag
- Run it on the large_linux_arm Buildkite queue
- Keep the archives as artifacts and show checksums in an annotation
- Pass --load to docker, as a remote builder keeps the image in its cache
- Add build/fetch to download the archives of the CI release job
- Pick the job by its step key, so a failed test elsewhere does not hide it
- Add build/compare to check a build against another
- Document the CI build, the download and the comparison
2026-11-06 10:45:37 +01:00
Daniel Norman 63a5bb2266 httpd: Make release builds reproducible
- Pin the rust and alpine images by digest
- Check that the rust image matches rust-toolchain
- Install pinned zig 0.17.0 and cargo-zigbuild 0.23.4
- Install cargo-zigbuild before the source copy, to cache it
- Build on linux/arm64 on every host, with docker or podman
- Use 8-character commit IDs and read RADICLE_HTTPD_VERSION
- Name the tagged commit in the announcement, not a build ID
- Link macOS binaries with -dead_strip_dylibs and -rtlib=none
- Move signing out of build into build/sign, which checks checksums
- Fix Dockerfile lint warnings
2026-11-06 10:45:37 +01:00
Rūdolfs Ošiņš b522155767 explorer: Key visual test caches on the OS release
ubuntu-latest is moving to Ubuntu 26.04, and runners on the new image
restored the 24.04 WebKit build from the cache. It couldn't find
libicudata.so.74 and failed to launch, so the visual tests failed
without any visual diffs.
2026-11-06 10:38:02 +01:00
Daniel Norman f546e10a81 explorer: Ignore crypto-bigint advisory
- Ignore RUSTSEC-2026-0387 in audit config
- Record that radicle uses Ed25519 only, so p256 is never used
2026-11-06 11:41:21 +05:30
Daniel Norman 7ce7541051 explorer: Fix cargo audit advisories
- Bump libz-sys, tokio, zstd, zstd-safe and zstd-sys
- Allow zstd 0.13.4 and zstd-safe 7.4.0 inside the cooldown
- Fix RUSTSEC-2026-0386, 0391, 0395 to 0406 and 0410
- Fix RUSTSEC-2026-0418
- Drop expired cooldown exceptions
2026-11-06 11:36:09 +05:30
Daniel Norman b5fccde171 Fix npm audit advisories
- Drop rimraf from explorer and use rm -rf in deploy
2026-11-06 10:57:01 +05:30
Rūdolfs OšiņšandBrandon Oxendine aa606ee12c explorer: Put the download archive button first
Co-authored-by: Brandon Oxendine <brandon.oxendine@gmail.com>
2026-11-04 15:01:47 +01:00
Rūdolfs Ošiņš 0bc014dded Fix e2e tests 2026-11-04 10:49:08 +01:00
Brandon Oxendine 41592b29b3 desktop: Mark the latest commit in a patch revision 2026-11-04 10:03:06 +01:00
Daniel Norman e3c965ffa8 Update changelog 2026-11-04 09:50:18 +01:00
Daniel Norman f64094bb27 explorer: Remove the env var config
- Remove custom-environment-variables.json: nothing sets its
  variables, and PREFERRED_SEEDS mapped to a key the app never reads
- Remove deploymentId: only Vercel set it, and we don't deploy there
- Always show the self-hosting hint in parse errors, as before
- Document local.json as the way to configure a build
2026-11-04 09:41:44 +01:00
Daniel Norman 7e8b0ecb95 Move prettier config to root 2026-11-04 09:32:49 +01:00
Rūdolfs Ošiņš 73de4c0cc1 explorer: Deny install scripts in the Open Graph worker
The worker isn't part of the npm workspace, so the root allowScripts
doesn't cover it, and npm 12 refuses to install its dependencies under
strict-allow-scripts. The wrangler dry-run bundle doesn't need any of
these scripts.
2026-11-03 17:33:10 +01:00
Brandon Oxendine 2d2e4c6b27 explorer: Keep comment code blocks inside the card 2026-11-03 16:46:28 +01:00
Brandon Oxendine ede901bc4f explorer: Add a download button to the clone popover
The Download tab only offered a curl command. Add a button that links
to the same archive URL so people without a terminal can download the
source.
2026-11-03 14:39:33 +01:00
Alessio Caiazza 9c790a7d1c desktop: Drop wall-clock limits from mention tests
The hostile input tests compared elapsed time against fixed limits, so
they measured the machine as well as the code. They fail on slower or
loaded builders, such as the nixpkgs x86_64-linux check phase, even
though rendering stays linear.

Compare the CPU time of an input against one four times as long
instead. Linear rendering gives about 4 and a quadratic regression
about 16. CPU time is needed because a wall-clock ratio inflates under
bursty load, when a short run fits between bursts and a long one does
not.

Rendering past the reference limit gets its own test, since the link
count cannot catch a limit that stops linking but keeps rescanning.

The bare reference test now puts a valid reference before the long
run, so giving up is visible in the result without any timing.

AI-assisted: Claude Code (claude-opus-5-5)
2026-10-31 13:59:28 +01:00
Daniel Norman e1f7a40c63 httpd: Set up the tag release flow
- Rename RADICLE_VERSION to RADICLE_HTTPD_VERSION, apart from
  heartwood's RADICLE_VERSION
- Add Unreleased sections to the changelog and API changes log, so
  patches add their highlights as they land
- Replace the release patch with a signed tag that one delegate
  pushes
- Stop pushing the tag from upload: the delegate who makes the tag
  pushes it
- Remove build/changelog
- Add build/prepare to rename the Unreleased sections, in POSIX sh
  and awk
- Ask a major release to set the target date to drop the previous
  major
- Fix the signing key setup: use the bare key that build/tag
  compares against
2026-10-29 18:32:03 +01:00
Daniel Norman d8f363ca99 Replace API version checks with feature detection
httpd:
- Serve the API at /api, not only under /v1
- Keep serving it at /api/v1, without a redirect, until the first
  major release after explorer and the Open Graph worker switch
  to /api
- Remove apiVersion: released explorers do not read it
- Add `httpd.releases` to `/info`, set by the artifacts feature

explorer:
- Remove the API version check, its config and the unused
  compare-versions dependency
- Keep the node version in a plain parse error message
- Add `minimumSupportedVersion`, set to 0.28.0, and warn on nodes
  whose major is older, treating 0.y as the major before 1.0
- Do not warn on builds without a release number
- Show a warning on the node page of an outdated node
- Mark an outdated node in the seed picker on every page
- Name the node version and the floor in parse errors
- Drop the `/node` fallback for httpd without `/info`, which
  predates the floor
- Check the status, not `ResponseError`, so the Open Graph worker
  can import compat without the fetcher
- Name the httpd release each shim serves, not a date
- Drop the mime shim for httpd 0.18.1 and the unused `lib/file.ts`
- Read the node from `/info` in repo views
- Pass the node and its features to repo views as one `node` param
- Show the releases tab and pages when the node supports releases,
  and the counter only when there is a count
- Read a release count as release support on older httpd
- Test the flag and the fallback

docs:
- Restructure docs/api-changes.md: the supported versions, one
  table of removals, fixed fields per change, and a link to ADR
  0001 for the rules
- Say in ADR 0001 that each compat comment names what the other
  side does
- Say in ADR 0001 when a capability needs a flag in /info

tests:
- Run e2e tests on httpd 0.30.0, above the floor, instead of 0.26.0
- Run the release tests on it too, so they cover the compat shims
- Skip only those that need release counts per scope on it
- Test a node without release support through a mocked `/info`
  flag, instead of an httpd that predates the floor
2026-10-29 18:32:03 +01:00