forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to src/components/layout/shell-unread-badge.test.tsxClear filter

2026-09-22

feat: ✨ event roster roll call, record search, draft-first exams - event roll call lists the whole audience from /events/{id}/roster with per-row status and one save that sends changed rows in turn; event labels (Katıldı/Katılmadı/Geç geldi/Mazeretli); locked until start - new exams start as drafts; publishing one with no questions asks first - whiteboards open on the pan tool; colour and size buttons are named - command palette searches courses, exams, homework and events, loaded once per open and scoped to the user's nav; students open their profile; distinct clear and close controls - notifications go straight to their page; badge and header share one unread format - compose keeps Gönder disabled until recipient and subject are set; folder tabs fit on phones; compose labels come from i18n - every non-nav "Yakında" tab, button, panel and field is removed - table headers stay centred while cells read from the left; frozen column seams only show when the table actually scrolls sideways - student lists order class by class (9-A, 9-B, 10-A…), then by name - success trend axis shows dates or exam positions instead of overlapping titles; chart numbers use the locale's decimal - insights grid columns fit their headers and the date without clipping - register shows password, confirmation and school-code hints inline; combobox screen-reader text is translated - docs: sitemap rebuilt from the router; backend request for attendance and pomodoro summary endpointsBurak Boduroğlu · 691fcf8
feat: ✨ event roster roll call, record search, draft-first exams
- event roll call lists the whole audience from /events/{id}/roster with
  per-row status and one save that sends changed rows in turn; event
  labels (Katıldı/Katılmadı/Geç geldi/Mazeretli); locked until start
- new exams start as drafts; publishing one with no questions asks first
- whiteboards open on the pan tool; colour and size buttons are named
- command palette searches courses, exams, homework and events, loaded
  once per open and scoped to the user's nav; students open their
  profile; distinct clear and close controls
- notifications go straight to their page; badge and header share one
  unread format
- compose keeps Gönder disabled until recipient and subject are set;
  folder tabs fit on phones; compose labels come from i18n
- every non-nav "Yakında" tab, button, panel and field is removed
- table headers stay centred while cells read from the left; frozen
  column seams only show when the table actually scrolls sideways
- student lists order class by class (9-A, 9-B, 10-A…), then by name
- success trend axis shows dates or exam positions instead of
  overlapping titles; chart numbers use the locale's decimal
- insights grid columns fit their headers and the date without clipping
- register shows password, confirmation and school-code hints inline;
  combobox screen-reader text is translated
- docs: sitemap rebuilt from the router; backend request for attendance
  and pomodoro summary endpoints
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-12

feat: 🎨 recompose the screens onto the Figma design, and name what is missingBurak Boduroğlu · 777e8b5
feat: 🎨 recompose the screens onto the Figma design, and name what is missing

- the earlier migration recolored the app but left every layout alone, so
  the pages still read as the old product wearing new tokens; the screens
  are now built to the shape their Figma frame actually shows
- classes, courses and staff work move from tables and link lists to the
  designed card grids; exams, homework, the question bank and the user
  roster gain the tab rows the design puts above them, every one computed
  from data already fetched rather than a new round trip
- the admin home becomes the designed hero: a centered heading, a live
  student search and quick-link columns over an Analitik section
- teacher, student and parent homes gain what real data supports — a
  deduped student count and the pending appointment requests addressed to
  a teacher, a week of focus minutes for a student, and for a parent a
  child selector, an attendance card and a fee-plan card
- the marks report splits into Genel and Derslere göre, attendance leads
  with the four rates the design names, and the calendar's week view is a
  real timetable instead of a strip of coloured dots
- notification panel, a branded 404, a 403 and a 500 card, and a banner
  driven by the browser's own online/offline events
- where no endpoint can fill a value, the element is drawn and marked
  "yakında" rather than dropped, so a reader can tell a missing number
  from an unbuilt feature; controls that would do nothing are disabled
  beside the badge instead of sitting there inert
- a delta arrow with no baseline and a progress bar with no ratio carry
  no information, so they are left out rather than badged; settings keeps
  its three working tabs instead of growing four empty ones
- two recurring bugs fixed again where the new layouts met them: name
  cells with no truncate overlapping the column beside them, and two raw
  rose badges that had escaped the token sweep

Every screen was walked in a browser at 1440px and 393px against its
Figma frame, as each role it belongs to. Nothing here invents a value the
API cannot serve.

2026-08-02

