learning_ai_notes/web/src/components
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
..
reviews feat(ui): add review empty states 2026-05-06 13:18:52 -07:00
ui feat(web/ui5+ui7): migrate 12 components to @bytelyst/ui primitives 2026-05-23 01:33:48 -07:00
AgentTimeline.tsx feat(ui): migrate review workflow primitives 2026-05-06 11:43:34 -07:00
AppShell.test.tsx fix(web): add next/navigation mock to AppShell test after client component conversion 2026-03-29 00:09:55 -07:00
AppShell.tsx feat(ui): consume common app shell 2026-05-06 13:35:54 -07:00
ArtifactPanel.tsx feat(web/ui5+ui7): migrate 12 components to @bytelyst/ui primitives 2026-05-23 01:33:48 -07:00
AuthGuard.test.tsx fix(web): add user-facing dependency states 2026-05-05 11:59:17 -07:00
AuthGuard.tsx fix(web): add user-facing dependency states 2026-05-05 11:59:17 -07:00
BroadcastBanner.tsx feat(web/ui7): migrate note detail, palace, gaps/prompts pages, broadcast banner 2026-05-23 01:49:15 -07:00
CommandPalette.tsx feat(web/ui5+ui7): migrate 12 components to @bytelyst/ui primitives 2026-05-23 01:33:48 -07:00
CreateNoteModal.test.tsx fix(tests): fix all failing tests — server mock, ecosystem schema stubs, CreateNoteModal body assertion 2026-04-06 19:13:35 -07:00
CreateNoteModal.tsx feat(web/ui5): migrate settings page + 4 modals to @bytelyst/ui primitives 2026-05-23 00:05:49 -07:00
CreateWorkspaceModal.tsx feat(web/ui5): migrate auth pages and CreateWorkspaceModal to @bytelyst/ui primitives 2026-05-22 23:51:34 -07:00
ExtractedTasksPanel.tsx feat(web/ui5+ui7): migrate 12 components to @bytelyst/ui primitives 2026-05-23 01:33:48 -07:00
IntakeUrlBar.tsx refactor(web): use shared ui primitives 2026-05-05 10:49:25 -07:00
KeyboardShortcuts.tsx feat(smart-actions): add prompt-result screen, capture sub-routes, Cmd+Shift+A shortcut, telemetry events (G16-G19) 2026-04-06 13:43:47 -07:00
KnowledgeGraphView.tsx feat(web/ui7): migrate note detail, palace, gaps/prompts pages, broadcast banner 2026-05-23 01:49:15 -07:00
LinkedNotesPanel.tsx feat(web/ui5+ui7): migrate 12 components to @bytelyst/ui primitives 2026-05-23 01:33:48 -07:00
LinkNoteModal.test.tsx feat(web+backend): add create note, archive/restore, link note flows [B1, B2, B8] 2026-03-19 08:44:39 -07:00
LinkNoteModal.tsx feat(web/ui5): migrate settings page + 4 modals to @bytelyst/ui primitives 2026-05-23 00:05:49 -07:00
MemoryTimeline.tsx feat(web/ui7): migrate note detail, palace, gaps/prompts pages, broadcast banner 2026-05-23 01:49:15 -07:00
MetadataPanel.tsx feat(web/ui5+ui7): migrate 12 components to @bytelyst/ui primitives 2026-05-23 01:33:48 -07:00
NoteEditor.test.tsx test(web): add prompt-client, SmartActionsPanel, RunPromptModal, NoteEditor tests (G10-G13) 2026-04-06 13:34:04 -07:00
NoteEditor.tsx feat(web/ui5+ui7): migrate 12 components to @bytelyst/ui primitives 2026-05-23 01:33:48 -07:00
NoteVersionsPanel.tsx feat(web/ui5+ui7): migrate 12 components to @bytelyst/ui primitives 2026-05-23 01:33:48 -07:00
Pagination.tsx feat(web/ui5+ui7): migrate 12 components to @bytelyst/ui primitives 2026-05-23 01:33:48 -07:00
PalacePanel.test.tsx feat(palace): web UI — palace client, 4 components, palace page, sidebar nav, 6 tests 2026-04-10 01:46:51 -07:00
PalacePanel.tsx feat(web/ui7): migrate note detail, palace, gaps/prompts pages, broadcast banner 2026-05-23 01:49:15 -07:00
PalaceStats.test.tsx feat(palace): web UI — palace client, 4 components, palace page, sidebar nav, 6 tests 2026-04-10 01:46:51 -07:00
PalaceStats.tsx feat(web/ui5+ui7): migrate 12 components to @bytelyst/ui primitives 2026-05-23 01:33:48 -07:00
PromptTemplateEditor.tsx feat(web/ui5): migrate settings page + 4 modals to @bytelyst/ui primitives 2026-05-23 00:05:49 -07:00
ProposalReviewCard.tsx feat(ui): migrate review workflow primitives 2026-05-06 11:43:34 -07:00
ShareDialog.test.tsx fix(sharing): harden note share revocation flows 2026-05-05 12:25:16 -07:00
ShareDialog.tsx feat(web/ui5): migrate settings page + 4 modals to @bytelyst/ui primitives 2026-05-23 00:05:49 -07:00
Sidebar.test.tsx test(web): add shell and navigation coverage 2026-03-10 09:28:14 -07:00
Sidebar.tsx refactor(ui): remove legacy shell css 2026-05-06 13:40:24 -07:00
SmartActionsPanel.test.tsx fix: align web+mobile types with backend (categories, output types, field names, durationMs telemetry) 2026-04-06 16:24:31 -07:00
SmartActionsPanel.tsx feat(web/ui5+ui7): migrate 12 components to @bytelyst/ui primitives 2026-05-23 01:33:48 -07:00
StateNotice.test.tsx fix(web): add user-facing dependency states 2026-05-05 11:59:17 -07:00
StateNotice.tsx fix(web): add user-facing dependency states 2026-05-05 11:59:17 -07:00
SurveyBanner.tsx feat(web/ui5+ui7): migrate 12 components to @bytelyst/ui primitives 2026-05-23 01:33:48 -07:00
TaskReviewPanel.tsx feat(web/ui5+ui7): migrate 12 components to @bytelyst/ui primitives 2026-05-23 01:33:48 -07:00