forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to src/components/rag/rag-study-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-26

feat: 📌 sticky table headers, list position on Back, scroll-fed appointments - a table that fits keeps its header row pinned under the app top bar while the page scrolls (its frame only clips instead of scrolling) - DataTable remembers how many rows were revealed and the page offset per history entry; Back from a detail page redraws them and lands on the same row, a fresh visit still starts at the top - createInfiniteList gains refresh() (re-read loaded rows in place) and restoreKey (reload as many rows as before); converted lists use both - appointments load slots and bookings page by page instead of stopping at the first 100; the 30s poll refreshes in place - selected filled tiles (user menu, theme picker, date picker, unread pills) drop the border that matched their fillBurak Boduroğlu · c513a0c
feat: 📌 sticky table headers, list position on Back, scroll-fed appointments
- a table that fits keeps its header row pinned under the app top bar
  while the page scrolls (its frame only clips instead of scrolling)
- DataTable remembers how many rows were revealed and the page offset per
  history entry; Back from a detail page redraws them and lands on the
  same row, a fresh visit still starts at the top
- createInfiniteList gains refresh() (re-read loaded rows in place) and
  restoreKey (reload as many rows as before); converted lists use both
- appointments load slots and bookings page by page instead of stopping
  at the first 100; the 30s poll refreshes in place
- selected filled tiles (user menu, theme picker, date picker, unread
  pills) drop the border that matched their fill

2026-09-23

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: ✨ study chat follows Mistral Vibe, chats open at their own URL - /ai/study is a persistent parent route with the open chat as a child, /ai/study/$threadId; opening, creating and deleting a chat move the URL without remounting the sidebar or cutting a streaming answer - full-bleed layout: a flush history sidebar (title, fold-away control, "Yeni sohbet" row, plain "Son sohbetler" rows with a hover ⋮ menu, "Daha fazla göster" instead of numbered pages), remembered collapse - desktop top bar: the chat title with a ▾ menu for rename and delete - landing: brand mark and a time-of-day greeting with the user's name, left-aligned on the composer column - turns: the question is a right-aligned pill, the answer sits beside a small brand mark with an icon row (copy, retry) and its time - composer: hairline rounded box with a dark square send button and the course-material disclaimer under itBurak Boduroğlu · 1113822
feat: ✨ study chat follows Mistral Vibe, chats open at their own URL
- /ai/study is a persistent parent route with the open chat as a child,
  /ai/study/$threadId; opening, creating and deleting a chat move the URL
  without remounting the sidebar or cutting a streaming answer
- full-bleed layout: a flush history sidebar (title, fold-away control,
  "Yeni sohbet" row, plain "Son sohbetler" rows with a hover ⋮ menu,
  "Daha fazla göster" instead of numbered pages), remembered collapse
- desktop top bar: the chat title with a ▾ menu for rename and delete
- landing: brand mark and a time-of-day greeting with the user's name,
  left-aligned on the composer column
- turns: the question is a right-aligned pill, the answer sits beside a
  small brand mark with an icon row (copy, retry) and its time
- composer: hairline rounded box with a dark square send button and the
  course-material disclaimer under it

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

style: 💄 cleaner study page - header names the page and what it answers from, replacing the uppercase "Çalış" eyebrow - empty chat shows a centred icon, title and hint - messages and composer share a centred reading column; the view follows new turns and streamed text unless the reader scrolled up - active chat in the history list is marked with the brand tintBurak Boduroğlu · 078b459
style: 💄 cleaner study page
- header names the page and what it answers from, replacing the uppercase
  "Çalış" eyebrow
- empty chat shows a centred icon, title and hint
- messages and composer share a centred reading column; the view follows new
  turns and streamed text unless the reader scrolled up
- active chat in the history list is marked with the brand tint
feat: 📖 a Study tab: grounded chat with summaries and practice - the AI hub gains "Çalış" (students and staff, not parents): RagStudyPanel wires the RAG chat pieces that sat unused — thread history with rename and delete, a streamed answer (SSE, polling fallback) with its sources - under every sourced answer, summarize or draw practice questions from exactly that range: the subject most of its citations name and their span ids and pages (scopeFromCitations), the asked question as label - practice questions take the service's difficulty (kolay/orta/zor), five at a time, answers folded until opened - live check: rag.chat answers with citations; summarize/questions answer 503 (no worker serves them yet), which stands the buttons down with a plain note instead of failing on every answer - documented abstention codes (insufficient_data, model_abstained, empty_scope, guard_*) read as sentences, unknown codes pass through - Çelebi keeps its general chat on /chatbot - tests for the scope helper, the study actions and the reason copyBurak Boduroğlu · 25b516f
feat: 📖 a Study tab: grounded chat with summaries and practice
- the AI hub gains "Çalış" (students and staff, not parents): RagStudyPanel
  wires the RAG chat pieces that sat unused — thread history with rename
  and delete, a streamed answer (SSE, polling fallback) with its sources
- under every sourced answer, summarize or draw practice questions from
  exactly that range: the subject most of its citations name and their
  span ids and pages (scopeFromCitations), the asked question as label
- practice questions take the service's difficulty (kolay/orta/zor), five
  at a time, answers folded until opened
- live check: rag.chat answers with citations; summarize/questions answer
  503 (no worker serves them yet), which stands the buttons down with a
  plain note instead of failing on every answer
- documented abstention codes (insufficient_data, model_abstained,
  empty_scope, guard_*) read as sentences, unknown codes pass through
- Çelebi keeps its general chat on /chatbot
- tests for the scope helper, the study actions and the reason copy