forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on dcf123a8823bd55f0a656ce94de6b865f41dc08aFiltered to src/components/sessions/session-roll-call.tsxClear filter

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