learning_ai_notes/web
saravanakumardb1 e89f5ce8e6 feat(web/ui): migrate IntakeUrlBar input to common Input primitive
The IntakeUrlBar URL field was a raw <input> with ~10 lines of inline
styling carrying its own border/radius/background/font-size. This was
the last component on the dashboard surface still using a raw input
after UI5\u2013UI7, so the ratchet caught it as remaining drift.

Migrated:
  - Raw <input> + inline style block \u2192 common <Input> primitive.
  - Preserved the absolute-positioned content-type badge overlay by
    keeping the wrapper <div style={{ position: 'relative' }}> and
    using Input's style prop to right-pad when a badge is present.
  - All attributes (type=url, value, onChange, onKeyDown, placeholder,
    aria-label) preserved as-is so no behavioral change.

Ratchet impact:
  raw interactive controls: 14 \u2192 13 (\u20131)

Lowered scripts/ui-drift-baseline.json from 14 to 13 with this commit
so the CI gate now enforces that bound. The remaining 13 raw controls
are intentional and tracked:
  - NoteEditor toolbar buttons (9)  \u2014 icon-tight, deliberately raw
  - ArtifactPanel hidden file input (1) \u2014 must remain <input hidden>
  - Search-mode radios (2) \u2014 would change UX to migrate to Radix RadioGroup
  - NoteVersionsPanel disclosure button (1) \u2014 tight inline styling

Verified:
  - pnpm --filter @notelett/web run typecheck \u2014 ok
  - pnpm --filter @notelett/web run test \u2014 96/96 pass
  - bash scripts/ui-drift-ratchet.sh \u2014 all categories at new baseline
2026-05-23 10:08:10 -07:00
..
e2e fix(web): repair Next.js standalone static-chunks 404 in Docker + harden 2 e2e specs 2026-05-23 02:29:40 -07:00
public feat: implement WEB_AI_FAST_ROADMAP (web + backend + docs) 2026-03-31 13:00:36 -07:00
scripts chore(web): add bundle analysis gate 2026-05-05 12:45:20 -07:00
src feat(web/ui): migrate IntakeUrlBar input to common Input primitive 2026-05-23 10:08:10 -07:00
test-results chore: update dependencies 2026-03-29 10:50:57 -07:00
.env.example fix(platform): align mcp service urls 2026-05-05 09:19:11 -07:00
.gitignore test(e2e): fix 4 pre-existing E2E failures and make port-conflict-proof 2026-05-23 00:50:29 -07:00
Dockerfile fix(docker): bake NEXT_PUBLIC_* values at build time, drop hardcoded api.bytelyst.com 2026-05-23 10:04:36 -07:00
eslint.config.mjs fix(lint): clear production lint blockers 2026-05-05 14:04:49 -07:00
next-env.d.ts feat(web/ui8): remove legacy global classes + tighten audit regex + lock CI gate 2026-05-23 01:55:36 -07:00
next.config.ts fix(web): prepare Vercel build and standalone runtime 2026-03-31 06:05:16 +00:00
package.json test(e2e): fix 4 pre-existing E2E failures and make port-conflict-proof 2026-05-23 00:50:29 -07:00
playwright.config.ts test(e2e): fix 4 pre-existing E2E failures and make port-conflict-proof 2026-05-23 00:50:29 -07:00
tsconfig.json feat(repo): migrate notelett workspace to pnpm 2026-03-22 15:50:54 -07:00
vitest.config.ts fix(web): add Next.js module mocks for Vitest — all 14 tests pass (was 10/14) 2026-03-29 01:03:11 -07:00