feat(web): SPA skeleton embedded in the binary #60
Merged
naps62-yolo
merged 5 commits from 2026-08-22 21:07:40 +01:00
issue/6-web-skeleton into main
Labels
Clear labels
area/api
area/ci
area/compat
area/core
area/daemon
area/db
area/dl
area/indexer
area/infra
area/meta
area/parse
area/probe
area/subs
area/web
difficulty/easy
difficulty/hard
difficulty/moderate
difficulty/trivial
phase/1-skeleton
phase/2-logic
phase/3-sourcing
phase/4-movies
phase/5-ui
phase/6-tv
phase/7-people
phase/8-compat
phase/9-subtitles
type/bug
type/chore
type/feature
type/test
arr-api
CI and test harness
arr-compat
arr-core
arr-daemon
arr-db
arr-dl
arr-indexer
workspace and tooling
arr-meta
arr-parse
arr-probe
arr-subs crate: providers, extraction, translation, sync
web/
bounded, obvious approach, few files
subtle correctness or cross-cutting
multiple files, judgement, an interface to design
one file, mechanical, no design decisions
workspace, CI, config, database, empty API and SPA
parsing and policy engine, pure, no network
TMDB and Prowlarr, read-only
movies end to end
search, buckets, library views, queues
seasons, episodes, tracking, derived status
owner tags and notifications
Jellyseerr shim
build order: subtitles, DESIGN.md §15
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: yolo/arr#60
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Closes #6.
Adds
web/: Vite + TypeScript SPA, no framework. One page rendersGET /api/healthas a signal-chain board (TMDB / Prowlarr feeds, Transmission out), with per-upstream status, detail, version and round-trip readouts, a probe control, and a 15 s repoll. States: probing, ok, degraded, unconfigured, unreachable, daemon-down.arr-daemonembedsweb/distviainclude_dirand serves it with correct MIME types, immutable caching for hashed assets, SPA fallback for extensionless routes, and hard 404s for missing files and unknown/api/*paths.build.rsruns pnpm when present, accepts a prebuilt bundle viaARR_WEB_DIST, and embeds a placeholder only in debug builds so the node-less CI rust job still passes; release builds without a bundle fail.Biome (config at repo root) and
tsc -b --noEmitare wired intojust ci. Dev mode proxies/apito the daemon (ARR_DAEMON_URLoverride). Design went through the impeccable skill;.impeccable/design.jsonis the token record. Rajdhani woff2 is self-hosted — the embedded SPA makes no network requests.🤖 Generated with Claude Code
Loose: Adding
web/package.jsonactivatesweb-check, but it runsbiome ci web/beforepnpm -C web install. On a clean CI runner,biomeis only a project devDependency, sojust ciexits before installation. Install first and invoke it throughpnpm -C web exec biome ci ..Fixed in
98a040a:web-checknow installs first and runspnpm -C web exec biome ci ., so it no longer depends on a system-wide biome.Reviewed
98a040a9638784df47ab8fe1f1ff00ccce67f0be. No findings.Reviewed
1b64afc2a18fa510de00440271a9c1e36af790e1. No findings.Reviewed
5dd5a25873abaf8caee822cded5389941aebcbfb. No findings.