forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to src/components/ai/note-studio-panel.tsxClear filter

2026-09-27

perf: 🚀 load on sight, share the school walk, page client tables - insights read the first 50 students' signals, then more as the table scrolls or a signal filter/sort needs them; overview cards state their coverage while partial (212 → ~62 requests on open) - dashboard caps the trend at six exams and loads the chart, class sizes and below-fold panels when they come into view - studio shows its library at once and reads a note's outputs when its row is visible; staff-work and payments fetch row values on sight - class members and section walks are a shared five-minute per-tab cache, invalidated after class, member and section writes - tables and lists that are not fetched as you scroll page with numbers again (DataTable client mode, event roll call, studio library)Burak Boduroğlu · 48313a5
perf: 🚀 load on sight, share the school walk, page client tables
- insights read the first 50 students' signals, then more as the table
  scrolls or a signal filter/sort needs them; overview cards state their
  coverage while partial (212 → ~62 requests on open)
- dashboard caps the trend at six exams and loads the chart, class sizes
  and below-fold panels when they come into view
- studio shows its library at once and reads a note's outputs when its
  row is visible; staff-work and payments fetch row values on sight
- class members and section walks are a shared five-minute per-tab
  cache, invalidated after class, member and section writes
- tables and lists that are not fetched as you scroll page with numbers
  again (DataTable client mode, event roll call, studio library)
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-25

fix: 🎓 follow the backend's grade ladder and per-section course rowsBurak Boduroğlu · 167d960
fix: 🎓 follow the backend's grade ladder and per-section course rows

- classes, blueprints and year promotions carry an integer grade_level
  (0 = anaokulu .. 12) instead of a free-text grade; shared
  GradeLevelSelect picker and gradeLevelLabel helper
- blueprint routes key on the grade level; limits publish
  min/max_grade_level instead of max_class_grade_len
- GET /courses/me now lists class sections, so catalog consumers read the
  already-scoped GET /courses; course detail draws its sections from the
  embedded course.sections instead of a per-class fan-out
- profile course rows are sections: link to the catalog course, show the
  class name; profile class badges show the grade label
- RAG study scopes name the backend's grade label and the section's
  resolved title
- instance/course/limit types gain the resolved-override, section,
  holiday, offering and weekly-plan shapes; map the new refusal codes

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
fix: 🐛 seek waits for unloaded audio, resizable rail, clearer errors - a seek is instant only inside the buffered range or the local copy; elsewhere playback pauses, the thumb spins at the target with "Bu kısım yükleniyor…", and it resumes from there once loaded (seekable was not trusted — Safari reports it for a stream that ignores Range and keeps playing from the old spot); skips stack on a pending target - the studio's audio rail is resizable from its left edge (drag, arrow keys, double-click to reset), 280–720px, remembered on this device - study history docks on the right on desktop so it no longer sits flush against the app sidebar; the phone drawer stays on the left - pagination without a row count centres its buttons instead of pushing them to the right edge - unmapped API errors name the kind of failure by status (invalid request, conflict, missing or wrong field, timeout) and quote the server's reason; serde body errors become "“Başlık” alanı eksik", invalid option and wrong-format messagesBurak Boduroğlu · e78105f
fix: 🐛 seek waits for unloaded audio, resizable rail, clearer errors
- a seek is instant only inside the buffered range or the local copy;
  elsewhere playback pauses, the thumb spins at the target with "Bu kısım
  yükleniyor…", and it resumes from there once loaded (seekable was not
  trusted — Safari reports it for a stream that ignores Range and keeps
  playing from the old spot); skips stack on a pending target
- the studio's audio rail is resizable from its left edge (drag, arrow
  keys, double-click to reset), 280–720px, remembered on this device
- study history docks on the right on desktop so it no longer sits flush
  against the app sidebar; the phone drawer stays on the left
- pagination without a row count centres its buttons instead of pushing
  them to the right edge
- unmapped API errors name the kind of failure by status (invalid request,
  conflict, missing or wrong field, timeout) and quote the server's reason;
  serde body errors become "“Başlık” alanı eksik", invalid option and
  wrong-format messages
feat: ✨ studio note page as a Mistral Studio tool page, stable player - /ai/studio/$noteId: a thin top bar (back to the library, note title, course badge), the summary on a wide canvas and the audio workshop on a right rail, like Studio's Text to Speech page; both panels get a flat variant without the card frame - study sidebar is 260px, Vibe's own width - the audio player sets its src only once the element is in the live document; a <Suspense> boundary renders detached first and Chromium rejected that load ("Media load rejected by URL safety check"), with one quiet retry for any load that still races attachment - the episode player is keyed on the episode id, so a list refresh no longer remounts it mid-load or stops playbackBurak Boduroğlu · 6581414
feat: ✨ studio note page as a Mistral Studio tool page, stable player
- /ai/studio/$noteId: a thin top bar (back to the library, note title,
  course badge), the summary on a wide canvas and the audio workshop on a
  right rail, like Studio's Text to Speech page; both panels get a flat
  variant without the card frame
