forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to src/components/layout/route-error.test.tsxClear filter

2026-09-25

feat: 🧭 centered, illustrated load-error, not-found and 404 statesBurak Boduroğlu · 233723f
feat: 🧭 centered, illustrated load-error, not-found and 404 states

- shared PageCenter layout fills the content area and centers the card on
  both axes with a 600px cap, on desktop and phones
- load error shows the message, a retry (with a countdown when the
  response carries retry-after) and a collapsible technical block with
  the cause, HTTP status, code, module, wait time, page and raw message
- record-not-found and the router 404 use the same layout and a
  not-found scene; hard-coded strings move to i18n
- new unDraw server-down scene and an `error` kind on EmptyState

2026-09-22

fix: 🐛 UX pass from desktop and phone QA - lists: the /exams pager no longer snaps back to page 1 (a fresh rows array reset TanStack's page index); DataTable owns paging and resets only on sort, search or pageResetKey - list search, page, sort, filters, detail tabs and calendar view/date live in the URL (lib/url-state.ts), so Back and refresh keep them - DataTable: aria-sort, "no results for X" empty state with a clear action, no nested scroller, unboxed column-menu-only toolbar, inline status pills on phone cards, column min widths on tablets - courses filter reads "Şube: Tümü / Şubesi olan / Şubesi olmayan"; per-tab exam empty states; upcoming events soonest first - phone shell: content clears the quick-action button, which also hides for the /ai/study and message composers; opaque search dialog; the shell title is the page h1 when a page has none; skip link lands past the header; menu sheet makes the page behind it inert - touch: variant (coarse pointer or narrow screen) keeps 16px inputs and 44px targets on landscape phones and tablets; combobox list and /ai/studio producer no longer widen the page; heatmap labels don't collide - notifications: popover focuses itself, not "Tümünü sil", which now asks first; labelled theme buttons and dismiss targets - settings no longer look dirty on load and warn before leaving with real changes; exam create preselects the current term; exam kinds and meal keys show Turkish labels - homework grading has no "Tamamlandı" default for non-submitters; class edit shows the assigned homeroom teacher; admin demotion warns - instance "Ders saati" saves on Enter/Kaydet instead of blur and the karne switch confirms first - API 404s show "Kayıt bulunamadı" with a link back to the list instead of a retry; neutral confirm/discard copy; compose asks before discarding a draft; staff on student-only pages get an explanation - homework, calendar, dashboard deadlines and notifications name the class ("Matematik — 10-B") - dashboard charts include graded exams without a start time, ordered by id creation time; class card shows student counts - "Yakında" filler columns and KPI cards removed from management lists; marks split into average, band and exam count; teachers list the courses they teach; class filter on attendance and pomodoro listsBurak Boduroğlu · 37148ac
fix: 🐛 UX pass from desktop and phone QA
- lists: the /exams pager no longer snaps back to page 1 (a fresh rows
  array reset TanStack's page index); DataTable owns paging and resets
  only on sort, search or pageResetKey
- list search, page, sort, filters, detail tabs and calendar view/date
  live in the URL (lib/url-state.ts), so Back and refresh keep them
- DataTable: aria-sort, "no results for X" empty state with a clear
  action, no nested scroller, unboxed column-menu-only toolbar, inline
  status pills on phone cards, column min widths on tablets
- courses filter reads "Şube: Tümü / Şubesi olan / Şubesi olmayan";
  per-tab exam empty states; upcoming events soonest first
- phone shell: content clears the quick-action button, which also hides
  for the /ai/study and message composers; opaque search dialog; the
  shell title is the page h1 when a page has none; skip link lands past
  the header; menu sheet makes the page behind it inert
- touch: variant (coarse pointer or narrow screen) keeps 16px inputs
  and 44px targets on landscape phones and tablets; combobox list and
  /ai/studio producer no longer widen the page; heatmap labels don't
  collide
- notifications: popover focuses itself, not "Tümünü sil", which now
  asks first; labelled theme buttons and dismiss targets
- settings no longer look dirty on load and warn before leaving with
  real changes; exam create preselects the current term; exam kinds and
  meal keys show Turkish labels
- homework grading has no "Tamamlandı" default for non-submitters; class
  edit shows the assigned homeroom teacher; admin demotion warns
- instance "Ders saati" saves on Enter/Kaydet instead of blur and the
  karne switch confirms first
- API 404s show "Kayıt bulunamadı" with a link back to the list instead
  of a retry; neutral confirm/discard copy; compose asks before
  discarding a draft; staff on student-only pages get an explanation
- homework, calendar, dashboard deadlines and notifications name the
  class ("Matematik — 10-B")
- dashboard charts include graded exams without a start time, ordered
  by id creation time; class card shows student counts
- "Yakında" filler columns and KPI cards removed from management lists;
  marks split into average, band and exam count; teachers list the
  courses they teach; class filter on attendance and pomodoro lists

2026-09-18

fix: 🧯 a failing page no longer blanks the whole app - reproduced: a rejected getClasses on /management/classes threw through resource.latest to the app-wide ErrorBoundary, replacing shell and nav with a full-screen 500 - the router gets a defaultErrorComponent, so solid-router wraps each route in a CatchBoundary: the error card renders in the page slot, the shell stays, and Try again remounts the page (its resources refetch) - bilingual without t(), since the root route can also render it - tests: a throwing route keeps the shell and recovers on retry; the app router is wired to the componentBurak Boduroğlu · e0d37b1
fix: 🧯 a failing page no longer blanks the whole app
- reproduced: a rejected getClasses on /management/classes threw through
  resource.latest to the app-wide ErrorBoundary, replacing shell and nav
  with a full-screen 500
- the router gets a defaultErrorComponent, so solid-router wraps each route
  in a CatchBoundary: the error card renders in the page slot, the shell
  stays, and Try again remounts the page (its resources refetch)
- bilingual without t(), since the root route can also render it
- tests: a throwing route keeps the shell and recovers on retry; the app
  router is wired to the component