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:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user