- study sidebar is 260px, Vibe's own width
- the audio player sets its src only once the element is in the live
  document; a <Suspense> boundary renders detached first and Chromium
  rejected that load ("Media load rejected by URL safety check"), with one
  quiet retry for any load that still races attachment
- the episode player is keyed on the episode id, so a list refresh no
  longer remounts it mid-load or stops playback
feat: ✨ studio library rows open their own note page - new route /ai/studio/$noteId (search: episode) for one note's summary and episodes; the landing page keeps the title, note picker and library - picking a note or a library row navigates there instead of opening the note in place; an episode row opens its note page with that episode loaded in the player - the note page has no picker or library, only a "Kitaplığa dön" link back - the run inspector side panel is removed with its stringsBurak Boduroğlu · c923286
feat: ✨ studio library rows open their own note page
- new route /ai/studio/$noteId (search: episode) for one note's summary
  and episodes; the landing page keeps the title, note picker and library
- picking a note or a library row navigates there instead of opening the
  note in place; an episode row opens its note page with that episode
  loaded in the player
- the note page has no picker or library, only a "Kitaplığa dön" link back
- the run inspector side panel is removed with its strings

2026-09-22

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

feat: ✨ student numbers, Mistral-shaped study and studio, evidence redesign - student_number lands on PersonRef, User, CreateUser, ProfileUpdate and limits.user.max_student_number_len, matching the live contract - the field is settable where it belongs: the admin create-user panel offers it only for a student role, and the profile form only on the admin surface (it is the office's field, not the account holder's); blank clears it - Öğrenci Takibi tables share one column set — Öğrenci No, Adı, Sınıfı — extracted to student-directory-columns; search matches the number too - tracking nav reads Yoklamalar / Sınav Notları / Pomodorolar, and the attendance entry uses its own key so a student's own /attendance stays "Yoklama" - podcast history marks each episode with the narration the service settled on; an unsettled job stays unmarked and an unknown format prints verbatim - podcast progress surfaces stage and the receipt's eta_secs, both already on the wire and discarded; polling moves to createLivePoll so a hidden tab stops asking and tab-back is fresh; the player opens in the clicked row - /ai/study follows Le Chat: no card frame and no header strip, landing screen centres the mark and composer, wider composer, copy and "ask again" on a settled answer, rotating thinking phases, pin/unread scroll pill, and recency grouping in the thread list - no thread search box and no stop button: /rag/threads takes no query parameter and RAG messages have no cancel route, so either would lie - /ai/studio follows Mistral Studio: plain title and subtitle instead of the banner, flat hairline producer cards, and the output library as a dense divided list whose active row carries an accent edge; the library is the landing view and steps aside once a note is open - the insights "what supports this" disclosure loses its gradient card and nested box; a new ChartComparatorBar reads a value against its cohort baseline with both numbers printed, and the service's own sentence now leads the numbers it explains - drop three keys that no longer have a callerBurak Boduroğlu · dcf123a
feat: ✨ student numbers, Mistral-shaped study and studio, evidence redesign
- student_number lands on PersonRef, User, CreateUser, ProfileUpdate and
  limits.user.max_student_number_len, matching the live contract
- the field is settable where it belongs: the admin create-user panel offers
  it only for a student role, and the profile form only on the admin surface
  (it is the office's field, not the account holder's); blank clears it
- Öğrenci Takibi tables share one column set — Öğrenci No, Adı, Sınıfı —
  extracted to student-directory-columns; search matches the number too
- tracking nav reads Yoklamalar / Sınav Notları / Pomodorolar, and the
  attendance entry uses its own key so a student's own /attendance stays
  "Yoklama"
- podcast history marks each episode with the narration the service settled
  on; an unsettled job stays unmarked and an unknown format prints verbatim
- podcast progress surfaces stage and the receipt's eta_secs, both already
  on the wire and discarded; polling moves to createLivePoll so a hidden tab
  stops asking and tab-back is fresh; the player opens in the clicked row
- /ai/study follows Le Chat: no card frame and no header strip, landing
  screen centres the mark and composer, wider composer, copy and "ask again"
  on a settled answer, rotating thinking phases, pin/unread scroll pill, and
  recency grouping in the thread list
- no thread search box and no stop button: /rag/threads takes no query
  parameter and RAG messages have no cancel route, so either would lie
- /ai/studio follows Mistral Studio: plain title and subtitle instead of the
  banner, flat hairline producer cards, and the output library as a dense
  divided list whose active row carries an accent edge; the library is the
  landing view and steps aside once a note is open
