forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on dcf123a8823bd55f0a656ce94de6b865f41dc08aFiltered to src/components/notes/podcast-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

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(podcast): scope the episode history to the open noteAhmet Kaan Gümüş · d5ffe71
🎧 feat(podcast): scope the episode history to the open note

The section lived inside the note-scoped studio panel but listed every note's jobs, so picking another note looked like it kept the same results. It now asks the door for the open note's jobs and carries a `Bu not` / `Tümü` switch that widens to the whole history, with a caption naming the scope on screen and a scope-aware empty state.

`listPodcastJobs` gains an optional `sourceId`, appended url-encoded only when given; absent keeps today's query byte for byte.
🧾 feat(podcast): the studio lists the caller's own episodesAhmet Kaan Gümüş · 37d12e5
🧾 feat(podcast): the studio lists the caller's own episodes

GET /podcast/jobs reads the caller's own history newest-first; the studio had
no surface reading it, so a finished episode was reachable only by remembering
which note produced it. listPodcastJobs wraps the paged door and a new Podcast
History section under the Ses Atölyesi panel renders each row: the note title
(falling back to the source id once the note is gone), a state chip — Hazır /
Hazırlanıyor / Başarısız (with the failure's own code) / İptal edildi — the
created date and the running time when the service has declared one.

Only a done row gets a play control, and it streams through the same job-id
audio door the panel's own player uses (podcastAudioUrl(job_id)). The section
is one-directional: it never starts a generation; when the panel sees a job
reach done it bumps a refetch key and the list pulls the fresh page. An empty
history shows its own state, and a failed list call is contained in an alert
so the rest of the panel keeps working.

New keys land in both locales and the message union, so tsc proves every
locale carries them.
fix: 🎧 play the finished episode from its job's own audio doorAhmet Kaan Gümüş · 1f37a9a
fix: 🎧 play the finished episode from its job's own audio door

The panel's "ready" player pointed at /api/podcast/audio?path=…, a door the
backend no longer has: the request answers 404 with an empty body, so the
element dies on a format error and shows 0:00 / 0:00 with no sound. The live
contract streams an episode by job id — GET /podcast/jobs/{id}/audio — with
409 not_ready for a job that has not finished, 409 audio_missing for a row
whose blob is gone, and 404 for a job the caller does not own. The helper now
takes the job id, and the panel hands it result().job_id.

Sweeping every hand-built /api URL in src/ against the live OpenAPI paths
turned up a second dead shape: the roster's per-student file download
composed /homework/{id}/submissions/{user}/files/{fid}, which no route
answers (empty 404, where a matched-but-missing route answers a JSON 404).
A teacher reads any file under a homework they manage through
/homework/{id}/submission/files/{fid}, so the roster uses that one helper
and the second URL shape is gone with it. The two SSE stream URLs, the
question/answer image URLs, the note and course-note file URLs, the avatar
URL and both WebSocket rooms all still resolve.

Tests: the audio helper pin moves to the job door, the panel gains a pin
that the element's src is built from job_id (fails if handed audio_id), the
roster's URL pin goes with its helper, and the contract probe now asks the
live door for a job id that is not the caller's instead of the retired path
door.

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