Commit Graph
60 Commits
Author SHA1 Message Date
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
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
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ņš cb90c7ebcd Release v0.18.0 2026-11-09 09:03:21 +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 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ņš 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 7e8b0ecb95 Move prettier config to root 2026-11-04 09:32:49 +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 b77c82151d desktop: Open releases on Delegates
- Decide in ADR 0004 to always open releases on Delegates
- Drop the fallback to Others in lists and releases
- Show the Others filter whenever it has content
- Name the scope in the empty artifacts message
- Open Others in the e2e test of an artifact by a non-delegate,
  which no longer opens there by itself
2026-10-29 18:21:09 +01:00
Rūdolfs Ošiņš 2c44c70ff2 Document the npm workspace and shared/ui 2026-10-29 16:27:03 +01:00
Rūdolfs Ošiņš 7ce1deaf22 Build Docker e2e and desktop releases from the workspace root 2026-10-29 16:27:03 +01:00
Rūdolfs Ošiņš f79b23dde7 Share UI code through an npm workspace
Extracts the avatar components and the style tokens into shared/ui, which
both apps consume as a workspace package, to try out ADR 2. Nix and the
Docker setups are not updated yet.
2026-10-29 16:27:03 +01:00
Rūdolfs Ošiņš d81d8c10b3 desktop: Sort tags by version, newest first
Same as in explorer: compare numeric parts numerically and keep tags
from the same namespace together instead of interleaving them by time.
2026-10-29 14:11:13 +01:00
Brandon OxendineandRūdolfs Ošiņš 8e5089cbdc desktop: Explain revisions with no changes
When a revision's head is already part of its base, the Changes view
showed an empty commits column and "0 files modified". In practice this
is a patch branch pushed after its work already landed, which also marks
the patch merged at that commit even when the work landed after it. Show
an empty state that says so and links to the last revision with changes.

This also fixes switching revisions leaving the previous revision's
single commit selected.

Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2026-10-29 10:48:03 +01:00
Daniel Norman 280d642e6d desktop: run prettier format 2026-10-27 11:12:02 +01:00
Daniel Norman 9b5b20f646 desktop: Hard-wrap Markdown 2026-10-27 11:11:18 +01:00
Rūdolfs Ošiņš c873c9fc88 desktop: Fix math rendering in markdown
The sanitizer allowlist strips KaTeX's markup, and index.html never
loaded katex.min.css, so math has only ever shown up as flat text. We
now typeset math after sanitizing and load the stylesheet.
2026-10-22 16:29:46 +02:00
Rūdolfs Ošiņš 0869e2c44d explorer: Add cargo cooldown config
Desktop already holds back crates younger than 7 days, explorer had
nothing equivalent so `cargo update` pulled in fresh releases.
2026-10-22 16:27:24 +02:00
Rūdolfs Ošiņš d9191cad26 desktop: Fix npm audit advisories
Takes vitest 4.1.12 a few hours before it clears the 7-day cooldown,
to fix GHSA-qxg6-89mg-rqv8 and GHSA-xp26-3454-mjgp in @vitest/mocker.
2026-10-22 16:27:24 +02:00
Rūdolfs Ošiņš 6c0ddd64dc Split agent and contributor docs by project 2026-10-22 11:06:33 +02:00
Rūdolfs Ošiņš fd4436bb8f Rename CLAUDE.md to AGENTS.md 2026-10-22 11:06:33 +02:00
Brandon Oxendine 2f337534f4 Widen the side padding of worded switches 2026-10-20 15:58:21 +02:00
Brandon Oxendine 41e5b96b09 Add right-click menu to issue and patch lists 2026-10-20 15:44:56 +02:00
Brandon Oxendine 0a9d106f7e Truncate sidebar repo header label when narrow
Fixes: 3d47fc649c
2026-10-20 13:44:41 +02:00
Brandon Oxendine 7dd1ad2e55 Keep list search usable in narrow windows
The patch and issue list topbars decided whether to show filter labels
from the viewport width, which ignores the sidebar. With the search
input open, the filters left it almost no room, and in narrower
windows the actions were pushed past the window edge.

Make the topbar a size container and show filter labels based on its
own width. While searching, collapse inactive filters to icons and give
the input a fixed width. When there is still not enough room, the
filters scroll and fade out at the clipped edge.

Fixes: 0d6def4600
2026-10-20 13:34:00 +02:00