forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on dcf123a8823bd55f0a656ce94de6b865f41dc08aFiltered to src/lib/payments.tsClear filter

2026-09-18

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-12

feat: 🎨 migrate the app onto the Figma design systemBurak Boduroğlu · b2d57d2
feat: 🎨 migrate the app onto the Figma design system

- semantic light/dark aliases with the landing page's #00ADD8 brand
  override and the pixel-wing logo mark; user-selected accents stay
  authoritative over the default brand
- desktop shell geometry at the 1440px reference: 260px sidebar, 45px top
  bar, 34px nav rows, 30px sub-nav rows, 1100px content area
- controls settle on 36px base button/input, 26px small button, 20px
  badge pill, 32px tab, so per-call-site h-10/rounded-* overrides go away
- 39 shared glyphs compiled from the pinned @phosphor-icons/core Regular
  sources; app-specific Lucide-style icons stay
- /login matches the SYS-01 480px standalone panel, keeping the current
  username/password contract
- desktop composition across courses, homework, exams, question bank,
  classes, admin users, payments, settings, staff work, work log, meals,
  messages, whiteboards and the teacher report screens: raw palette
  colors give way to success/warning/destructive and the surface/border
  aliases, tables pin their actions column to 110px at a 45px row, and
  ad-hoc tinted section shells defer to data-shell
- student mobile: the 7-tab course detail scrolls horizontally below sm
  instead of wrapping to four cramped rows, nested report tables drop
  their min-width, and the whiteboard's three floating toolbar islands
  reflow into one wrapping bar under 640px where they used to overlap
- docs/ui/figma-migration-coverage.md records route-level coverage and
  the features held back for want of a backend contract

Figma screens that show mastery scores, AI risk tags, streaks, occupancy
bars and work-quality ratings are deliberately not built: the API exposes
none of it, and the alternative is a page of invented numbers. Export and
discard buttons with nothing behind them are left out for the same reason.

2026-07-29

feat: 💳 school fees / payments module — collection UI, plans, ledger - add src/api/payments/ client: 15 endpoints (fee plans, assignments, credits/refunds/reversals, ledger, statement, balance) + DTO types + domain vitest tests - Limits.payment sub-struct from the backend's published caps - manager page: collection-first tabs — pick a student, see the per-charge debt statement, collect against a charge (amount/method/note), plus fee-plan CRUD and per-plan student assignment - student/parent read-only statement: balance + billed/collected summary - receivables-aging status badges (paid/partial/overdue/pending/cancelled), overdue-first sort, overdue due-date emphasis, guided empty states - shared lib/payments.ts (status colors + sort), nav entries (fees→manager, statement→student/parent), routes, English/Turkish i18nBurak Boduroğlu · f30ea30
feat: 💳 school fees / payments module — collection UI, plans, ledger
- add src/api/payments/ client: 15 endpoints (fee plans, assignments,
  credits/refunds/reversals, ledger, statement, balance) + DTO types +
  domain vitest tests
- Limits.payment sub-struct from the backend's published caps
- manager page: collection-first tabs — pick a student, see the per-charge
  debt statement, collect against a charge (amount/method/note), plus
  fee-plan CRUD and per-plan student assignment
- student/parent read-only statement: balance + billed/collected summary
- receivables-aging status badges (paid/partial/overdue/pending/cancelled),
  overdue-first sort, overdue due-date emphasis, guided empty states
- shared lib/payments.ts (status colors + sort), nav entries (fees→manager,
  statement→student/parent), routes, English/Turkish i18n