0.1.38 gateway

This commit is contained in:
ponzischeme89
2026-08-14 09:40:03 +12:00
parent abc392d30b
commit 5e2ed3d12e
2847 changed files with 1072928 additions and 3783 deletions
+12
View File
@@ -651,6 +651,18 @@ each page read as a pile of unrelated controls. Things to preserve:
menu and 404, or be reachable and unnamed. Adding one is an entry there plus
`admin/pages/<id>.html` and `<id>.js`; a fragment with no entry panics at start-up rather
than sitting there looking maintained.
- **The console is addressable by name as well as by menu.** Twenty-odd pages is more than a
rail six groups deep is read down, so the top bar carries a search field (Shift+S, and the
shortcut is *printed* on it — it is the only thing saying the console can be driven from
the keyboard). Its list is server-rendered from `.Nav` in `shell.html`, so it reads from
`adminNav` like everything else and cannot offer a page that does not exist or miss one
that does. Two rules in `prepareSearch`: a page's own **name outranks the sentence under
it**, or typing "se" answers with every page whose intro happens to contain those letters
and buries Searches, with ties keeping the rail's order so equally good matches never
reshuffle; and what the arrows walk is read **out of the DOM**, not out of the array the
markup was built from, because ranking re-orders the list and the two disagree the moment
it does. The shortcut stands down inside a field — the console is full of them, and one
that ate a capital S would be worse than none.
- **Hidden pages are addressed by a route that carries something else in the path.**
`/admin/accounts/{userID}` renders the `account` fragment; `/admin/account` is a 404 and
`cleanInstallerDestination` refuses it, because a sign-in returning there would land on a