chore(web-ui): delete legacy standalone HTML pages; SPA is the only entry #27
No reviewers
Labels
No labels
bug
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: WildDragonLLC/dragonflight#27
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/cleanup-legacy-html"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
public/had two parallel UIs: the React SPA (index.html+screens-*.jsx) and a stack of pre-SPA standalone pages (home.html,recorders.html,jobs.html, etc.). The SPA replaces every standalone page — no.jsxreferences them — and the only outside links werelogin.htmlredirecting tohome.htmland the nginx fallback. Sign-in was landing operators on the 2025-era home page instead of the actual React app.Deleted (16 files, ~9.2k lines, ~430 KB)
_primitives-smoke.htmlapi-tokens.htmlcapture.htmlcluster.htmlcontainers.htmledit.htmleditor.htmlhome.htmljobs.htmlplayer.htmlprojects.htmlrecorders.htmlsettings.htmltokens.htmlupload.htmlusers.htmlKept
index.html— React SPA shelllogin.html— sign-in + first-admin setupRedirects rewired to the SPA
login.htmlpost sign-in:location.href='home.html'→location.href='/'nginx.confSPA fallback:try_files $uri $uri/ /home.html→try_files $uri $uri/ /index.htmlThe Editor screen continues to embed the separate editor service via the
/editor/nginx proxy — unaffected. The YouTube ingest page, recorders, schedule, library, etc. are all already SPA screens (screens-*.jsx).Test plan
/login.html— lands on/showing the React SPA, not the old home page/foo) — nginx serves the SPA shell, React routing decides what to rendercurl -sI .../home.htmlreturns 404 (file no longer exists)🤖 Generated with Claude Code