- the insights "what supports this" disclosure loses its gradient card and
  nested box; a new ChartComparatorBar reads a value against its cohort
  baseline with both numbers printed, and the service's own sentence now
  leads the numbers it explains
- drop three keys that no longer have a caller

2026-09-19

refactor: 🧹 streamline tables and list surfacesBurak Boduroğlu · 0202be5
refactor: 🧹 streamline tables and list surfaces

- simplify list tables and keep detailed content on detail pages
- align shared table surfaces, pagination, tabs, and numeric typography
- tidy course, homework, event, staff, payment, and insight views
feat: ✨ refine AI insights and studio outputsBurak Boduroğlu · 67be128
feat: ✨ refine AI insights and studio outputs

- replace repeated insight metrics with denser charts and expandable evidence

- add a generated-output library for summaries and podcasts in AI Studio

- localize the new analysis and studio interactions and cover the library flow

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
feat: ✨ view and export AI outputs from the note studioAhmet Kaan Gümüş · 84c2372
feat: ✨ view and export AI outputs from the note studio

Every stored AI output was a one-sentence summary with a delete action, so
the service's own payload (attachments, produced prose, lesser fields) was
unreachable from the UI. Clicking a card — or the new View item in its menu —
now opens a drawer that shows the output by name: date, note title, source
attachments, the produced text, the remaining payload fields with labels,
and the raw record behind a Technical details disclosure. Degraded outputs
(failed attachments, no text) render as an honest sentence, not a blank
drawer.

The drawer also exports what it renders: Copy writes the same Markdown to
the clipboard with a visible confirmation, Download (.md) saves it as a
dated file, and Print / PDF isolates the document from the app chrome (and
hides the actions and the raw disclosure) with a print stylesheet.

Delete is unchanged. Drawer copy lives in a lane-scoped typed module
(src/components/notes/rag-output-messages.ts) instead of the shared i18n
table, which sibling lanes are editing this hour.

Tests: rag-output-drawer.test.tsx (card opens the drawer and shows the
output; the built Markdown carries title, date, source names and body with
no raw ids; clipboard receives exactly that string and the confirmation
shows; download blob carries it; a failed[]-and-no-text output shows the
honest sentence); existing rag-outputs-panel.test.tsx still green.
bun run check clean.

2026-09-17

feat: 🧠 gather every AI screen on one /ai hub - new /ai page with three tabs behind a ?tab= search param: the note studio (a lesson-note picker feeding the AI outputs and podcast panels), the ZEKA analysis board, and the Çelebi entry point - the insights page had no route and no sidebar entry at all, so nothing could open it; it is now the hub's analysis tab, with the student block demoted from a second page header to a section header - /sound-studio redirects to the hub's studio tab, and the hezarfen-zeka and ses-atolyesi "yakında" placeholders retire: both features are live now - the sidebar's AI group is Çelebi plus the hub; a parent gets the group too, with the hub alone, since the analysis board already served them - Çelebi's open state moves to a module-level store (like the command palette) so the hub tab can open the one panel the shell mounts, instead of a second chat - fix PodcastPanel reading its own `active` accessor before initialization — the capabilities resource source runs during setup and threw - the composer strip sits on the panel's bottom edge: the body dropped its bottom padding, which had left a band of background under the input - nav-items.test.ts was in both the include and exclude list, so it never ran; it now runs in the dom project, and its drifted expectations (academic years, the classes module gate) are fixed - src/components/rag/* lands with the contract work but is still unwired: Çelebi talks to /chatbot, which the backend also still servesBurak Boduroğlu · 1f449db
feat: 🧠 gather every AI screen on one /ai hub
- new /ai page with three tabs behind a ?tab= search param: the note studio
  (a lesson-note picker feeding the AI outputs and podcast panels), the ZEKA
  analysis board, and the Çelebi entry point
- the insights page had no route and no sidebar entry at all, so nothing
  could open it; it is now the hub's analysis tab, with the student block
  demoted from a second page header to a section header
- /sound-studio redirects to the hub's studio tab, and the hezarfen-zeka and
  ses-atolyesi "yakında" placeholders retire: both features are live now
- the sidebar's AI group is Çelebi plus the hub; a parent gets the group too,
  with the hub alone, since the analysis board already served them
- Çelebi's open state moves to a module-level store (like the command
  palette) so the hub tab can open the one panel the shell mounts, instead
  of a second chat
- fix PodcastPanel reading its own `active` accessor before initialization —
  the capabilities resource source runs during setup and threw
- the composer strip sits on the panel's bottom edge: the body dropped its
  bottom padding, which had left a band of background under the input
- nav-items.test.ts was in both the include and exclude list, so it never
  ran; it now runs in the dom project, and its drifted expectations
  (academic years, the classes module gate) are fixed
- src/components/rag/* lands with the contract work but is still unwired:
  Çelebi talks to /chatbot, which the backend also still serves