forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to src/components/ui/searchable-select.tsxClear filter

2026-09-27

perf: ⚡ cut page-load requests and sweep UI defects across the app - the shell's notification feed resolves section labels only once the list opens, instead of ~50 reads on every page load - section labels use the instance's resolved `title` (no per-course read), one class list for class names, and walk the school class by class when a page needs more labels than there are classes; pickers share that walk. Courses page 61→12 requests, calendar 25s→2s, dashboard 137→73, exams/homework 77→24 - exam results load in full so the table search covers every row - ten-area UI sweep: pill standard on detail headers, row actions and lone buttons; 40px touch targets on phones; error and empty states where a failed read used to crash the page; raw ids, mixed-language and uppercase labels fixed; messages, notes, pomodoro, work log and studio library load as you scroll; calendar links stop reloading the app and the week view fetches its whole range; settings dialog, meals, appointments, events, insights and Çelebi layout fixes - shared scroll restore on Back (createScrollRestore) for card lists - ui-conventions skill and ui-redesign-tokens doc describe the pill, border and scroll-loading standardsBurak Boduroğlu · f04b93a
perf: ⚡ cut page-load requests and sweep UI defects across the app
- the shell's notification feed resolves section labels only once the
  list opens, instead of ~50 reads on every page load
- section labels use the instance's resolved `title` (no per-course
  read), one class list for class names, and walk the school class by
  class when a page needs more labels than there are classes; pickers
  share that walk. Courses page 61→12 requests, calendar 25s→2s,
  dashboard 137→73, exams/homework 77→24
- exam results load in full so the table search covers every row
- ten-area UI sweep: pill standard on detail headers, row actions and
  lone buttons; 40px touch targets on phones; error and empty states
  where a failed read used to crash the page; raw ids, mixed-language
  and uppercase labels fixed; messages, notes, pomodoro, work log and
  studio library load as you scroll; calendar links stop reloading the
  app and the week view fetches its whole range; settings dialog,
  meals, appointments, events, insights and Çelebi layout fixes
- shared scroll restore on Back (createScrollRestore) for card lists
- ui-conventions skill and ui-redesign-tokens doc describe the pill,
  border and scroll-loading standards

2026-09-25

fix: 🔎 clear searches when reopening pickersBurak Boduroğlu · 6e2339e
fix: 🔎 clear searches when reopening pickers

- reset searchable option filters when a picker opens

- preserve the selected course or user until another choice is made

- cover reopening and selection behavior with regression tests

2026-09-18

fix: 🩹 the note picker opens, toggles and closes on a field clickAhmet Kaan Gümüş · 2ec3110
fix: 🩹 the note picker opens, toggles and closes on a field click

The Kobalte combobox behind SearchableSelect opened only from the chevron or on
typing: its default triggerMode ("input") ignores a click on the field, and
focus mode — which opens on click — can never close again, refocusing the input
after every close so the list reopens by itself.

The field now owns the open state (controlled open/onOpenChange plus an onClick
toggle on the input): click opens, click again closes, a pick leaves it closed,
outside-click and Escape still close, typing still filters, ArrowDown opens and
the chevron still toggles.

2026-09-17

refactor: 🔍 one Turkish-aware filter behind every search box - new src/lib/search-text.ts: fold case, Turkish letters, accents and punctuation for comparison, and match every typed term in any order, so "ogretmen" finds "Öğretmen", "9a" finds "9-A" and "ayse 9a" finds both - replace the per-page toLocaleLowerCase().includes() filters with it across rosters, courses, exams, events, classes, messages, payments, whiteboards, the dashboard deadlines, the user table, the blueprint picker, the command palette and Çelebi's message search - DataTableSearch: Escape empties the field (and only then stops the event, so Escape still closes the panel around it) - SearchableSelect: the same folding filter instead of Kobalte's raw substring test, plus a "no results" line where the popover used to just close and read as broken - UserSearchSelect: say it is loading while the debounce and request run, instead of showing an empty panel that reads as "nobody matches"Burak Boduroğlu · 52bbe31
refactor: 🔍 one Turkish-aware filter behind every search box
- new src/lib/search-text.ts: fold case, Turkish letters, accents and
  punctuation for comparison, and match every typed term in any order, so
  "ogretmen" finds "Öğretmen", "9a" finds "9-A" and "ayse 9a" finds both
- replace the per-page toLocaleLowerCase().includes() filters with it across
  rosters, courses, exams, events, classes, messages, payments, whiteboards,
  the dashboard deadlines, the user table, the blueprint picker, the command
  palette and Çelebi's message search
- DataTableSearch: Escape empties the field (and only then stops the event,
  so Escape still closes the panel around it)
- SearchableSelect: the same folding filter instead of Kobalte's raw
  substring test, plus a "no results" line where the popover used to just
  close and read as broken
- UserSearchSelect: say it is loading while the debounce and request run,
  instead of showing an empty panel that reads as "nobody matches"

2026-07-28

feat(ui): 🔍 SearchableSelect component, Kobalte Combobox for user search, color palette picker - add SearchableSelect (Kobalte Combobox wrapper) with search/filter/check indicator - rewrite UserSearchSelect on top of Combobox: debounced server search, single signal - swap native <select> to SearchableSelect in event/grade/exam/homework/meal forms - add ComboboxControl and ComboboxTrigger sub-components, rich item with check icon - add color palette picker to settings: 6 trending Coolors palettes, hex-to-HSL, contrast - add paletteColor to preferences context with localStorage persistence + testsBurak Boduroğlu · 2911d65
feat(ui): 🔍 SearchableSelect component, Kobalte Combobox for user search, color palette picker
- add SearchableSelect (Kobalte Combobox wrapper) with search/filter/check indicator
- rewrite UserSearchSelect on top of Combobox: debounced server search, single signal
- swap native <select> to SearchableSelect in event/grade/exam/homework/meal forms
- add ComboboxControl and ComboboxTrigger sub-components, rich item with check icon
- add color palette picker to settings: 6 trending Coolors palettes, hex-to-HSL, contrast
- add paletteColor to preferences context with localStorage persistence + tests