web: split app.js into view modules

Pure move, behaviour unchanged: app.js is now the shell (boot, state, client wiring, connection/banner, navigation and routes, render dispatch, header). Views live under src/views with shared DOM and format helpers. client.js stays DOM-free; no circular imports; every server-derived string still uses textContent.
This commit is contained in:
2026-10-19 16:37:31 +01:00
parent 02afed6a01
commit 007d22eb83
14 changed files with 7326 additions and 6947 deletions
+1 -1
View File
@@ -2153,7 +2153,7 @@ export function approvalResources(permission) {
* non-blank resources joined by newlines and capped at
* [MAX_APPROVAL_RESOURCE_LINES] lines, an embedded newline counting as a line,
* with an ellipsis on the last kept line when the rest was dropped. The rendered
* box clamps to the same six lines (styles.css), so a single long resource that
* box clamps to the same six lines (chat.css), so a single long resource that
* wraps is elided too rather than spilling onto a seventh line.
*/
export function approvalResourceText(permission) {