Commit Graph
7 Commits
Author SHA1 Message Date
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ņš 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
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ņš 983fff9006 Move everything into desktop/
In preparation for merging radicle-desktop into radicle-gui. It's a pure rename, so git can follow every file across the move.
2026-10-12 08:41:12 +02:00