forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to src/components/notes/note-files-panel.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-23

feat: ✨ complete frontend workflow polishBurak Boduroğlu · 4e99344
feat: ✨ complete frontend workflow polish

- align row actions, edit panels, tables, and user labels across detail and list views
- keep homework grading panels open and remove raw ids from exam review
- add full screen drawing and whiteboard controls with mobile fallback
- support note attachments, podcast transcripts, and localized API refusals
- cover panel focus, empty answer sheets, and updated UI flows with tests

2026-09-22

refactor: ♻️ one row-actions menu on every table - TableRowActions is always the ⋮ menu, even for a single action, so eye, pencil and trash icons no longer vary from table to table - items are ordered view, edit and others, then a separator and the destructive ones; destructive items go through a confirm dialog - homework submissions rows all use the same menu - class, event, meal, question and builder school detail pages move delete into the header actions menu instead of a red top-level button - whiteboard participant removal asks for confirmationBurak Boduroğlu · 365bc38
refactor: ♻️ one row-actions menu on every table
- TableRowActions is always the ⋮ menu, even for a single action, so
  eye, pencil and trash icons no longer vary from table to table
- items are ordered view, edit and others, then a separator and the
  destructive ones; destructive items go through a confirm dialog
- homework submissions rows all use the same menu
- class, event, meal, question and builder school detail pages move
  delete into the header actions menu instead of a red top-level button
- whiteboard participant removal asks for confirmation

2026-09-21

feat: 📱 phone-sized tables, toolbars and AI pages - tables show half a page on phones (10 → 5, never below 5): createResponsivePageSize feeds DataTable and every page that pages on its own, including the server-paged ones' limit/offset - one pager for the whole app: TablePagination on a single row with touch-sized buttons; a single page keeps the count and drops the arrows; PaginationControls is gone - toolbars wrap by width: search and actions share the first row on a phone, filters take the next; the column menu leaves card layout and "yakında" buttons step aside on phones - search boxes are 16px on phones so iOS stops zooming into them - phone cards drop empty fields and shrink the row menu to its ⋮ glyph - students and classes filters carry their label ("Eğitim yılı: Tümü") - exam results page through DataTable instead of a second pager - studio library pages its run history - /ai/study on phones: the history is a left drawer behind a top bar with the chat's name and a new-chat button; the composer stays docked - /ai/studio: a way back to the library from an open note, tighter panels and touch-sized summary actions on phonesBurak Boduroğlu · ee4b86b
feat: 📱 phone-sized tables, toolbars and AI pages
- tables show half a page on phones (10 → 5, never below 5):
  createResponsivePageSize feeds DataTable and every page that pages on
  its own, including the server-paged ones' limit/offset
- one pager for the whole app: TablePagination on a single row with
  touch-sized buttons; a single page keeps the count and drops the
  arrows; PaginationControls is gone
- toolbars wrap by width: search and actions share the first row on a
  phone, filters take the next; the column menu leaves card layout and
  "yakında" buttons step aside on phones
- search boxes are 16px on phones so iOS stops zooming into them
- phone cards drop empty fields and shrink the row menu to its ⋮ glyph
- students and classes filters carry their label ("Eğitim yılı: Tümü")
- exam results page through DataTable instead of a second pager
- studio library pages its run history
- /ai/study on phones: the history is a left drawer behind a top bar
  with the chat's name and a new-chat button; the composer stays docked
- /ai/studio: a way back to the library from an open note, tighter
  panels and touch-sized summary actions on phones

2026-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 rule

2026-09-15

fix: 🔄 keep tables on screen while their data refreshes - add lib/create-resource: accessor reads .latest, so a resource suspends only on its first load instead of on every refetch or source change - switch every createResource import to it; a row delete or save no longer swaps the table card for its skeleton or resets its page and search - solidjs-pitfalls skill documents the import ruleBurak Boduroğlu · 61b19be
fix: 🔄 keep tables on screen while their data refreshes
- add lib/create-resource: accessor reads .latest, so a resource suspends
  only on its first load instead of on every refetch or source change
