forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on dcf123a8823bd55f0a656ce94de6b865f41dc08aFiltered to src/components/notes/podcast-panel.test.tsxClear filter

2026-09-19

fix: 🧪 restore deploy test gateBurak Boduroğlu · 38b2f34
fix: 🧪 restore deploy test gate

- align insight report and course-detail tests with the refined inline and panel flows
- wait for podcast capabilities before interacting with the Suspense-backed form
- bring the notification count badge back within the minimum text-size rule

2026-09-18

fix: 🔌 close the last gaps against the live API contract - PodcastJobArtifacts matches the live JobArtifacts: drop audio_ids, script_id and script_ids, and duration_secs and format are nullable - add getInsightsPending (GET /insights/pending), with a testBurak Boduroğlu · e6e9aad
fix: 🔌 close the last gaps against the live API contract
- PodcastJobArtifacts matches the live JobArtifacts: drop audio_ids,
  script_id and script_ids, and duration_secs and format are nullable
- add getInsightsPending (GET /insights/pending), with a test
🧾 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