Commits
Commits on
dcf123a8823bd55f0a656ce94de6b865f41dc08aFiltered to src/components/rag/rag-message-row.tsxClear filter2026-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
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
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 rule2026-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