style(dm): redesign dashboard with purple-gold theme

Redesign DM Dashboard (/dm/, /ru/dm/) with purple-gold theme (#534AB7 + #c8a84b):

Design System:
- Update dm-theme.css with 49 purple-gold tokens (transitions, shadows, hover states)
- Create DmTabs.astro with ARIA, keyboard nav, URL hash sync, localStorage persistence
- Create DmSidebar.astro for desktop navigation
- Redesign DmHeader with gold accent
- Update DmButton, DmCard, DmInput primitives
- Expand i18n to 47 strings

Layout:
- Redesign DmLayout with 3-column dashboard grid (sidebar|main|context)
- Update /dm/index.astro and /ru/dm/index.astro with named slots

Feature Components:
- DiceRoller: empty state, ARIA live, color-coded history, storage key fallback
- InitiativeTracker: HP editing, active highlighting, storage key fallback
- Open5eReference: skeletons, debounce, error retry, gold tabs
- NotesPanel: cross-tab sync, copy-to-clipboard, auto-save
- AuthPanel: VK/Yandex brand colors, pill buttons

Tests:
- Add 50 Playwright E2E tests (smoke, dice, initiative, reference, notes, data-migration)

Fixes:
- Document Open5e client.ts URL bugfix
- Add backward-compatible storage key fallback for dice/initiative
- Preserve legacy sessionStorage data on load
This commit is contained in:
emil
2026-05-15 17:49:32 +03:00
parent 11da171bfb
commit 1c38df7e74
113 changed files with 5651 additions and 596 deletions
+26 -65
View File
@@ -1,6 +1,6 @@
{
"schema_version": 2,
"active_work_id": "dm-dashboard-c3118dfa",
"active_work_id": "dm-dashboard-redesign-a1bfaddc",
"works": {
"critical-refactor-f063daf0": {
"work_id": "critical-refactor-f063daf0",
@@ -371,74 +371,35 @@
},
"ended_at": "2026-05-14T20:09:11.770Z",
"elapsed_ms": 7951442
},
"dm-dashboard-redesign-a1bfaddc": {
"work_id": "dm-dashboard-redesign-a1bfaddc",
"active_plan": "/home/emil/Desktop/Coding/AI/Randify.pro/.sisyphus/plans/dm-dashboard-redesign.md",
"plan_name": "dm-dashboard-redesign",
"status": "active",
"started_at": "2026-05-15T12:32:10.008Z",
"updated_at": "2026-05-15T12:32:10.008Z",
"session_ids": [
"ses_1d6b615cbffe5pqd0AObdil6OK"
],
"session_origins": {
"ses_1d6b615cbffe5pqd0AObdil6OK": "direct"
},
"agent": "atlas",
"task_sessions": {}
}
},
"active_plan": "/home/emil/Desktop/Coding/AI/Randify.pro/.sisyphus/plans/dm-dashboard.md",
"started_at": "2026-05-14T17:56:40.328Z",
"status": "completed",
"updated_at": "2026-05-14T20:09:11.770Z",
"active_plan": "/home/emil/Desktop/Coding/AI/Randify.pro/.sisyphus/plans/dm-dashboard-redesign.md",
"started_at": "2026-05-15T12:32:10.008Z",
"status": "active",
"updated_at": "2026-05-15T12:32:10.008Z",
"session_ids": [
"ses_1d89ad89affe987QEXPgCGcx4S"
"ses_1d6b615cbffe5pqd0AObdil6OK"
],
"session_origins": {
"ses_1d89ad89affe987QEXPgCGcx4S": "direct"
"ses_1d6b615cbffe5pqd0AObdil6OK": "direct"
},
"plan_name": "dm-dashboard",
"task_sessions": {
"final-wave:f1": {
"task_key": "final-wave:f1",
"task_label": "F1",
"task_title": "**Plan Compliance Audit** — `oracle`",
"session_id": "ses_1d7f26069ffeYjfNhmNuooCc3p",
"agent": "Sisyphus-Junior",
"category": "quick",
"started_at": "2026-05-14T18:05:29.120Z",
"status": "completed",
"updated_at": "2026-05-14T20:01:43.840Z",
"ended_at": "2026-05-14T20:01:43.840Z",
"elapsed_ms": 6974720
},
"final-wave:f2": {
"task_key": "final-wave:f2",
"task_label": "F2",
"task_title": "Code Quality Review (re-run after fixes)",
"session_id": "ses_1d7eaed87ffen4vuG6WyFcGh7b",
"agent": "Sisyphus-Junior",
"category": "unspecified-high",
"started_at": "2026-05-14T19:44:00.709Z",
"status": "completed",
"updated_at": "2026-05-14T20:07:46.967Z",
"ended_at": "2026-05-14T20:07:46.967Z",
"elapsed_ms": 1426258
},
"final-wave:f3": {
"task_key": "final-wave:f3",
"task_label": "F3",
"task_title": "Real Manual QA (re-run after fixes)",
"session_id": "ses_1d7eab36dffeC7MQ1w6VXEOAnr",
"agent": "Sisyphus-Junior",
"category": "unspecified-high",
"started_at": "2026-05-14T19:46:49.796Z",
"status": "completed",
"updated_at": "2026-05-14T20:07:53.184Z",
"ended_at": "2026-05-14T20:07:53.184Z",
"elapsed_ms": 1263388
},
"final-wave:f4": {
"task_key": "final-wave:f4",
"task_label": "F4",
"task_title": "Scope Fidelity Check",
"session_id": "ses_1d7fd7992ffe3wLZZY1Zj6CrLD",
"agent": "Sisyphus-Junior",
"category": "deep",
"updated_at": "2026-05-14T20:01:50.576Z",
"started_at": "2026-05-14T19:50:33.428Z",
"status": "completed",
"ended_at": "2026-05-14T20:01:50.576Z",
"elapsed_ms": 677148
}
},
"agent": "atlas",
"ended_at": "2026-05-14T20:09:11.770Z",
"elapsed_ms": 7951442
"plan_name": "dm-dashboard-redesign",
"task_sessions": {},
"agent": "atlas"
}