Commit Graph
3536 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš 99b39ca287 Add ADR for a shared core package
Both apps carry diverging copies of the same domain logic. Record where
shared logic lives, which types it uses and how it moves over.
2026-10-29 17:02:24 +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ņš 84995442a5 Add ADR for extracting shared UI code
ADR 2 now only covers how the apps consume shared code, so its notes
on the extraction strategy move here. All three root ADRs are accepted
with this patch.
2026-10-29 16:06:13 +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ņš 9c360925e1 explorer: Sort tags by version, newest first
Tag names were compared as plain strings, so 0.10.0 sorted between
0.1.0 and 0.2.0. Canonical tags were ordered by tagger time, which
interleaved the httpd and desktop releases in monorepos. Tags now stay
together per namespace, newest namespace first, sorted by version.

Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2026-10-29 14:11:13 +01:00
Brandon Oxendine ad91a96490 explorer: Fix preview of deleted files
Render the old blob when previewing a deleted file, including binary
images, which showed only a "Binary file" placeholder. Hide the "View
file at this commit" link for deleted files, since the file does not
exist at that revision.
2026-10-29 12:55:01 +01:00
Brandon Oxendine 86fcd93a68 explorer: Clamp long node descriptions
Collapse the node description to three lines with a Show more toggle
when it overflows, and let the sidebar scroll on wide screens so the
node details below it stay reachable.
2026-10-29 11:23:58 +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
Daniel Norman 692da482fb explorer: run prettier format 2026-10-27 11:10:00 +01:00
Daniel Norman 563cafbc85 explorer: Hard-wrap Markdown with prettier
- Format all files Prettier supports
- Run `prettier .` in format and check, so both cover the same files
- Check Markdown, which only format covered before
- Replace stale ignore entries with `crates`
2026-10-27 11:09:32 +01:00
Daniel Norman 196ddbf47e httpd: fix the build script 2026-10-23 12:41:37 +02:00
Daniel Norman 86ba3917ea httpd: Release 0.30.0 releases/httpd/0.30.0 2026-10-23 11:07:48 +02:00
Brandon Oxendine 45b3ac6906 explorer: Show breadcrumbs in the mobile repo header
They used to be hidden on small screens. Now they scroll horizontally,
starting from the last crumb. Also adds the repo avatar to the repo crumb.
2026-10-22 17:41:48 +02:00
Julien Donck e1347aa257 explorer: Drop privacy and encryption claims
Connections between nodes are neither encrypted nor authenticated until
the network protocol vulnerability is fixed, see
https://radicle.dev/2026/09/23/disclosure-of-vulnerability-in-network-protocol
2026-10-22 17:23:09 +02: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ņš a4cecc8519 explorer: Fix math rendering in markdown
The sanitizer allowlist added in 4c31a8134 strips all of KaTeX's markup,
leaving only the flat text of each formula. We now typeset math after
sanitizing instead of loosening the allowlist for spans and styles.
2026-10-22 16:29:42 +02:00
Rūdolfs Ošiņš 0279ab0910 explorer: Add file extension to vite plugin import
Vite 8.3 warns about extensionless imports in the config, since its
native config loader, planned as the default, can't resolve them.
2026-10-22 16:27:24 +02:00
Rūdolfs Ošiņš 29ba8447a2 Document dependency updates under the cooldown
Plain `cargo update` and `npm audit fix --force` bypass or ignore the
cooldown, and nothing told people or agents which commands respect it.
2026-10-22 16:27:24 +02:00
Rūdolfs Ošiņš 543a7a03f9 explorer: Fix cargo audit advisories
rustls-webpki 0.103.16 and webpki-roots 1.0.10 are the first releases
with the fixes for RUSTSEC-2026-0382 and RUSTSEC-2026-0381, but are
still in the cooldown. We reviewed their diffs against upstream and
allow them until they're old enough.
2026-10-22 16:27:24 +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ņš 6c797ebf1d explorer: Fix npm audit advisories
mermaid 11 pins katex ^0.16, which is affected by GHSA-238p-pmpm-9mq7.
Like desktop, we now depend on katex directly and override mermaid's
copy, instead of jumping to mermaid 12.

