Commits
Commits on
dcf123a8823bd55f0a656ce94de6b865f41dc08aFiltered to src/components/ui/rich-text-editor.tsxClear filter2026-09-19
fix: 🔒 security headers and sanitized editor input - server.ts sends CSP frame-ancestors/object-src/base-uri, X-Frame-Options, nosniff, Referrer-Policy and HSTS on every file it serves - RichTextEditor sanitizes HTML it loads from props (saved answers)Burak Boduroğlu · a3ac38f
fix: 🔒 security headers and sanitized editor input - server.ts sends CSP frame-ancestors/object-src/base-uri, X-Frame-Options, nosniff, Referrer-Policy and HSTS on every file it serves - RichTextEditor sanitizes HTML it loads from props (saved answers)
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 nowhere2026-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