learning_ai_notes/scripts
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
..
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 feat(web/ui8): remove legacy global classes + tighten audit regex + lock CI gate 2026-05-23 01:55:36 -07:00
ui-drift-baseline.json feat(web/ui): migrate IntakeUrlBar input to common Input primitive 2026-05-23 10:08:10 -07:00
ui-drift-ratchet.sh feat(web/ui8): remove legacy global classes + tighten audit regex + lock CI gate 2026-05-23 01:55:36 -07:00