xtablo-source/backend/internal/web/ui
Arthur Belleville 52fb77d4f8
feat(13-03): port select + form-field components with CSS and helpers (GREEN)
- select_helpers.go: 9 helper functions verbatim from go-backend
- select.templ: SelectProps/SelectOption structs, inline JS with __uiSelectInitAll
  and htmx:afterSwap re-init listener (Pitfall 6)
- select.css: .ui-select-control (min-height 44px), .ui-select-menu (max-height 16rem)
- form_field.templ: FormFieldProps with Label/For/Field/Error/Hint; conditional regions
- form-field.css: .ui-form-field/.ui-form-label/.ui-form-hint/.ui-form-error
- tailwind.input.css: add @import for select.css and form-field.css
- All 6 TestSelect/TestFormField tests passing; full go test ./... is green
2026-05-16 14:00:51 +02:00
..
auth.css feat(13-01): replace base.css with 223-line token vocabulary and extract auth.css 2026-05-16 13:43:56 +02:00
badge.css feat(13-02): replace CSS files, migrate card.templ to typed API, update all template hardcodes 2026-05-16 13:55:30 +02:00
badge.templ feat(01-02): add Button, Card, Badge templ components + CSS 2026-05-14 18:46:42 +02:00
base.css feat(13-01): replace base.css with 223-line token vocabulary and extract auth.css 2026-05-16 13:43:56 +02:00
button.css feat(13-02): replace CSS files, migrate card.templ to typed API, update all template hardcodes 2026-05-16 13:55:30 +02:00
button.templ feat(13-02): multi-class ButtonClass() + Icon field + buttonType helper in button.templ 2026-05-16 13:52:01 +02:00
card.css feat(13-02): replace CSS files, migrate card.templ to typed API, update all template hardcodes 2026-05-16 13:55:30 +02:00
card.templ feat(13-02): replace CSS files, migrate card.templ to typed API, update all template hardcodes 2026-05-16 13:55:30 +02:00
csrf_field.templ feat(02-07): gorilla/csrf integration — mount middleware, wire all forms, env-driven key 2026-05-14 22:59:06 +02:00
form-field.css feat(13-03): port select + form-field components with CSS and helpers (GREEN) 2026-05-16 14:00:51 +02:00
form_field.templ feat(13-03): port select + form-field components with CSS and helpers (GREEN) 2026-05-16 14:00:51 +02:00
helpers.go feat(13-01): extend variants.go with new enums and helpers.go with helper functions (GREEN) 2026-05-16 13:46:30 +02:00
input.css feat(13-03): port input.templ/input.css and textarea.templ/textarea.css (GREEN) 2026-05-16 13:59:03 +02:00
input.templ feat(13-03): port input.templ/input.css and textarea.templ/textarea.css (GREEN) 2026-05-16 13:59:03 +02:00
select.css feat(13-03): port select + form-field components with CSS and helpers (GREEN) 2026-05-16 14:00:51 +02:00
select.templ feat(13-03): port select + form-field components with CSS and helpers (GREEN) 2026-05-16 14:00:51 +02:00
select_helpers.go feat(13-03): port select + form-field components with CSS and helpers (GREEN) 2026-05-16 14:00:51 +02:00
textarea.css feat(13-03): port input.templ/input.css and textarea.templ/textarea.css (GREEN) 2026-05-16 13:59:03 +02:00
textarea.templ feat(13-03): port input.templ/input.css and textarea.templ/textarea.css (GREEN) 2026-05-16 13:59:03 +02:00
tokens.go feat(01-02): add ui package enums, helpers, base CSS 2026-05-14 18:45:15 +02:00
ui_test.go test(13-03): add failing tests for Select and FormField components (RED) 2026-05-16 13:59:21 +02:00
variants.go feat(13-02): multi-class ButtonClass() + Icon field + buttonType helper in button.templ 2026-05-16 13:52:01 +02:00