Commits
Commits on
dcf123a8823bd55f0a656ce94de6b865f41dc08aFiltered to src/components/messages/gmail-mail-row.tsxClear filter2026-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 rule2026-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-07-23
fix: 🐛 row-level archive and permanent delete actions for messagesBurak Boduroğlu · 68d09e3
fix: 🐛 row-level archive and permanent delete actions for messages - add onDeleteForever prop and permanent delete button to GmailMailRow - update row quick action container to maintain action visibility on touch devices and fade-in on hover - pass onDeleteForever handler from MessagesPage to GmailMailRow when viewing trash items
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