docs(website): theming & nav phases 0-2 as built #104
Reference in New Issue
Block a user
No description provided.
Delete Branch "docs/theming-nav-phase-0-2"
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?
What & why
Docs half of the phases 0–2 PR pair. Code: RunicGateway/website#121.
Targets
edge— every PR pair in this workstream does, and the feature reachesmainas oneedge→mainmerge once all phases are in.BACKEND_DESIGN.md/settingsrouter group in the §2 tree and its own §4 route table, including why it is a fifth group rather than a route on an existing one:/publicis anonymous,/admin/settingsisadminOnlywhileAdminLayoutrenders for editors and moderators, and/playeris data scoped toreq.user.id.DELETE /admin/settings/:keyin the admin route table, with the key allowlist and why reset deletes rather than writes.settingsschema section: absence of the row is the "use the default" state, values areTEXTso every consumer parses, and malformed reads as absent on both sides (utils/settingsJson.jsserver-side,parseLayoutand its callers client-side).THEMING_AND_NAV.md/settings/navlives, whereparseJsonSettinglives, and the exact 23-declaration radius promotion (with the note that--shadow-card/--panel-gradwere already tokens, so the shadow half was a no-op).orderwins a tie against a coincidental index; equal explicit orders keep code order;groupis honored only when it names an existing section; validation is field-by-field so a badlabeldoesn't discard a goodorder.edge-branch workflow for the remaining PR pairs.api-route-inventory.jsonResynced from
server/routes.manifest.json. Picks up the two new routes plus eight that were already missing from this mirror since the Protocol 3.0 cutover —admin/shard/clilocs{,/import,/path},public/shard/market{,/meta,/vendors/:serial},public/shard/points{,/:system}. Worth a look: it means the mirror drifted for a whole workstream, so it may be worth a CI check like the one that already freezesroutes.manifest.jsonitself.How it was tested
Docs only — nothing to build or run. The route inventory was regenerated from the manifest rather than hand-edited, and every claim about the code is from the branch in website#121, where
npm test(695 pass) andnode --testin the client (67 pass) are green.Checklist
AI-assisted contributions (required)
Claude Code (Opus 5). I have reviewed and understandevery change, and take responsibility for it. AI-authored commits are
marked with a
Co-Authored-By/Assisted-Bytrailer.License
(GNU GPL v3.0 or later), and I have the right to contribute it.