forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to src/components/sessions/session-roll-call.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-19

style: ✅ roll call leads with Present and says when students are done - checked on real data (10-B, 9 rows): the school's status order put "Var" last, the one a teacher taps most; it now leads every row, the rest keep the school's order - with no student left unmarked the bulk button read as live in the dark theme even at half opacity; it turns outline and reads "Tüm öğrenciler işaretli"Burak Boduroğlu · 6e42004
style: ✅ roll call leads with Present and says when students are done
- checked on real data (10-B, 9 rows): the school's status order put
  "Var" last, the one a teacher taps most; it now leads every row, the
  rest keep the school's order
- with no student left unmarked the bulk button read as live in the dark
  theme even at half opacity; it turns outline and reads "Tüm öğrenciler
  işaretli"

2026-09-18

feat: ✅ roll call in a few taps - one list instead of 8-row pages with a picker and a Save button per student: each row has status buttons (the school's statuses from /settings) and a tap saves that row at once, optimistically, reverting with an error if the save fails - "mark the rest present" fills every unmarked student (the teacher row stays a deliberate call), four requests at a time since the API takes one row per call; the button shows its progress - a sticky header shows marked/total, a progress bar and per-status counts; "only unmarked" filters the list - an unmarked row stays visibly unmarked; nothing reads as present until it is saved - fix: the roster renders before the saved marks load, and a tap in that gap was overwritten by them; the buttons now wait for the marks - the roll call panel opens wide so the status buttons sit on one line - tests: teacher row rights, one-tap save without refetch, mark the rest present skips marked rows, a failed save revertsBurak Boduroğlu · 9bea6a1
feat: ✅ roll call in a few taps
- one list instead of 8-row pages with a picker and a Save button per
  student: each row has status buttons (the school's statuses from
  /settings) and a tap saves that row at once, optimistically, reverting
  with an error if the save fails
- "mark the rest present" fills every unmarked student (the teacher row
  stays a deliberate call), four requests at a time since the API takes
  one row per call; the button shows its progress
- a sticky header shows marked/total, a progress bar and per-status
  counts; "only unmarked" filters the list
- an unmarked row stays visibly unmarked; nothing reads as present until
  it is saved
- fix: the roster renders before the saved marks load, and a tap in that
  gap was overwritten by them; the buttons now wait for the marks
- the roll call panel opens wide so the status buttons sit on one line
- tests: teacher row rights, one-tap save without refetch, mark the rest
  present skips marked rows, a failed save reverts
fix: 🎨 colored text reaches WCAG AA contrast - measured in light mode on the #F7F7F7 page: brand as text 2.5:1, warning 2.0:1, success 3.1:1, destructive 4.2:1 (AA needs 4.5:1) - new text tokens primary/success/warning/info/destructive-text: darker in light mode, equal to the fills in dark mode; fills stay as they are - light primary text is --brand-ink, or for a custom palette color the darkest-needed step of its hue (accentTextLightness, tested across hues) - every text-{primary,success,warning,info,destructive} utility moves to its -text token (253 uses); opacity variants stay decorative - token doc records the ruleBurak Boduroğlu · 9f9eebf
fix: 🎨 colored text reaches WCAG AA contrast
- measured in light mode on the #F7F7F7 page: brand as text 2.5:1,
  warning 2.0:1, success 3.1:1, destructive 4.2:1 (AA needs 4.5:1)
- new text tokens primary/success/warning/info/destructive-text: darker in
  light mode, equal to the fills in dark mode; fills stay as they are
- light primary text is --brand-ink, or for a custom palette color the
  darkest-needed step of its hue (accentTextLightness, tested across hues)
- every text-{primary,success,warning,info,destructive} utility moves to
  its -text token (253 uses); opacity variants stay decorative
- token doc records the rule

2026-09-17

refactor: 🧑‍🏫 lift lesson roll call into its own component - move the roll-call list out of CourseSessionsPanel into components/sessions/session-roll-call.tsx, with its own test - the session's teacher gets a presence row of their own, offered only to a viewer who may manage staff, per the backend's ruleBurak Boduroğlu · 0a51c44
refactor: 🧑‍🏫 lift lesson roll call into its own component
- move the roll-call list out of CourseSessionsPanel into
  components/sessions/session-roll-call.tsx, with its own test
- the session's teacher gets a presence row of their own, offered only to a
  viewer who may manage staff, per the backend's rule