forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to src/components/users/user-avatar.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-18

style: 🔎 no text below 11px except avatar initials - 75 uses of 8, 9 and 10px text (nav 'soon' chips, calendar month chips, chart ticks, heatmap labels, message badges, kbd hints) move to 11px - the 16px and 24px initial circles keep 10px so two letters still fit - 12px stays the aim; dense chips and calendar cells need a visual pass before going furtherBurak Boduroğlu · 41a3aba
style: 🔎 no text below 11px except avatar initials
- 75 uses of 8, 9 and 10px text (nav 'soon' chips, calendar month chips,
  chart ticks, heatmap labels, message badges, kbd hints) move to 11px
- the 16px and 24px initial circles keep 10px so two letters still fit
- 12px stays the aim; dense chips and calendar cells need a visual pass
  before going further
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-08-04

feat: 🎓 grade blueprints, public profiles, badges, and board group invites - cover the four surfaces the backend opened in b15ef98..6ddc914, one API file per endpoint with the domain's mandatory vitest cases - grade blueprints: a manager-only tab on /management/classes plus an "apply blueprint" action on a class. The grade label is the record key and is free text, so it is percent-encoded everywhere - a blueprint's skipped[] is an outcome report, not an error: the save still toasts and the shortfall opens a separate table. Backend English reasons are normalized and localized in lib/blueprint-skip, never rendered raw, and a 409 re-reads the blueprint and reseeds the form since there is no version token to retry with - public profiles at /profile/me and /profile/$userId, with bio and display name on the existing PATCH /users/me. The parent restriction is left to the backend's 403 — a parent may read their linked students, so a client role gate would wrongly close that - avatars ride a plain <img> against the same-origin /api path rather than fetch+objectURL; a shared revision counter busts the browser's image cache after an upload or delete and refreshes the sidebar chip - badges render from the /limits catalogue: unearned tiles carry a padlock and a progress bar, and a tooltip repeats what the tile already shows, since a tooltip can never be opened by touch - boards gain POST /boards/{id}/invite behind a source picker in the settings panel, creator-only, keyed per source kind so a non-creator never fires the list requests - profile links added where people are listed: the user table and detail, class members, linked students, and a parent's own children. A router <Link> inside a modal panel never navigates, so those close the panel first and then navigateBurak Boduroğlu · faaf9bc
feat: 🎓 grade blueprints, public profiles, badges, and board group invites
- cover the four surfaces the backend opened in b15ef98..6ddc914, one API
  file per endpoint with the domain's mandatory vitest cases
- grade blueprints: a manager-only tab on /management/classes plus an
  "apply blueprint" action on a class. The grade label is the record key
  and is free text, so it is percent-encoded everywhere
- a blueprint's skipped[] is an outcome report, not an error: the save
  still toasts and the shortfall opens a separate table. Backend English
  reasons are normalized and localized in lib/blueprint-skip, never
  rendered raw, and a 409 re-reads the blueprint and reseeds the form
  since there is no version token to retry with
- public profiles at /profile/me and /profile/$userId, with bio and
  display name on the existing PATCH /users/me. The parent restriction is
  left to the backend's 403 — a parent may read their linked students, so
  a client role gate would wrongly close that
- avatars ride a plain <img> against the same-origin /api path rather than
  fetch+objectURL; a shared revision counter busts the browser's image
  cache after an upload or delete and refreshes the sidebar chip
- badges render from the /limits catalogue: unearned tiles carry a padlock
  and a progress bar, and a tooltip repeats what the tile already shows,
  since a tooltip can never be opened by touch
- boards gain POST /boards/{id}/invite behind a source picker in the
  settings panel, creator-only, keyed per source kind so a non-creator
  never fires the list requests
- profile links added where people are listed: the user table and detail,
  class members, linked students, and a parent's own children. A router
  <Link> inside a modal panel never navigates, so those close the panel
  first and then navigate