Rebuild the simple base components on shadcn/ui #118

Merged
jcoffey-dev merged 1 commits from phase1/base-ui into main 2026-10-19 00:25:19 +00:00
Owner

Phase 1 of the console rewrite, part 2. Follows #117.

  • Button, badge, card, input, textarea, label, separator, checkbox, switch, collapsible, tabs, tooltip and popover are now function components built on shadcn/ui 4.21.1 (MIT). They sit on the same Radix packages and keep the console's look.
  • Input and textarea share one field style (fieldClasses.ts).
  • LICENSES/MIT.txt carries shadcn/ui's notice, and the README says which files use it.
Not upstream's Upstream lines left Dual headers
#117 74.4% 19,165 in 123 files 108
this PR 75.0% 18,722 in 110 files 95

Visual check: I screenshotted all 163 pages in light and dark on a local preview, before and after, and diffed them pixel by pixel (dashboards with live numbers were set aside using a second unchanged run). The menus, command palette, a dialog, an open select, an open combobox and toasts were opened and compared too. Across the whole stack, one page changed: Account › Vacation Response. The textarea now has the input's rounded corners, which is intended. The header text also wraps one word sooner, because the back button no longer gets squeezed below its 36px square.

Typecheck, lint, i18n:check, tests, build and notice check pass locally. No new strings.

Phase 1 of the console rewrite, part 2. Follows #117. - Button, badge, card, input, textarea, label, separator, checkbox, switch, collapsible, tabs, tooltip and popover are now function components built on shadcn/ui 4.21.1 (MIT). They sit on the same Radix packages and keep the console's look. - Input and textarea share one field style (`fieldClasses.ts`). - `LICENSES/MIT.txt` carries shadcn/ui's notice, and the README says which files use it. | | Not upstream's | Upstream lines left | Dual headers | |---|---|---|---| | #117 | 74.4% | 19,165 in 123 files | 108 | | this PR | 75.0% | 18,722 in 110 files | 95 | **Visual check:** I screenshotted all 163 pages in light and dark on a local preview, before and after, and diffed them pixel by pixel (dashboards with live numbers were set aside using a second unchanged run). The menus, command palette, a dialog, an open select, an open combobox and toasts were opened and compared too. Across the whole stack, one page changed: Account › Vacation Response. The textarea now has the input's rounded corners, which is intended. The header text also wraps one word sooner, because the back button no longer gets squeezed below its 36px square. Typecheck, lint, i18n:check, tests, build and notice check pass locally. No new strings.
jcoffey-dev added 1 commit 2026-10-18 23:51:26 +00:00
Rebuild the simple base components on shadcn/ui
ci / build (pull_request) Skipped
ci / publish (pull_request) Skipped
ci / notices (pull_request) Successful in 1m12s
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 1m26s
ffc91393f2
Button, badge, card, input, textarea, label, separator, checkbox, switch,
collapsible, tabs, tooltip and popover are rewritten as function components
with the structure of shadcn/ui 4.21.1 (MIT), over the same Radix packages,
keeping the console's look. Input and textarea share one field style.

LICENSES/MIT.txt carries shadcn/ui's notice, and the README says which files
use it.
jcoffey-dev merged commit 35bbe75aca into main 2026-10-19 00:25:19 +00:00
jcoffey-dev deleted branch phase1/base-ui 2026-10-19 00:25:19 +00:00
Sign in to join this conversation.