Commits
Commits on
dcf123a8823bd55f0a656ce94de6b865f41dc08aFiltered to src/components/ui/data-section.tsxClear filter2026-09-17
fix: 📱 let the header action toolbar shrink on narrow viewportsAhmet Kaan Gümüş · ffc324a
fix: 📱 let the header action toolbar shrink on narrow viewports - the shared header toolbar (DataTable's actions row and DataSection's twin) carried `shrink-0`, so on a 390px viewport it kept its max-content width inside the constrained parent and widened the whole document: on /management/modules document.scrollWidth measured 431 against a 390 viewport - replace `shrink-0` with `min-w-0` on both hosts, keeping `flex flex-wrap` and the `[&_button]` utilities: the row may now shrink below its content width and the action buttons wrap onto extra lines instead of overflowing, and the two renderings cannot drift apart - the table's own data-table-wrap is untouched; it already scrolls internally - guard it with a test that renders both hosts and pins `min-w-0` without `shrink-0` on each toolbar (fails before this commit, passes after)
2026-09-15
fix: 🧩 shared pickers everywhere, live sidebar highlight, app dialogs - Select renders the app dropdown menu over a hidden native select, so all 27 call sites share one design and keep form/test semantics; dashboard raw selects and meal date inputs move to Select and DatePicker - ad-hoc search inputs on classes, staff work and boards use DataTableSearch - Çelebi rename/delete use ConfirmDialog instead of prompt()/confirm(); ConfirmDialog prompt gains initialValue and a single-line mode - sidebar and mobile menu row styles are reactive, so the active row follows client-side navigation; a folded section opens on arrival, can be folded again, and scrolls into view when opened - page and route loading spinners are vertically centered - work log actions read "İşe başla" / "İşi bitir"Burak Boduroğlu · 6f75024
fix: 🧩 shared pickers everywhere, live sidebar highlight, app dialogs - Select renders the app dropdown menu over a hidden native select, so all 27 call sites share one design and keep form/test semantics; dashboard raw selects and meal date inputs move to Select and DatePicker - ad-hoc search inputs on classes, staff work and boards use DataTableSearch - Çelebi rename/delete use ConfirmDialog instead of prompt()/confirm(); ConfirmDialog prompt gains initialValue and a single-line mode - sidebar and mobile menu row styles are reactive, so the active row follows client-side navigation; a folded section opens on arrival, can be folded again, and scrolls into view when opened - page and route loading spinners are vertically centered - work log actions read "İşe başla" / "İşi bitir"
refactor: 🧱 one card layout for every list page - table pages fold their title, description and header actions into the DataTable card, with tabs above it (the homework page pattern): students, teachers, users, terms, appointments, payments, license modules, statement - new DataSection gives card-grid pages the same header: classes, courses, staff work, whiteboards, notes, question pool, meals, work log, children - drop per-table row counts from descriptions (the pager already shows them) - remove the sky tint that set some cards apartBurak Boduroğlu · c89242e
refactor: 🧱 one card layout for every list page - table pages fold their title, description and header actions into the DataTable card, with tabs above it (the homework page pattern): students, teachers, users, terms, appointments, payments, license modules, statement - new DataSection gives card-grid pages the same header: classes, courses, staff work, whiteboards, notes, question pool, meals, work log, children - drop per-table row counts from descriptions (the pager already shows them) - remove the sky tint that set some cards apart