Commits
Commits on
dcf123a8823bd55f0a656ce94de6b865f41dc08aFiltered to src/components/ui/data-table-search.tsxClear filter2026-09-19
fix: 🧭 organize Celebi chat actions and searchBurak Boduroğlu · e1768cd
fix: 🧭 organize Celebi chat actions and search - align new chat, chat history and search actions in the panel header - add full-width search guidance, result counts and arrow-key navigation - highlight matching text and keep Turkish search ranges
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-09-16
feat: 🔎 name, class and a "what can I type here" line on every searchBurak Boduroğlu · fbaff64
feat: 🔎 name, class and a "what can I type here" line on every search
- student results carry their class: lib/student-classes resolves a class
name per student from GET /classes/user/{id} (teacher+, cached per tab,
only for a bounded list), used by the command palette people section and
by UserSearchSelect
- UserSearchSelect rows are now two lines — display name, then
"class · username" for a student picker and username otherwise — instead
of the raw account uuid; the picked value reads "Name (username)"
- DataTableSearch takes a hint shown under the field while it has focus,
threaded through DataTable (filterHint) and DataToolbar (searchHint);
every search box in the app names the fields it really matches
- the command palette says what it takes while the query is empty, and the
user picker says it is a type-to-search field
- ui-conventions documents both rules2026-08-19
fix: 🌍 route 19 hardcoded Turkish strings through the dictionary - the en dictionary itself was clean; these strings never called t() at all, so they stayed Turkish whatever the locale said - command palette: the theme action described itself in Turkish in both locales, and the language action had its two branches swapped — a Turkish user read "Switch to English", an English user read "Türkçe diline geç". Its footer key hints were Turkish too - messages: "Yanıtla" x3, "Yanıtla:", "Çöp Kutusundan Çıkar" x2, the read/unread and expand/minimise titles, and four toasts — refresh, the permanent-delete guard, the read-state guard, and empty-trash - rich-text-editor's toolbar labels and body placeholder, plus data-table-search's default "Ara" — both shared, so every table and every note/message editor picked the fix up at once - 18 new keys in both locales; reuse messages.reply, messages.restoreFromTrash, messages.markAsRead/Unread, common.search where a key already said the same thing - left alone: celebi-panel, date-picker, calendar-page and the app.tsx error screen already branch on locale(), and the palette's Turkish keywords are search aids that never renderBurak Boduroğlu · 23ef9a8
fix: 🌍 route 19 hardcoded Turkish strings through the dictionary - the en dictionary itself was clean; these strings never called t() at all, so they stayed Turkish whatever the locale said - command palette: the theme action described itself in Turkish in both locales, and the language action had its two branches swapped — a Turkish user read "Switch to English", an English user read "Türkçe diline geç". Its footer key hints were Turkish too - messages: "Yanıtla" x3, "Yanıtla:", "Çöp Kutusundan Çıkar" x2, the read/unread and expand/minimise titles, and four toasts — refresh, the permanent-delete guard, the read-state guard, and empty-trash - rich-text-editor's toolbar labels and body placeholder, plus data-table-search's default "Ara" — both shared, so every table and every note/message editor picked the fix up at once - 18 new keys in both locales; reuse messages.reply, messages.restoreFromTrash, messages.markAsRead/Unread, common.search where a key already said the same thing - left alone: celebi-panel, date-picker, calendar-page and the app.tsx error screen already branch on locale(), and the palette's Turkish keywords are search aids that never render
2026-08-04
fix: 🌍 close the i18n gaps a locale switch exposed - switching the app to English surfaced 21 strings that never went through the dictionary and stayed Turkish: the rich-text toolbar's seven tips, six message controls and three placeholders, the notebook import button and panel, the command palette and table search clear buttons, and the question pool's delete confirmation - /guide was Turkish end to end apart from its heading. Its 77 strings now live in the dictionary, and the page keeps only presentation in its arrays — the six module cards and the four role tabs render from <For> instead of 220 lines of copy-paste - the language tip claimed the switcher sits under the avatar at the top right; it is the account menu at the bottom of the sidebar - a page without a sidebar entry printed its raw pathname as the shell title, so /profile/me read as "/profile/me". Routes now fall back to an explicit label, and to the nav entry for any role — a page keeps its name on the no-access screen - one sidebar entry and its page disagreed: "Çocuklar" against "Öğrencilerim" for /students. Both read "Çocuklarım" now - 33 labels mixed Title Case into a system that is otherwise sentence case, in both locales — messages, the question pool, the exam forms, payments, and the shell's right panel - role.admin was the only role shouted in caps; a role is an identity, not a status, so RoleBadge drops the semantic destructive variant for a tinted pill with a leading dot - a course card's kind badge was plural ("Dersler") on a single record, and "Yeni {item} oluştur" capitalised the kind mid-sentence - drop 36 guide.stepN.* keys and nav.myStudents, defined in both locales and referenced nowhereBurak Boduroğlu · b9bf08b
fix: 🌍 close the i18n gaps a locale switch exposed
- switching the app to English surfaced 21 strings that never went through
the dictionary and stayed Turkish: the rich-text toolbar's seven tips,
six message controls and three placeholders, the notebook import button
and panel, the command palette and table search clear buttons, and the
question pool's delete confirmation
- /guide was Turkish end to end apart from its heading. Its 77 strings now
live in the dictionary, and the page keeps only presentation in its
arrays — the six module cards and the four role tabs render from <For>
instead of 220 lines of copy-paste
- the language tip claimed the switcher sits under the avatar at the top
right; it is the account menu at the bottom of the sidebar
- a page without a sidebar entry printed its raw pathname as the shell
title, so /profile/me read as "/profile/me". Routes now fall back to an
explicit label, and to the nav entry for any role — a page keeps its
name on the no-access screen
- one sidebar entry and its page disagreed: "Çocuklar" against
"Öğrencilerim" for /students. Both read "Çocuklarım" now
- 33 labels mixed Title Case into a system that is otherwise sentence
case, in both locales — messages, the question pool, the exam forms,
payments, and the shell's right panel
- role.admin was the only role shouted in caps; a role is an identity, not
a status, so RoleBadge drops the semantic destructive variant for a
tinted pill with a leading dot
- a course card's kind badge was plural ("Dersler") on a single record,
and "Yeni {item} oluştur" capitalised the kind mid-sentence
- drop 36 guide.stepN.* keys and nav.myStudents, defined in both locales
and referenced nowhere2026-07-30
style: 🎨 tighten toolbar controls to compact density - search, filter selects, filter buttons, columns menu: h-9 → h-8, text-[13px] - selects/filters use rounded-lg (was rounded-md) to match the standard - update ui-conventions skill + tokens doc (compact h-8 standard); sync .codexBurak Boduroğlu · ae4184f
style: 🎨 tighten toolbar controls to compact density - search, filter selects, filter buttons, columns menu: h-9 → h-8, text-[13px] - selects/filters use rounded-lg (was rounded-md) to match the standard - update ui-conventions skill + tokens doc (compact h-8 standard); sync .codex
refactor: 📊 restyle DataTable and drop density + resize - headers Title Case (drop uppercase/bold) → medium weight, muted, tracking-normal - cells tabular-nums for aligned digits without a mono font; remove zebra striping - lighten sticky frozen-column seam: clean border + softer shadow - remove column resizing (handles, sizing state, width persistence) and row density toggle - simplify table-preferences to visibility-only; drop density/reset i18n keys - search + columns button: rounded-full pill → rounded-lg - refresh ui-redesign-tokens doc + ui-conventions skill; sync .codex mirrorBurak Boduroğlu · 83a0fda
refactor: 📊 restyle DataTable and drop density + resize - headers Title Case (drop uppercase/bold) → medium weight, muted, tracking-normal - cells tabular-nums for aligned digits without a mono font; remove zebra striping - lighten sticky frozen-column seam: clean border + softer shadow - remove column resizing (handles, sizing state, width persistence) and row density toggle - simplify table-preferences to visibility-only; drop density/reset i18n keys - search + columns button: rounded-full pill → rounded-lg - refresh ui-redesign-tokens doc + ui-conventions skill; sync .codex mirror
feat: ✨ align UI and table workflowsBurak Boduroğlu · 23adf31
feat: ✨ align UI and table workflows - apply bDash tokens across shared controls and application shell - add compact persistent tables, pagination, and sticky actions - add durable detail routes and operational side panels