Close DV-01–04,07,09,13,14: unify operator-deck UX in server/web.

Standardize neon cyan on #00e8f5, wire SacredPageHeader across Builds/Path Tracer/LOTL, dedupe Pages.css, align Path Tracer chrome, drop dead wealth-deck CSS, add prefers-color-scheme shell + HelpTip, sidebar version from package.json build inject, and Vitest CSS regression guards.
This commit is contained in:
AetherForge
2026-06-07 06:33:51 -07:00
parent 85d55df37c
commit 74c006a04b
35 changed files with 1144 additions and 36 deletions

View File

@@ -77,4 +77,14 @@ describe('auth session helpers', () => {
expect(consumeAuthExpiredFlag()).toBe(true);
expect(consumeAuthExpiredFlag()).toBe(false);
});
it('dispatches aetherforge-auth on login and logout', () => {
const handler = vi.fn();
window.addEventListener('aetherforge-auth', handler);
setStoredAuth('user', 'pass');
expect(handler).toHaveBeenCalledTimes(1);
clearStoredAuth();
expect(handler).toHaveBeenCalledTimes(2);
window.removeEventListener('aetherforge-auth', handler);
});
});