Also takes vitest 4.1.12 a few hours before it clears the cooldown.
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
Daniel Norman 68d7a33579 ci: fix explorer pipeline 2026-10-22 14:48:27 +02:00
Rūdolfs Ošiņš 5c22442477 Update READMEs for the monorepo layout 2026-10-22 11:06:34 +02:00
Rūdolfs Ošiņš 853d45bbcd Run ryph setup for explorer from explorer/ 2026-10-22 11:06:34 +02:00
Rūdolfs Ošiņš 7f92fbc48d Fix explorer scripts for the explorer/ location 2026-10-22 11:06:34 +02:00
Rūdolfs Ošiņš e80e257ee4 Run explorer CI from explorer/ 2026-10-22 11:06:34 +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
Rūdolfs Ošiņš 79a7c23979 Give explorer its own .gitignore 2026-10-22 11:06:33 +02:00
Rūdolfs Ošiņš e37521c739 Move explorer into explorer/
Makes explorer and desktop sibling projects, as proposed in ADR 1.
This commit only moves files; paths in CI, scripts and docs are fixed
in the following commits.
2026-10-22 11:06:33 +02:00
Rūdolfs Ošiņš 954222cb11 Add ADRs for repository layout and shared UI code
Most copy-pasting between the two front-ends happens in UI code. These
propose making explorer and desktop siblings and sharing code from
source, without an npm workspace for now.
2026-10-22 11:06:33 +02:00
Rūdolfs Ošiņš 4a84871ee7 httpd: Return 400 for malformed archive refs
A ref name git rejects outright, like `foo..bar`, still yielded a 500.
It's a client error, same as a malformed SHA in `/{rid}/{sha}`.
2026-10-22 10:27:53 +02:00
Jörg Thalheim cc67fd894a httpd: Return 404 for unknown archive refs
/raw/<rid>/archive/<ref> passed the git2 error from
resolve_reference_from_short_name straight through, so a typo in the
branch name or a commit SHA in place of a ref yielded a 500. Map
ErrorCode::NotFound to 404 like we already do for the object lookup.

Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
2026-10-22 09:53:03 +02:00
Ada e41de09a55 Fade garden promo flower behind overlapping text
Ryph-Run: r-02c72dd80d
2026-10-21 17:15:43 +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
Ioannis T. 95405a07cb Keep newlines when copying source lines
Fixes 956f736acc
2026-10-20 15:26:47 +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
Brandon Oxendine 2fd961c6c3 Add monospace fallback to JetBrains Mono fonts
When users block web fonts, code was rendered in the browser's default
sans-serif font because the JetBrains Mono code font tokens had no
generic fallback. Add `monospace` as a fallback so code stays
monospaced.

Fixes: 8942cea33a
2026-10-20 12:27:29 +02:00
Daniel Norman a2b11f9d68 Fix visual snapshot tests 2026-10-19 18:33:14 +02:00
Brandon Oxendine 02dfecf66d Use new UI kit icons in empty states 2026-10-19 18:14:10 +02:00
Daniel Norman a79322aff4 Install zstd in ci pipeline
- Add install_zstd step before the build
- Fix test_archive_tar_zst panicking on CI
2026-10-19 18:07:43 +02:00
Brandon Oxendine 095b4f2fc0 Add copy link and highlight to comments
Opening a comment link expands the revision the comment is in, even if
the link is opened while already on the page, and scrolls to it.

This also fixes scrolling to URL fragments that aren't valid CSS
selectors, such as comment ids starting with a digit.
2026-10-19 18:02:19 +02:00
Georgios Jason Efstathiou 722a83af54 ryph: add clippy and rustfmt to the pinned toolchain
The root's plain rust-toolchain pin installs with the minimal profile,
so the explorer clippy warm step failed without clippy.
2026-10-19 17:57:49 +02:00