forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to src/components/messages/gmail-compose-box.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-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-19

chore: 🧹 remove dead code and table primitive use - delete unused InsightDataList - insight course table uses DataTable instead of raw Table primitives - drop the never-set reply prefill state from messages and compose box - contract config no longer points at a fixed backend pathBurak Boduroğlu · 1b777d3
chore: 🧹 remove dead code and table primitive use
- delete unused InsightDataList
- insight course table uses DataTable instead of raw Table primitives
- drop the never-set reply prefill state from messages and compose box
- contract config no longer points at a fixed backend path

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

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-08-23

feat: 📱 swipe the menu sheet away, and fit messages on a phone - the sheet now closes by dragging it down past 96px, not only by the X: the grab area drives it, so a flick inside the list still scrolls - message rows stack on phones — sender and time, subject, snippet — since a 40px line cannot hold five columns at 412px wide; the dense single-line row is unchanged from sm: up, and the row's hover actions give way to the ones in the opened message - the messages toolbar stacks, the detail action bar scrolls sideways, and the compose box becomes a full-width bottom sheet with the gesture-bar inset instead of a docked window - the list card no longer forces calc(100vh-7rem) on phones, where the tab bar makes that taller than the screen - the command palette's keyboard legend (arrows, enter, escape) is hidden on phones, which have none of those keysBurak Boduroğlu · 76992e4
feat: 📱 swipe the menu sheet away, and fit messages on a phone
- the sheet now closes by dragging it down past 96px, not only by the X:
  the grab area drives it, so a flick inside the list still scrolls
- message rows stack on phones — sender and time, subject, snippet — since
  a 40px line cannot hold five columns at 412px wide; the dense single-line
  row is unchanged from sm: up, and the row's hover actions give way to the
  ones in the opened message
- the messages toolbar stacks, the detail action bar scrolls sideways, and
  the compose box becomes a full-width bottom sheet with the gesture-bar
  inset instead of a docked window
- the list card no longer forces calc(100vh-7rem) on phones, where the tab
  bar makes that taller than the screen
- the command palette's keyboard legend (arrows, enter, escape) is hidden on
  phones, which have none of those keys

2026-08-19

fix: 🌍 route 19 hardcoded Turkish strings through the dictionary - the en dictionary itself was clean; these strings never called t() at all, so they stayed Turkish whatever the locale said - command palette: the theme action described itself in Turkish in both locales, and the language action had its two branches swapped — a Turkish user read "Switch to English", an English user read "Türkçe diline geç". Its footer key hints were Turkish too - messages: "Yanıtla" x3, "Yanıtla:", "Çöp Kutusundan Çıkar" x2, the read/unread and expand/minimise titles, and four toasts — refresh, the permanent-delete guard, the read-state guard, and empty-trash - rich-text-editor's toolbar labels and body placeholder, plus data-table-search's default "Ara" — both shared, so every table and every note/message editor picked the fix up at once - 18 new keys in both locales; reuse messages.reply, messages.restoreFromTrash, messages.markAsRead/Unread, common.search where a key already said the same thing - left alone: celebi-panel, date-picker, calendar-page and the app.tsx error screen already branch on locale(), and the palette's Turkish keywords are search aids that never renderBurak Boduroğlu · 23ef9a8
fix: 🌍 route 19 hardcoded Turkish strings through the dictionary
- the en dictionary itself was clean; these strings never called t() at
  all, so they stayed Turkish whatever the locale said
- command palette: the theme action described itself in Turkish in both
  locales, and the language action had its two branches swapped — a
  Turkish user read "Switch to English", an English user read "Türkçe
  diline geç". Its footer key hints were Turkish too
- messages: "Yanıtla" x3, "Yanıtla:", "Çöp Kutusundan Çıkar" x2, the
  read/unread and expand/minimise titles, and four toasts — refresh,
  the permanent-delete guard, the read-state guard, and empty-trash
- rich-text-editor's toolbar labels and body placeholder, plus
  data-table-search's default "Ara" — both shared, so every table and
  every note/message editor picked the fix up at once
- 18 new keys in both locales; reuse messages.reply,
  messages.restoreFromTrash, messages.markAsRead/Unread, common.search
  where a key already said the same thing
- left alone: celebi-panel, date-picker, calendar-page and the app.tsx
  error screen already branch on locale(), and the palette's Turkish
  keywords are search aids that never render

2026-08-04

fix: 🌍 close the i18n gaps a locale switch exposed - switching the app to English surfaced 21 strings that never went through the dictionary and stayed Turkish: the rich-text toolbar's seven tips, six message controls and three placeholders, the notebook import button and panel, the command palette and table search clear buttons, and the question pool's delete confirmation - /guide was Turkish end to end apart from its heading. Its 77 strings now live in the dictionary, and the page keeps only presentation in its arrays — the six module cards and the four role tabs render from <For> instead of 220 lines of copy-paste - the language tip claimed the switcher sits under the avatar at the top right; it is the account menu at the bottom of the sidebar - a page without a sidebar entry printed its raw pathname as the shell title, so /profile/me read as "/profile/me". Routes now fall back to an explicit label, and to the nav entry for any role — a page keeps its name on the no-access screen - one sidebar entry and its page disagreed: "Çocuklar" against "Öğrencilerim" for /students. Both read "Çocuklarım" now - 33 labels mixed Title Case into a system that is otherwise sentence case, in both locales — messages, the question pool, the exam forms, payments, and the shell's right panel - role.admin was the only role shouted in caps; a role is an identity, not a status, so RoleBadge drops the semantic destructive variant for a tinted pill with a leading dot - a course card's kind badge was plural ("Dersler") on a single record, and "Yeni {item} oluştur" capitalised the kind mid-sentence - drop 36 guide.stepN.* keys and nav.myStudents, defined in both locales and referenced nowhereBurak Boduroğlu · b9bf08b
fix: 🌍 close the i18n gaps a locale switch exposed
- switching the app to English surfaced 21 strings that never went through
  the dictionary and stayed Turkish: the rich-text toolbar's seven tips,
  six message controls and three placeholders, the notebook import button
  and panel, the command palette and table search clear buttons, and the
  question pool's delete confirmation
