forge
Explore
Log in

Don't you dare go Hollow

Commits

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

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