Commits
Commits on
dcf123a8823bd55f0a656ce94de6b865f41dc08aFiltered to src/components/notes/note-card.tsxClear filter2026-09-18
feat: 🛟 the unsaved-input guard covers every form panel - guardUnsaved on 37 create/edit side panels: users, schools, blueprints, subjects, notes, homework and grading, sessions, academic years, terms, appointments, bank questions, classes, courses, events, exam edit and grading, meals, payments, profiles, staff work, whiteboards - left off: single-person pickers (little to lose), the multi-step exam create panels past their first step, and read-only panelsBurak Boduroğlu · b507ba2
feat: 🛟 the unsaved-input guard covers every form panel - guardUnsaved on 37 create/edit side panels: users, schools, blueprints, subjects, notes, homework and grading, sessions, academic years, terms, appointments, bank questions, classes, courses, events, exam edit and grading, meals, payments, profiles, staff work, whiteboards - left off: single-person pickers (little to lose), the multi-step exam create panels past their first step, and read-only panels
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-15
feat: ✨ full-page rich text notes editor - personal notes open at /notes/new and /notes/$id as a document: large title, sticky formatting bar (headings, marks, link, lists, quote, code), Cmd+S save, Cmd+K link, and an unsaved-changes guard on leave - attachments sit beside the editor on wide screens - note cards show a clean plain-text excerpt; the reader panel and course note form use the same editor and prose styles - ui-conventions documents the editor and the sanitize ruleBurak Boduroğlu · 6223952
feat: ✨ full-page rich text notes editor - personal notes open at /notes/new and /notes/$id as a document: large title, sticky formatting bar (headings, marks, link, lists, quote, code), Cmd+S save, Cmd+K link, and an unsaved-changes guard on leave - attachments sit beside the editor on wide screens - note cards show a clean plain-text excerpt; the reader panel and course note form use the same editor and prose styles - ui-conventions documents the editor and the sanitize rule
2026-08-19
feat: 📓 course notes with file attachments under each course - mirror the personal-note stack against the backend's /course-notes routes (eb247a2): one verb-first file per endpoint under src/api/course-notes/, plus the domain's vitest cases - list is course-scoped, so getCourseNotes keeps ?course= alongside the page params instead of going through pageQuery - the note components no longer import a single domain's file API: they take a NoteFileSource (list/upload/delete/url/blob + the 10-file cap), so notes and course notes share one card, reader, files panel, and preview instead of a second copy - a course note is written by whoever can manage the course and read by anyone enrolled, so the components gained canManage: read-only hides the card menu, the upload/draw buttons, and per-file delete, while view and download stay - new "Ders notları" tab on the course detail page, next to homework and sessions, with a count badge and the header's add button - dictionary entries for both localesBurak Boduroğlu · 49f3d3c
feat: 📓 course notes with file attachments under each course - mirror the personal-note stack against the backend's /course-notes routes (eb247a2): one verb-first file per endpoint under src/api/course-notes/, plus the domain's vitest cases - list is course-scoped, so getCourseNotes keeps ?course= alongside the page params instead of going through pageQuery - the note components no longer import a single domain's file API: they take a NoteFileSource (list/upload/delete/url/blob + the 10-file cap), so notes and course notes share one card, reader, files panel, and preview instead of a second copy - a course note is written by whoever can manage the course and read by anyone enrolled, so the components gained canManage: read-only hides the card menu, the upload/draw buttons, and per-file delete, while view and download stay - new "Ders notları" tab on the course detail page, next to homework and sessions, with a count badge and the header's add button - dictionary entries for both locales
2026-08-02
feat: 📝 rich-text notes with write/preview tabs and compact row actions - note-form swaps the plain textarea for RichTextEditor with a write/preview toggle; note-card and note-reader render content as HTML with list styling instead of paragraph splitting - TableRowActions gains a compact icon-only variant; payments page uses it with a centered actions column - combobox always mounts the listbox so child content composes with the default scrollable listBurak Boduroğlu · f8b967c
feat: 📝 rich-text notes with write/preview tabs and compact row actions - note-form swaps the plain textarea for RichTextEditor with a write/preview toggle; note-card and note-reader render content as HTML with list styling instead of paragraph splitting - TableRowActions gains a compact icon-only variant; payments page uses it with a centered actions column - combobox always mounts the listbox so child content composes with the default scrollable list
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-22
feat: ✨ shared domain color tokens & neutral dark messaging sidebar - add src/lib/domain-colors.ts as central single source of truth for domain accents and border styling - remove blue background tint from messages page sidebar in favor of neutral dark surface - update notes cards and import/file panels to use neutral dark backgrounds with amber borders - update messages folder buttons and selected message cards to use neutral dark backgrounds with violet borders - fix missing Show and cn imports in src/components/ui/empty-state.tsx and bind to DOMAIN_COLORS - add unit tests for domain-colors moduleBurak Boduroğlu · e9b7072
feat: ✨ shared domain color tokens & neutral dark messaging sidebar - add src/lib/domain-colors.ts as central single source of truth for domain accents and border styling - remove blue background tint from messages page sidebar in favor of neutral dark surface - update notes cards and import/file panels to use neutral dark backgrounds with amber borders - update messages folder buttons and selected message cards to use neutral dark backgrounds with violet borders - fix missing Show and cn imports in src/components/ui/empty-state.tsx and bind to DOMAIN_COLORS - add unit tests for domain-colors module
feat: ✨ redesign exam page filter toolbar & add Option B visual animationsBurak Boduroğlu · 0ba7cdb
feat: ✨ redesign exam page filter toolbar & add Option B visual animations - redesign exam list filter toolbar with clean inline badges (DURUM: / DERS:) and clear filters button in src/pages/exams-page.tsx - add common.resetFilters i18n dictionary entries in English and Turkish - add zero-dependency confetti particle burst utility in src/lib/confetti.ts (<1.5KB) with node safety test - enhance EmptyState with animated SVG vector illustrations (animate-float) for notes, exams, events, and courses - add tactile micro-interaction utilities (.card-lift, .tactile-press, .animate-pulse-glow) in src/index.css - render smooth circular SVG timer progress ring with breathing pulse glow in PomodoroPage - trigger celebratory confetti bursts on exam submission, note import, and pomodoro completion - apply 3D card-lift hover motion to NoteCard, EventCard, and Dashboard portal cards - verify production build passes and 208/208 vitest unit tests pass
2026-07-21
refactor: 🗃️ restructure API layer into domain folders and add vitest coverage - move 110+ flat API endpoints into domain-specific subdirectories (e.g., auth, courses, exams, notes, etc.) - add index.ts exports to each domain folder for clean namespace imports - update 70+ components and pages to use the new domain-based API import paths - add comprehensive vitest unit tests (~150 tests) for all API endpoints using fetch mocking - update AGENTS.md rulebook to mandate domain-based folder structure for future API additions - migrate existing bun:test test files in src/lib/ to vitest for consistencyBurak Boduroğlu · 6452b17
refactor: 🗃️ restructure API layer into domain folders and add vitest coverage - move 110+ flat API endpoints into domain-specific subdirectories (e.g., auth, courses, exams, notes, etc.) - add index.ts exports to each domain folder for clean namespace imports - update 70+ components and pages to use the new domain-based API import paths - add comprehensive vitest unit tests (~150 tests) for all API endpoints using fetch mocking - update AGENTS.md rulebook to mandate domain-based folder structure for future API additions - migrate existing bun:test test files in src/lib/ to vitest for consistency
2026-07-16
feat: ✨ note attachments and side-panel notebook flow - add note file upload/download API wiring and settings limits - show note file controls in create and read flows - move notebook create, edit, and read views from dialog to side panel - fix dialog close button through the Kobalte close primitive - update docs and copy for note attachment behaviorBurak Boduroğlu · 7992c8f
feat: ✨ note attachments and side-panel notebook flow - add note file upload/download API wiring and settings limits - show note file controls in create and read flows - move notebook create, edit, and read views from dialog to side panel - fix dialog close button through the Kobalte close primitive - update docs and copy for note attachment behavior
2026-07-15
feat: ✨ server-time validation, notes notebook redesign, course/event filters - event-form + exam-form + course-sessions-panel: use GET /time for past-schedule warnings - note-card: notebook-style card with amber accents, ruled lines, reader dialog, TableRowActions - note-reader-dialog: paragraph-split notebook reader with ruled paper background - courses-page: term/unassigned filter dropdown - events-page: search + upcoming/past filter with DataToolbar - i18n: events.upcoming, events.past - course-sessions-panel: grid-cols-2 date/time layout - docs: sync frontend-next-steps with completed itemsBurak Boduroğlu · bb8263a
feat: ✨ server-time validation, notes notebook redesign, course/event filters - event-form + exam-form + course-sessions-panel: use GET /time for past-schedule warnings - note-card: notebook-style card with amber accents, ruled lines, reader dialog, TableRowActions - note-reader-dialog: paragraph-split notebook reader with ruled paper background - courses-page: term/unassigned filter dropdown - events-page: search + upcoming/past filter with DataToolbar - i18n: events.upcoming, events.past - course-sessions-panel: grid-cols-2 date/time layout - docs: sync frontend-next-steps with completed items
feat: ✨ refine notebook navigation and dense cardsBurak Boduroğlu · aeb814b
feat: ✨ refine notebook navigation and dense cards - rename notes navigation to notebook/defter and move it under my space - update the my space sidebar group label and icon - localize the admin directory badge - convert note and exam cards to dense data-shell styling - align dashboard summary cards with the dense shell pattern
2026-07-13
style: 💄 move edit and create forms into dialogsBurak Boduroğlu · 40d23c9
style: 💄 move edit and create forms into dialogs - add a reusable form dialog primitive using Kobalte Dialog - move course, event, exam, note, and question edit forms into dialogs - move note creation behind a page-header create button - keep create and edit forms scrollable on smaller screens
2026-07-12
style: 💄 polish notes and events usabilityBurak Boduroğlu · 57e942f
style: 💄 polish notes and events usability - refresh event cards with cleaner content and schedule layout - refresh note cards with stronger structure and spacing - align note and event form controls and action buttons - add pagination to the events list - reuse shared pagination controls on events
feat: ✨ rebuild Hezarfen frontend for the full campus backendBurak Boduroğlu · 4deb240
feat: ✨ rebuild Hezarfen frontend for the full campus backend - SolidJS + Vite + TanStack Router + Tailwind/shadcn-solid (Kobalte) - Session cookie auth, role guards, TR/EN i18n, light/dark theme - Notes, events + attendance status chips, admin users search/filter - Courses with roster enrollment; exams created under a course with weight - Report card (/marks) with weighted course averages and overall average - Dashboard KPIs (notes/events/exams/average), wide list panels, guide - Sidebar guide pinned above centered @Hezarfen - 2026 footer - Vite proxy for /auth /users /notes /events /exams /courses /marks