- switch every createResource import to it; a row delete or save no longer
  swaps the table card for its skeleton or resets its page and search
- solidjs-pitfalls skill documents the import 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

refactor: 📎 shared file-type metadata across notes and homework - file-type.tsx: extension + icon/badge mapping extracted from note-files-panel's local copy, reused by homework panels - homework answer moves to the rich text editor with rich display on the submissions side; icon-only download/delete actions - submission file lists become the compact thumbnail grid with a count badge, collapsed to the header row until a file existsBurak Boduroğlu · c866b7e
refactor: 📎 shared file-type metadata across notes and homework
- file-type.tsx: extension + icon/badge mapping extracted from
  note-files-panel's local copy, reused by homework panels
- homework answer moves to the rich text editor with rich display on
  the submissions side; icon-only download/delete actions
- submission file lists become the compact thumbnail grid with a count
  badge, collapsed to the header row until a file exists

2026-08-01

refactor: ♻️ centralize shared UI pieces and trim duplicate code - theme-mode-control replaces theme-toggle and inline sidebar toggles with toggle/compact/segmented/cards variants per nav surface - personInitials moved to src/lib/person.ts with unit tests; drop the duplicated copies in sidebar-account and user-menu - remove school-hub/students-hub placeholder pages, route to whiteboards and course pages instead - appointments tabs: bordered segmented style with badge contrast - whiteboards create panel: arrow-key navigation over the participant picker (Enter adds, Esc clears) - nav-items cleanup, index.css trim, aria-label on note file previewsBurak Boduroğlu · e7c0151
refactor: ♻️ centralize shared UI pieces and trim duplicate code
- theme-mode-control replaces theme-toggle and inline sidebar toggles
  with toggle/compact/segmented/cards variants per nav surface
- personInitials moved to src/lib/person.ts with unit tests; drop the
  duplicated copies in sidebar-account and user-menu
- remove school-hub/students-hub placeholder pages, route to whiteboards
  and course pages instead
- appointments tabs: bordered segmented style with badge contrast
- whiteboards create panel: arrow-key navigation over the participant
  picker (Enter adds, Esc clears)
- nav-items cleanup, index.css trim, aria-label on note file previews

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

style: 🎨 enhance Messages sidebar animations and Note attachment actions contrast - add smooth hover & scale animations for Messages sidebar folder buttons and folder-specific accent icon colors - fix visibility and theme styling of three-dots action menu on note attachment cards - set exact equal width (w-32) on Draw and Add File buttons in note files panelBurak Boduroğlu · d0e9411
style: 🎨 enhance Messages sidebar animations and Note attachment actions contrast
- add smooth hover & scale animations for Messages sidebar folder buttons and folder-specific accent icon colors
- fix visibility and theme styling of three-dots action menu on note attachment cards
- set exact equal width (w-32) on Draw and Add File buttons in note files panel
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
style: 🎨 add page accents and eager detail loadingBurak Boduroğlu · 5e6085b
style: 🎨 add page accents and eager detail loading

- add subtle section accents and rounded controls across page shells

- keep course and exam detail section data loading while collapsed

- align exam grading header action with the question add button
feat: 📎 client-side upload limits and shared error handling - extract formatBytes/maxUploadBytes into shared src/lib/upload-limits.ts - add client-side file size validation in exam room, question form, solution form, and ask-question dialog - add known API error messages for file upload, exam, event, and pomodoro errors - extract errorMessageFromPayload helper for client/form/blob endpoints with Pydantic validation detail support - add status-code handling for 409, 413, 422 - show max file size in question/solution upload UIBurak Boduroğlu · fed2a93
feat: 📎 client-side upload limits and shared error handling
- extract formatBytes/maxUploadBytes into shared src/lib/upload-limits.ts
- add client-side file size validation in exam room, question form, solution
  form, and ask-question dialog
- add known API error messages for file upload, exam, event, and pomodoro
  errors
- extract errorMessageFromPayload helper for client/form/blob endpoints
  with Pydantic validation detail support
- add status-code handling for 409, 413, 422
- show max file size in question/solution upload UI

2026-07-21

