Commit Graph
3620 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš a7c4ded104 desktop: Keep the local actor in the cache
The profile page reloaded its route after every write and only noticed
edits from other devices on navigation. Now writes and the node's
updates refetch the actor in place, like the rest of the cache.
2026-11-20 19:32:17 +01:00
Rūdolfs Ošiņš f87cbcfc94 desktop: Watch the node's COB cache for changes
Issues and patches written without announcing them, such as with
`rad issue comment --no-announce` or by another instance of the app,
never reached the open views. The cache also changes with every fetch and
write the app already heard of, and doesn't say which repo changed, so
right after those it refreshes once things are quiet instead of with each
one. The watchers now also notice a database that appears or comes back
after an error, and one locked database no longer holds up the others.
2026-11-20 19:32:17 +01:00
Rūdolfs Ošiņš 05d1a99fef desktop: Stop losing and wasting refreshes on events
An update that arrived while a route was still loading was lost, since the
loader's result then counted as fresh, so the events now invalidate through
the shared helper that marks such fetches stale. A repo arriving or renamed
without the update naming its refs left the sidebar list as it was, and
updates that changed nothing still dropped the hover caches.

A test now checks the frontend's ref update type against the generated
one.
2026-11-20 19:32:17 +01:00
Rūdolfs Ošiņš 180ab75364 desktop: Keep list rows in place when new ones arrive
A new issue, patch or release at the top of the list pushed the rows the
user was looking at down by one.
2026-11-20 19:32:17 +01:00
Rūdolfs Ošiņš cc65aea3be desktop: Refresh lists once after context menu edits
Each write already refreshes what it changed, so the menus' own refresh
loaded the list a second time.
2026-11-20 19:32:17 +01:00
Rūdolfs Ošiņš b1c3e2c639 desktop: Keep the repo list and release counts in the cache
The repo list had its own TTL cache, a counter bumped by seeding and a
listener of its own, and release counts were fetched separately by the
sidebar and the releases page. Now they're queries like the rest, and
seeding invalidates the list like any other write. The head a loader
resolved is marked through `markLoading` too, so it needs no key of its
own.
2026-11-20 19:32:17 +01:00
Rūdolfs Ošiņš e0fb0da7a0 desktop: Back off resubscribing to node events
A node that ends every subscription right away made the frontend refetch
everything every two seconds. Updates naming more than 256 refs, such as
a first clone, are sent as repo-wide instead of in one huge event. The
event's type is now generated from Rust.
2026-11-20 19:32:17 +01:00
Rūdolfs Ošiņš 0b9394af9b desktop: Follow seeding from other processes
Seeding or unseeding with the `rad` CLI or another instance of the app
writes the policies database without a node event, so the backend now
watches it like the notifications database.
2026-11-20 19:32:17 +01:00
Rūdolfs Ošiņš e0ccaedf35 desktop: Refresh the identity view
Proposals and votes show as they arrive. Identity COB updates now refresh
only the identity instead of the whole repository.
2026-11-20 19:32:17 +01:00
Rūdolfs Ošiņš 78e56dc9ac desktop: Add new commits to the commits list
When the branch moves on, its new commits are added at the top of the
list, without moving the rows in view, instead of the list going stale
until the next visit. Rewritten history offers to reload the list.
2026-11-20 19:32:17 +01:00
Rūdolfs Ošiņš 26af22703f desktop: Remove the reload button
Views now follow changes as they happen, so a reload is rarely needed and
the button takes room in the sidebar's header. Mod+R still reloads.
2026-11-20 19:32:17 +01:00
Rūdolfs Ošiņš 848a1b2b5c desktop: Drop hover caches when data changes
Hover cards, references and mention candidates keep their own short-lived
caches, which went on showing an issue's or patch's old state for up to a
minute after the views around them had updated.
2026-11-20 19:32:17 +01:00
Rūdolfs Ošiņš 680a781398 desktop: Refresh releases on updates
Releases were the one COB with keys of their own that nothing listened
on: the release list, a release and the sidebar count now refresh when a
release changes, and the user's own release writes refresh them too.
2026-11-20 19:32:17 +01:00
Rūdolfs Ošiņš e9c519068d desktop: Announce published reviews
Publishing a review was the only patch write that didn't announce, so
other instances of the app on the same node never learned of it. A
review's summary now also stays as it is while someone else edits it,
showing that a newer one is available, as an issue's description does.
2026-11-20 19:32:17 +01:00
Rūdolfs Ošiņš 5efbdb5ed1 desktop: Reload boards on updates
Changes to a board, or to its issues and patches, made by other people,
the `rad` CLI or another instance of the app now show without leaving
the board. The reload waits while the user is moving cards, so they don't
jump back before their moves are saved.
2026-11-20 19:32:17 +01:00
Rūdolfs Ošiņš 24eddead28 desktop: Sync the notification count
The backend now tells the frontend whenever the notifications database
changes, which covers notifications the node writes as it fetches as well
as clears by another instance of the app or the `rad` CLI, which have no
node event. The inbox reloads in place, keeping the rows in view where
they are.
2026-11-20 19:32:17 +01:00
Rūdolfs Ošiņš 748f9e9da7 desktop: Refresh the cache after the user's own writes
Reviews and writes with announcing off or the node stopped never reach the
node's events, so each write command now invalidates the data it changes,
also when it fails partway. Views that pin data join that refetch instead
of starting another.
2026-11-20 19:32:17 +01:00
Rūdolfs Ošiņš 94ac124c62 desktop: Name the refs behind local announcements
The node announces the user's own writes, and those of the `rad` CLI,
without saying which refs changed, so each one refetched the whole repo,
including a scan of every CI job. Comparing the announced signed refs
with the previous ones names them. Releases and boards get keys of their
own instead of falling back to the whole repo.
2026-11-20 19:32:17 +01:00
Rūdolfs Ošiņš cbdd3d2d86 desktop: Refresh CI status on job updates
Every status chip of a repository shares one list of its jobs, which
refreshes when a job changes, at most every few seconds, since listing
them scans every job of the repository.
2026-11-20 19:32:16 +01:00
Rūdolfs Ošiņš 8ac86d4f2c desktop: Show newer commits on the repo home
The page keeps showing the code the user is reading and offers the newer
commits when the branch moves.
2026-11-20 19:32:16 +01:00
Rūdolfs Ošiņš 0475a2cea7 desktop: Refresh the repo list when seeded repos arrive
A seeded repo appears as soon as the node has fetched it, instead of on
the next five-second poll.
2026-11-20 19:32:16 +01:00
Rūdolfs Ošiņš 9b6854ae55 desktop: Refresh views on the node's ref updates
The backend forwards the node's ref updates, and the cache refetches what
they affect while it is shown. Issues, patches, their lists, the repo's
counts and the notification count update in place, and without the node's
events they refetch on window focus. An issue's description stays as it is
until the user asks for the latest.
2026-11-20 19:32:16 +01:00
Rūdolfs Ošiņš e9a7770cf7 desktop: Highlight comments that arrive on a diff
New comments show in place without moving the diff, so they get a short
highlight to be noticed.
2026-11-20 19:32:16 +01:00
Rūdolfs Ošiņš 8a8d457c32 desktop: Stop reloading the patch on draft edits
Draft review comments are local, so editing them doesn't need the whole
patch view to load again.
2026-11-20 19:32:16 +01:00
Rūdolfs Ošiņš f9f9009aea desktop: Key timeline runs and replies by id
So that a comment arriving above them doesn't re-render the rest of the
timeline and lose its state.
2026-11-20 19:32:16 +01:00
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