fix: 🌍 locale-aware notification dates and a real pomodoro countdown - notification-center: date/time formatting used toLocaleString([], …), which ignores the app's language toggle and follows the browser's own locale instead — now threaded through the user's actual preference - notification-center: hardcoded Turkish strings (title, empty state, clear-all, dismiss) moved to i18n so English mode renders correctly too - exam-detail-page: results tab's DataTable used PageSpinner as its Suspense fallback instead of DataTableSkeleton, same size-mismatch jump as the earlier course-detail panels - pomodoro-page: the clock now counts down from a configurable target (15/25/45/60 min presets or a custom value, persisted locally) instead of counting up forever; flips to a highlighted "+overtime" readout and fires one flash once the target is crossed, matching the technique's fixed work interval — the backend session itself is still an open-ended start/finish stopwatch, this only changes the displayBurak Boduroğlu · 6cb863c
fix: 🌍 locale-aware notification dates and a real pomodoro countdown
- notification-center: date/time formatting used toLocaleString([], …),
  which ignores the app's language toggle and follows the browser's own
  locale instead — now threaded through the user's actual preference
- notification-center: hardcoded Turkish strings (title, empty state,
  clear-all, dismiss) moved to i18n so English mode renders correctly too
- exam-detail-page: results tab's DataTable used PageSpinner as its
  Suspense fallback instead of DataTableSkeleton, same size-mismatch
  jump as the earlier course-detail panels
- pomodoro-page: the clock now counts down from a configurable target
  (15/25/45/60 min presets or a custom value, persisted locally) instead
  of counting up forever; flips to a highlighted "+overtime" readout and
  fires one flash once the target is crossed, matching the technique's
  fixed work interval — the backend session itself is still an
  open-ended start/finish stopwatch, this only changes the display

2026-07-28

feat(nav): 🧭 rebuild role navigationBurak Boduroğlu · 53173ce
feat(nav): 🧭 rebuild role navigation

- add role-specific primary links and grouped sidebar sections

- expose student, school, meal, appointment, and legacy redirects

- move message and notification controls into the header

2026-07-25

fix: 🔍 correct 21 defects the last 24h of commits shipped greenAhmet Kaan Gümüş · f9efbbc
fix: 🔍 correct 21 defects the last 24h of commits shipped green

Adversarial audit of 49f9928..ffb1d47: four verifiers found 15 defects the
317-test suite passed over, and a two-lens panel found 6 more in the fixes
themselves. Three of those commits claimed fixes they did not deliver.

- exam room: "saved" was still a lie. Acks were keyed on question_id alone,
  so a timed-out send's late frame settled the retry and the badge claimed
  Saved for a payload the server never took. Replaced with per-send FIFO
  plus an integer debt count per question: superseded/timed-out sends are
  disowned and their frames paid off before any live send settles. failAll
  now takes a required cause — an unattributed error frame keeps the debt
  (the socket stays open), only a real close clears it
- shell feed leaked across accounts: the provider outlived logout, so user B
  saw user A's inbox, badge and appointments until the refetch landed. The
  feed is now built inside a memo keyed on the user id, so a switch disposes
  it rather than relying on a mutate call
- appointments offered actions the backend rejects: book on in-progress
  slots (list filter used where the book guard applies), and a teacher lost
  reschedule permanently because the backend never clears proposed_* — action
  availability now derives from a standing proposal, in a tested pure gate
- every 403 and 404 message was dead: formatApiError returned the per-status
  generic before consulting the table, so entries added for the question bank
  never rendered. Table now wins; 8 appointment 409s and the refresh-from-bank
  400 localized against the backend's exact strings
- request deadline escaped as a raw DOMException because the body read sat
  outside its try, showing Turkish users an English abort message
- unread badge under-counted from a capped inbox page, the two shell badges
  disagreed, and dismiss-all could not clear a count above ten
- students and parents saw their own name on every calendar appointment
- question bank stranded the user on an empty page after deleting the last row
- tests: 317 -> 336, all new ones watched failing before they passed. One
  existing test asserted the ack bug as intended behaviour and was rewritten
- comments in create-ack-waiter claimed safety properties the code lacked;
  rewritten to describe actual behaviour

Known and accepted: shell events/exams fetch unpaged (~3.37MB/poll at 5000
rows) because the backend cannot express a schedule window. Follow-ups for
the backend: starts_after on /events and /exams, and a client seq echoed in
the exam ws saved/error frames to replace the debt heuristic with exact
identity.