feat: 🎨 editable freehand drawings for notes and text examsAhmet Kaan Gümüş · 3758bf0
feat: 🎨 editable freehand drawings for notes and text exams

- add a canvas drawing pad (pen, eraser, 5 colors, 3 widths, undo, clear)
  that saves a PNG with its stroke JSON embedded in a tEXt chunk, so a
  saved drawing displays as a normal image and reopens for editing
- lib/png-meta embeds/extracts PNG text chunks (crc32); draw-stroke gains
  DrawScene + parseScene; drawing-file turns canvas+scene into a PNG File
  and parses stored bytes back to a scene (all pure, unit-tested)
- reopened drawings rescale to the current pad (aspect preserved); when
  editing you can clear a drawing and save the blank to erase it
- notes: draw new attachments and edit saved *.hzdraw.png ones in place
  (create-new-then-delete-old, no data loss); PNG/JPEG device export
- teacher exam questions: draw or re-edit the question illustration
- student text answers: draw the answer in the exam room, reopen to edit
  or remove; teacher sees it in the grading answer sheet
- answer-image api wrappers + question-image blob fetch, answer_image on
  AttemptAnswer/StudentAnswer, EN/TR i18n keys
- DrawCanvas is its own lazy chunk (~2.6KB gzip); main bundle unchanged
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-17

feat: ✨ mutation flash feedback across pages and docs sync - createFlash success banners on profile, work, staff-work, admin roles - course/event/exam detail, sessions, questions, note-file mutations - frontend-next-steps UX batch notes; README dashboard/empty/flash patternsBurak Boduroğlu · 86d63de
feat: ✨ mutation flash feedback across pages and docs sync
- createFlash success banners on profile, work, staff-work, admin roles
- course/event/exam detail, sessions, questions, note-file mutations
- frontend-next-steps UX batch notes; README dashboard/empty/flash patterns
fix: 🐛 notes file upload error handling and preview resilience - blobClient parses JSON error body instead of bare status text - NoteFilePreview shows fetch errors inline instead of hanging - NoteFilesPanel removed 404/501 catch-all — backend file API live - NotesPage reports partial file upload failures on create - Added fileUploadPartial i18n keys (en/tr)Burak Boduroğlu · f3306dd
fix: 🐛 notes file upload error handling and preview resilience
- blobClient parses JSON error body instead of bare status text
- NoteFilePreview shows fetch errors inline instead of hanging
- NoteFilesPanel removed 404/501 catch-all — backend file API live
- NotesPage reports partial file upload failures on create
- Added fileUploadPartial i18n keys (en/tr)

2026-07-16

style: 🎨 drive-style note file preview - open note file previews in a large dialog instead of inline - add dark preview stage for image, video, audio, PDF, and text files - keep filename, type, download, and close controls in the preview header - polish note file cards with larger Drive-like tilesBurak Boduroğlu · d9ee743
style: 🎨 drive-style note file preview
- open note file previews in a large dialog instead of inline
- add dark preview stage for image, video, audio, PDF, and text files
- keep filename, type, download, and close controls in the preview header
- polish note file cards with larger Drive-like tiles
style: 🎨 drive-style note file cards - show note attachments as paged cards with four files per page - move file actions into the row action dropdown - add file-type icons and extension badges for media, PDFs, docs, and sheets - keep note file preview and download actions available from each cardBurak Boduroğlu · d375144
style: 🎨 drive-style note file cards
- show note attachments as paged cards with four files per page
- move file actions into the row action dropdown
- add file-type icons and extension badges for media, PDFs, docs, and sheets
- keep note file preview and download actions available from each card
feat: ✨ note file preview - add blob fetch helper for inline note file previews - preview image, video, audio, PDF, and text attachments in the note panel - separate preview and download actions so one click does one thing - add preview close control and unsupported-file copyBurak Boduroğlu · ddc6e5f
feat: ✨ note file preview
- add blob fetch helper for inline note file previews
- preview image, video, audio, PDF, and text attachments in the note panel
- separate preview and download actions so one click does one thing
- add preview close control and unsupported-file copy
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