learning_ai_notes/scripts
saravanakumardb1 3288e28f5c feat(web/ui7): migrate note detail, palace, gaps/prompts pages, broadcast banner
Phase UI7 — completes the note detail surface, the Palace knowledge
exploration page + its panels, the knowledge-gaps page, the prompts
page empty states, and the broadcast banner. Brings the ratchet down
to 14 raw controls / 21 legacy class matches — both genuine remaining
intentional items (NoteEditor toolbar, hidden file input, audit false
positives matching Tailwind arbitrary values).

notes/[noteId]/page.tsx:
- 'Loading' badge → Badge variant=neutral.
- Loading/error sections → Card.
- Review-state link → Link wrapping Badge.

palace/page.tsx:
- Wing <select> → Select with options=[{value,label}].

palace components:
- PalacePanel.tsx — search input → Input, hall chip → Badge.
- MemoryTimeline.tsx — hall chip → Badge.
- KnowledgeGraphView.tsx — entity query input → Input.

workspaces/[id]/gaps/page.tsx:
- Topic Coverage section → Card, chip → Badge.
- Empty-state + per-gap items → Card.

prompts/page.tsx:
- Loading + empty-state divs → Card.

landing page (/):
- section.surface-card → Card.
- 'Backend-backed web surface' badge → Badge.
- 'Open dashboard'/'Browse workspaces' links → utility classes.

share/[token]/page.tsx:
- Read-only public share badge → Badge.
- Main content surface-card + input-shell body wrapper → Card with
  bordered body container.

BroadcastBanner.tsx:
- CTA + Dismiss raw <button> → Button (ghost variant, size sm).

Cumulative ratchet impact since session start:
  raw interactive controls       38 → 14   (-24)
  legacy global surface classes  92 → 21   (-71)
  hardcoded color literals       0           (clean)
  direct @bytelyst/ui imports    0           (clean)

Verified: pnpm typecheck, test (96/96), ratchet at new baseline.
2026-05-23 01:49:15 -07:00
..
compose-smoke.sh ci(docker): add compose smoke script 2026-05-05 13:31:10 -07:00
dependency-health.sh ci(deps): add dependency health workflow 2026-05-05 13:36:04 -07:00
docker-prep-original.sh perf(docker): optimize docker-prep.sh with caching and shared cache 2026-05-10 00:10:28 +00:00
docker-prep.sh fix(workspace): canonicalize common-plat path to ../learning_ai_common_plat 2026-05-22 15:08:30 -07:00
e2e-docker-seed.sh test(e2e): docker compose E2E test + seed scripts + 9-step verification 2026-05-23 01:16:19 -07:00
e2e-docker-test.sh test(e2e): docker compose E2E test + seed scripts + 9-step verification 2026-05-23 01:16:19 -07:00
local-smoke.sh fix(workspace): canonicalize common-plat path to ../learning_ai_common_plat 2026-05-22 15:08:30 -07:00
release-guard-audit.sh fix(workspace): canonicalize common-plat path to ../learning_ai_common_plat 2026-05-22 15:08:30 -07:00
secret-scan-repo.sh chore: add Husky pre-commit hooks + secret-scan scripts 2026-03-27 23:07:30 -07:00
secret-scan-staged.sh chore: add Husky pre-commit hooks + secret-scan scripts 2026-03-27 23:07:30 -07:00
ui-drift-audit.sh fix(scripts): make ui-drift-audit work without ripgrep 2026-05-22 23:51:47 -07:00
ui-drift-baseline.json feat(web/ui7): migrate note detail, palace, gaps/prompts pages, broadcast banner 2026-05-23 01:49:15 -07:00
ui-drift-ratchet.sh feat(ci): one-way UI drift ratchet to prevent regressions 2026-05-23 00:13:50 -07:00