- /guide was Turkish end to end apart from its heading. Its 77 strings now
  live in the dictionary, and the page keeps only presentation in its
  arrays — the six module cards and the four role tabs render from <For>
  instead of 220 lines of copy-paste
- the language tip claimed the switcher sits under the avatar at the top
  right; it is the account menu at the bottom of the sidebar
- a page without a sidebar entry printed its raw pathname as the shell
  title, so /profile/me read as "/profile/me". Routes now fall back to an
  explicit label, and to the nav entry for any role — a page keeps its
  name on the no-access screen
- one sidebar entry and its page disagreed: "Çocuklar" against
  "Öğrencilerim" for /students. Both read "Çocuklarım" now
- 33 labels mixed Title Case into a system that is otherwise sentence
  case, in both locales — messages, the question pool, the exam forms,
  payments, and the shell's right panel
- role.admin was the only role shouted in caps; a role is an identity, not
  a status, so RoleBadge drops the semantic destructive variant for a
  tinted pill with a leading dot
- a course card's kind badge was plural ("Dersler") on a single record,
  and "Yeni {item} oluştur" capitalised the kind mid-sentence
- drop 36 guide.stepN.* keys and nav.myStudents, defined in both locales
  and referenced nowhere

2026-07-30

feat: ✨ align UI and table workflowsBurak Boduroğlu · 23adf31
feat: ✨ align UI and table workflows

- apply bDash tokens across shared controls and application shell
- add compact persistent tables, pagination, and sticky actions
- add durable detail routes and operational side panels

2026-07-24

chore: ⬆️ update all dependencies; migrate Tailwind v3 → v4 - bump within-range: @tanstack/solid-router 1.170.18, @kobalte/core 0.13.12, solid-js 1.9.14, tailwind-merge 3.6.0, autoprefixer/postcss/ vite-plugin-solid patches - @types/node 24 → 26 (types only) - vite 6 → 8: no config change needed; build/proxy/alias intact, vitest 4 stays compatible (246 tests green) - tailwindcss 3 → 4 via official @tailwindcss/upgrade codemod: - CSS-first config: theme moved into @theme in src/index.css, tailwind.config.js deleted, dark selector kept via @custom-variant - postcss plugin tailwindcss → @tailwindcss/postcss; autoprefixer removed (v4 built-in) - 81 files auto-migrated: shadow-sm→shadow-xs, min-w-[7.5rem]→min-w-30, /[0.08]→/8 opacity shorthand, data-[expanded]:→data-expanded: - fix codemod false-positive: it rewrote the cva variant="outline" prop string to "outline-solid" in role-badge, course-sessions-panel, my-students-page — reverted to "outline" - verified emitted CSS carries the renamed utilities (data-expanded, color-mix opacity, var(--color-*), shadow-xs)Ahmet Kaan Gümüş · b085a74
chore: ⬆️ update all dependencies; migrate Tailwind v3 → v4
- bump within-range: @tanstack/solid-router 1.170.18, @kobalte/core
  0.13.12, solid-js 1.9.14, tailwind-merge 3.6.0, autoprefixer/postcss/
  vite-plugin-solid patches
- @types/node 24 → 26 (types only)
- vite 6 → 8: no config change needed; build/proxy/alias intact,
  vitest 4 stays compatible (246 tests green)
- tailwindcss 3 → 4 via official @tailwindcss/upgrade codemod:
  - CSS-first config: theme moved into @theme in src/index.css,
    tailwind.config.js deleted, dark selector kept via @custom-variant
  - postcss plugin tailwindcss → @tailwindcss/postcss; autoprefixer
    removed (v4 built-in)
  - 81 files auto-migrated: shadow-sm→shadow-xs, min-w-[7.5rem]→min-w-30,
    /[0.08]→/8 opacity shorthand, data-[expanded]:→data-expanded:
  - fix codemod false-positive: it rewrote the cva variant="outline"
    prop string to "outline-solid" in role-badge, course-sessions-panel,
    my-students-page — reverted to "outline"
- verified emitted CSS carries the renamed utilities (data-expanded,
  color-mix opacity, var(--color-*), shadow-xs)

2026-07-23

feat: ✨ Gmail-style messages page, rich text editor, and fixed backend folder gatesBurak Boduroğlu · f4c69ef
feat: ✨ Gmail-style messages page, rich text editor, and fixed backend folder gates

- redesign messages page into a 1-to-1 Gmail clone layout with left sidebar, dense rows, detail view, and floating compose box
- add lightweight HTML RichTextEditor component with formatting toolbar (bold, italic, underline, strike, bullet/number lists)
- render rich HTML mail body in detail view and strip HTML tags for row preview snippets
- add Gmail inline reply box directly beneath the email detail content
- add restore from archive/trash buttons and empty trash functionality
- fix backend permission constraints (restrict archive to recipients, permanent delete to trash folder)
- fix layout shift on row hover by fixing action container width and row height
- fix toast notification container padding and vertical alignment