variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
This commit is contained in:
+7
-7
@@ -1,7 +1,7 @@
|
||||
// web/chrome.mjs — the shared page chrome: header identity, session
|
||||
// web/chrome.mjs -- the shared page chrome: header identity, session
|
||||
// info, the context meter, the busy note, the notice banner.
|
||||
//
|
||||
// In-page notices only — no JS alert()/confirm(): they block the
|
||||
// In-page notices only -- no JS alert()/confirm(): they block the
|
||||
// embedded browser pane. Errors and notices land in the banner
|
||||
// instead; destructive confirms are two-click armed (widgets.mjs).
|
||||
|
||||
@@ -9,9 +9,9 @@ import { $ } from './dom.mjs';
|
||||
|
||||
// identity chrome: who is signed in. Signing in is permanent and
|
||||
// per-browser (the token lives in localStorage); there is no sign-out
|
||||
// — the lifecycle story is a roadmap extension point
|
||||
// -- the lifecycle story is a roadmap extension point
|
||||
export function setWho(me) {
|
||||
$('who').textContent = me ? `${me.name}${me.superuser ? ' · op' : ''}` : '';
|
||||
$('who').textContent = me ? `${me.name}${me.superuser ? ' \u00b7 op' : ''}` : '';
|
||||
$('who').title = me?.id ?? '';
|
||||
}
|
||||
|
||||
@@ -31,11 +31,11 @@ export function renderMeter(detail) {
|
||||
const pct = c.pct ?? 0;
|
||||
fill.style.width = `${Math.min(100, pct)}%`;
|
||||
fill.classList.toggle('hot', pct > 85);
|
||||
label.textContent = c.contwin ? `${pct}% — close & housekeep past 85%` : '';
|
||||
label.textContent = c.contwin ? `${pct}% -- close & housekeep past 85%` : '';
|
||||
}
|
||||
|
||||
export function setBusy(on, text = 'her turn…') {
|
||||
$('busy').hidden = !on; // model calls take their time — say so
|
||||
export function setBusy(on, text = 'her turn...') {
|
||||
$('busy').hidden = !on; // model calls take their time -- say so
|
||||
if (on) $('busy').textContent = text;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user