forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on dcf123a8823bd55f0a656ce94de6b865f41dc08a

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
style: 💄 report card average and section link - drop the "/ 100" suffix from the overall average; the number stands alone - the per-course section link is a real button now: outline chrome, external link icon, instead of a bare underlined link that read as body text - name that button after the student's own section when there is exactly one (/classes/me for a student reading their own karne, /classes/user/{id} for a parent or teacher); the report payload carries only the instance id, so with two sections nothing says which one teaches a course and the button keeps its generic label - a refused class read is not surfaced as an error, it just falls backBurak Boduroğlu · 7d6f928
style: 💄 report card average and section link
- drop the "/ 100" suffix from the overall average; the number stands alone
- the per-course section link is a real button now: outline chrome, external
  link icon, instead of a bare underlined link that read as body text
- name that button after the student's own section when there is exactly one
  (/classes/me for a student reading their own karne, /classes/user/{id} for
  a parent or teacher); the report payload carries only the instance id, so
  with two sections nothing says which one teaches a course and the button
  keeps its generic label
- a refused class read is not surfaced as an error, it just falls back

2026-09-19

feat: ✨ teacher question generator, live nav for pending approvals and analysis - /ai/question-generation: pick one of the teacher's own (grade, course) pairs, a page range, difficulty, count and an optional example question; POST /rag/questions returns the set, each question can be copied or opened in the bank form prefilled - "Bekleyen onaylar" links to the question pool's pending tab, the teacher approval queue; nav entries can now carry search params and win over the plain entry for the same path - "Öğrenci analizi" is the analysis board under Tracking for teachers, so their AI group no longer lists it twice - the three entries leave the "yakında" shelf and their placeholder routesBurak Boduroğlu · f42459e
feat: ✨ teacher question generator, live nav for pending approvals and analysis
- /ai/question-generation: pick one of the teacher's own (grade, course)
  pairs, a page range, difficulty, count and an optional example question;
  POST /rag/questions returns the set, each question can be copied or opened
  in the bank form prefilled
- "Bekleyen onaylar" links to the question pool's pending tab, the teacher
  approval queue; nav entries can now carry search params and win over the
  plain entry for the same path
- "Öğrenci analizi" is the analysis board under Tracking for teachers, so
  their AI group no longer lists it twice
- the three entries leave the "yakında" shelf and their placeholder routes
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
style: 💄 exam question panel and flush table headers - exam "add/edit question" opens in the wide side panel instead of a centred dialog whose footer covered the scrolling form - form footer reaches over the panel's bottom padding, right-aligned actions, and a hint that tapping a letter marks the correct answer - sectioned DataTable frame drops its inner padding, so the header row sits flush on the card edge and the sticky header no longer lets rows show above it - includes the i18n keys for the question generator that followsBurak Boduroğlu · e726e76
style: 💄 exam question panel and flush table headers
- exam "add/edit question" opens in the wide side panel instead of a centred
  dialog whose footer covered the scrolling form
- form footer reaches over the panel's bottom padding, right-aligned actions,
  and a hint that tapping a letter marks the correct answer
- sectioned DataTable frame drops its inner padding, so the header row sits
  flush on the card edge and the sticky header no longer lets rows show above it
- includes the i18n keys for the question generator that follows
chore: 🧹 remove dead code and table primitive use - delete unused InsightDataList - insight course table uses DataTable instead of raw Table primitives - drop the never-set reply prefill state from messages and compose box - contract config no longer points at a fixed backend pathBurak Boduroğlu · 1b777d3
chore: 🧹 remove dead code and table primitive use
- delete unused InsightDataList
- insight course table uses DataTable instead of raw Table primitives
- drop the never-set reply prefill state from messages and compose box
- contract config no longer points at a fixed backend path
fix: 🔒 security headers and sanitized editor input - server.ts sends CSP frame-ancestors/object-src/base-uri, X-Frame-Options, nosniff, Referrer-Policy and HSTS on every file it serves - RichTextEditor sanitizes HTML it loads from props (saved answers)Burak Boduroğlu · a3ac38f
fix: 🔒 security headers and sanitized editor input
- server.ts sends CSP frame-ancestors/object-src/base-uri, X-Frame-Options,
  nosniff, Referrer-Policy and HSTS on every file it serves
- RichTextEditor sanitizes HTML it loads from props (saved answers)
fix: 🐛 hide tabs of switched-off modules, role-aware /attendance - course detail hides subjects/sections/notes tabs and skips their reads when the subjects/classes/course_notes module is off - instance detail does the same for exams/homework/sessions and falls back to the first remaining tab - Note Studio route and nav entry gate on course_notes, the Çelebi nav entry on chatbot - /attendance sends students to their report, parents to the child view and staff to roll call instead of a 403Burak Boduroğlu · b84d860
fix: 🐛 hide tabs of switched-off modules, role-aware /attendance
- course detail hides subjects/sections/notes tabs and skips their reads when
  the subjects/classes/course_notes module is off
- instance detail does the same for exams/homework/sessions and falls back
  to the first remaining tab
- Note Studio route and nav entry gate on course_notes, the Çelebi nav
  entry on chatbot
- /attendance sends students to their report, parents to the child view and
  staff to roll call instead of a 403
perf: ⚡ bound per-row fan-outs and fix capped list reads - mapConcurrent keeps at most 6 requests in flight for marks, member counts, balances and calendar sessions - student marks and class member counts say so when the school is past the fetch cap instead of silently blanking the column - calendar reads events/exams from the visible month onward with no row cap and refetches only when paging backwards; appointments, homework and sessions are no longer cut at 100 - shell notification poll reads 100 homework rows instead of the whole list - dashboard appointments/homework reads match the shell's so they coalesce - payments header resolves a student's name from the profile when the student is not on the loaded pageBurak Boduroğlu · 8e51fe0
perf: ⚡ bound per-row fan-outs and fix capped list reads
- mapConcurrent keeps at most 6 requests in flight for marks, member counts,
  balances and calendar sessions
- student marks and class member counts say so when the school is past the
  fetch cap instead of silently blanking the column
- calendar reads events/exams from the visible month onward with no row cap
  and refetches only when paging backwards; appointments, homework and
  sessions are no longer cut at 100
- shell notification poll reads 100 homework rows instead of the whole list
- dashboard appointments/homework reads match the shell's so they coalesce
- payments header resolves a student's name from the profile when the
  student is not on the loaded page
fix: 🐛 warn when a blueprint grade matches no section - read `matched` from the blueprint pump response - matched 0 shows a warning naming the grade instead of "applied to every class"; otherwise the toast says how many sections took itBurak Boduroğlu · 0630be8
fix: 🐛 warn when a blueprint grade matches no section
- read `matched` from the blueprint pump response
- matched 0 shows a warning naming the grade instead of "applied to every
  class"; otherwise the toast says how many sections took it
feat: ✨ share exams with sibling sections, stop empty-id subject reads - exam audience endpoints return the audience array the API sends (POST/DELETE answered as a single row / void before), tests updated - new "Paylaşılan şubeler" tab on exam detail: list the audience, share with a section teaching the same course in the same academic year, withdraw one - ExamQuestionsPanel takes a nullable courseId and skips the subjects read until it resolves; Solid fetched `/courses//subjects` on the empty string - a failed subjects read no longer throws into the pageBurak Boduroğlu · 4d56817
feat: ✨ share exams with sibling sections, stop empty-id subject reads
- exam audience endpoints return the audience array the API sends
  (POST/DELETE answered as a single row / void before), tests updated
- new "Paylaşılan şubeler" tab on exam detail: list the audience, share with
  a section teaching the same course in the same academic year, withdraw one
- ExamQuestionsPanel takes a nullable courseId and skips the subjects read
  until it resolves; Solid fetched `/courses//subjects` on the empty string
- a failed subjects read no longer throws into the page
perf: ⚡ load only the active language's dictionary - split the en/tr dictionaries out of messages.ts into their own chunks; the boot awaits the stored locale before the first render - a locale switch waits for its dictionary before flipping, last request wins - preferences chunk drops from ~290 KB to ~83 KB; each session fetches one ~105 KB dictionary instead of both - tests register both dictionaries through a shared setup file - includes the new keys used by the fixes that followBurak Boduroğlu · 877419e
perf: ⚡ load only the active language's dictionary
- split the en/tr dictionaries out of messages.ts into their own chunks;
  the boot awaits the stored locale before the first render
- a locale switch waits for its dictionary before flipping, last request wins
- preferences chunk drops from ~290 KB to ~83 KB; each session fetches one
  ~105 KB dictionary instead of both
- tests register both dictionaries through a shared setup file
- includes the new keys used by the fixes that follow
refactor: 🎛️ align catalog and workspace list surfacesBurak Boduroğlu · 042765a
refactor: 🎛️ align catalog and workspace list surfaces

- separate toolbar cards from course, whiteboard, and note collections\n- remove redundant list subtitles and outer wrappers\n- keep collection cards and actions visually consistent
refactor: 🧩 simplify class group surfacesBurak Boduroğlu · 8af6c6e
refactor: 🧩 simplify class group surfaces

- remove redundant class list heading copy and split toolbar from class cards\n- make school year badges use available card width\n- keep academic year and term badges from collapsing in table cells
feat: ✨ refine detail panels and question bankBurak Boduroğlu · 45223be
feat: ✨ refine detail panels and question bank

- organize admin, exam, and homework details into consistent surface cards\n- fix filter localization and keep toolbar actions compact\n- anchor side-panel form actions and add a playful pixel-art question bank header
feat: ✨ center student tables and improve date controlsBurak Boduroğlu · a473470
feat: ✨ center student tables and improve date controls

- show student names and class membership in teacher-facing tables\n- center shared table cells, expose horizontal scroll, and simplify single actions\n- collapse profile badges and improve date entry and month-year navigation
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
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
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
fix: 🔔 refine messages and notificationsBurak Boduroğlu · 81b2656
fix: 🔔 refine messages and notifications

- reorganize the messages page header and notification grouping

- add unread states, notification previews, and localized page navigation

- remove the redundant topbar back action and improve spacing
fix: 🧭 organize Celebi chat actions and searchBurak Boduroğlu · e1768cd
fix: 🧭 organize Celebi chat actions and search

- align new chat, chat history and search actions in the panel header

- add full-width search guidance, result counts and arrow-key navigation

- highlight matching text and keep Turkish search ranges
feat: 🎟️ demo sign-in on the login page - with VITE_DEMO_LOGIN_USERNAME / _PASSWORD set at build time the login form opens filled with them and offers a one-click demo button that signs in even if the fields were edited - meant for a demo school: unlike the dev auto sign-in the values are bundled; without them the form starts empty and shows no button - tests for both cases (env stubbed, since vitest reads .env.local) - README notes the build-time settingBurak Boduroğlu · 14fb9ac
feat: 🎟️ demo sign-in on the login page
- with VITE_DEMO_LOGIN_USERNAME / _PASSWORD set at build time the login
  form opens filled with them and offers a one-click demo button that
  signs in even if the fields were edited
- meant for a demo school: unlike the dev auto sign-in the values are
  bundled; without them the form starts empty and shows no button
- tests for both cases (env stubbed, since vitest reads .env.local)
- README notes the build-time setting
feat: 🧭 a setup checklist for a new school's admin - SetupChecklistPanel on the admin board: academic year, teachers, students, classes and courses, each ticked by a real limit=1 total and linking to where it is added; teacher/student counts use the role filter on /users/search - a failed read shows "could not check" instead of claiming either way; steps of a switched-off module are left out - the panel hides once every step is done (checked live: the demo school is fully set up, so its board shows none) - dashboard test for the checklist; dashboard rule records itBurak Boduroğlu · 451977f
feat: 🧭 a setup checklist for a new school's admin
- SetupChecklistPanel on the admin board: academic year, teachers,
  students, classes and courses, each ticked by a real limit=1 total and
  linking to where it is added; teacher/student counts use the role filter
  on /users/search
- a failed read shows "could not check" instead of claiming either way;
  steps of a switched-off module are left out
- the panel hides once every step is done (checked live: the demo school
  is fully set up, so its board shows none)
- dashboard test for the checklist; dashboard rule records it
feat: 📝 teachers see which homework is waiting on them - HomeworkQueuePanel sits beside today's lessons on the teacher board: for the teacher's own homework due in the last 14 days or the next 2 (at most six, closest first) it reads each roster and says how many students have not handed in and how many hand-ins wait for a grade - rows link to the homework; the header totals what is left to grade; unenrolled leftovers are not counted as owed - gated on the homework module; a failed roster read drops its row - homework-queue helpers with tests; dashboard test for the panel; dashboard rule records the capped roster readsBurak Boduroğlu · 6716a73
feat: 📝 teachers see which homework is waiting on them
- HomeworkQueuePanel sits beside today's lessons on the teacher board:
  for the teacher's own homework due in the last 14 days or the next 2
  (at most six, closest first) it reads each roster and says how many
  students have not handed in and how many hand-ins wait for a grade
- rows link to the homework; the header totals what is left to grade;
  unenrolled leftovers are not counted as owed
- gated on the homework module; a failed roster read drops its row
- homework-queue helpers with tests; dashboard test for the panel;
  dashboard rule records the capped roster reads
docs: 📐 dashboard rule allows today's lesson rows to link - today rows link to the viewer's own section (the teacher's roll call, the student's sessions tab); generic teacher-only shortcuts stay out - record the sessions-module gate, roll-call reads only for started lessons, and the parent homework panel's read-only scopeBurak Boduroğlu · a432188
docs: 📐 dashboard rule allows today's lesson rows to link
- today rows link to the viewer's own section (the teacher's roll call,
  the student's sessions tab); generic teacher-only shortcuts stay out
- record the sessions-module gate, roll-call reads only for started
  lessons, and the parent homework panel's read-only scope
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
chore: 🔑 optional auto sign-in for local development - with VITE_DEV_AUTOLOGIN_USERNAME / _PASSWORD (optional _SCHOOL) in .env.local, bun run dev signs in on the first /auth/me 401, picking the named or first school when the account has several - logout turns it off for the rest of the tab, so the login page stays - behind import.meta.env.DEV: checked that a vite build with .env.local present carries neither the code nor the credentials - .env.local is covered by the existing *.local ignore; README notes itBurak Boduroğlu · 13b80a2
chore: 🔑 optional auto sign-in for local development
- with VITE_DEV_AUTOLOGIN_USERNAME / _PASSWORD (optional _SCHOOL) in
  .env.local, bun run dev signs in on the first /auth/me 401, picking the
  named or first school when the account has several
- logout turns it off for the rest of the tab, so the login page stays
- behind import.meta.env.DEV: checked that a vite build with .env.local
  present carries neither the code nor the credentials
- .env.local is covered by the existing *.local ignore; README notes it
feat: 📚 API for RAG study summaries and practice questions - postRagSummarize (POST /rag/summarize) and postRagQuestions (POST /rag/questions), new on the live contract: both work over one range of one corpus (ders, optional sinif, pages or span_ids) - types for the study scope, the summary with its citations and covered pages, and the question set; an abstention with a reason is a complete answer, as on a chat turn - rag domain tests for both requestsBurak Boduroğlu · 57a1d1a
feat: 📚 API for RAG study summaries and practice questions
- postRagSummarize (POST /rag/summarize) and postRagQuestions
  (POST /rag/questions), new on the live contract: both work over one
  range of one corpus (ders, optional sinif, pages or span_ids)
- types for the study scope, the summary with its citations and covered
  pages, and the question set; an abstention with a reason is a complete
  answer, as on a chat turn
- rag domain tests for both requests
style: ✅ roll call leads with Present and says when students are done - checked on real data (10-B, 9 rows): the school's status order put "Var" last, the one a teacher taps most; it now leads every row, the rest keep the school's order - with no student left unmarked the bulk button read as live in the dark theme even at half opacity; it turns outline and reads "Tüm öğrenciler işaretli"Burak Boduroğlu · 6e42004
style: ✅ roll call leads with Present and says when students are done
- checked on real data (10-B, 9 rows): the school's status order put
  "Var" last, the one a teacher taps most; it now leads every row, the
  rest keep the school's order
- with no student left unmarked the bulk button read as live in the dark
  theme even at half opacity; it turns outline and reads "Tüm öğrenciler
  işaretli"
style: 🧹 coming-soon columns stay out of phone cards - a DataTable column can set meta.hideInCards; the card layout skips it - the 11 placeholder columns on the student and teacher rosters and the license modules table use it: seen on a real phone-width roster, four of five card rows read "— Yakında"; now a card carries only real fieldsBurak Boduroğlu · 321d831
style: 🧹 coming-soon columns stay out of phone cards
- a DataTable column can set meta.hideInCards; the card layout skips it
- the 11 placeholder columns on the student and teacher rosters and the
  license modules table use it: seen on a real phone-width roster, four of
  five card rows read "— Yakında"; now a card carries only real fields

2026-09-18

feat: 📄 generate the school report document from the run drawerAhmet Kaan Gümüş · ea53ad2
feat: 📄 generate the school report document from the run drawer

The run report drawer could copy, export Markdown and print what the page
had already read, but the school-level document the AI service writes had
no control. `Okul raporu (HTML)` now POSTs the run day's own
`/insights/runs/{run_day}/report` door, reads the stored document back and
then hands it over as a same-origin `<a download>` — so a generation that
answered `200` but stored nothing surfaces as "belge okunamadı" instead of
an empty download.

- `src/api/insights/`: `insightRunReportUrl`/`insightRunReportPath`,
  `postInsightRunReport` and `getInsightRunReport`, following the podcast
  audio-door shape; the path is spelled once for both doors.
- Failure copy: `503` says the report service is unavailable, a coded `409`
  shows the server's own sentence, a read-back `409 report_missing` says the
  document could not be read back — never an invented diagnosis.
- The control exists for manager+ only, the role the door accepts.
- Tests: the door URLs at the API layer, and in the drawer the exact POST
  target, the in-flight disabled state, the anchor's href/download name, and
  each of the three failure classes.
feat: 🎓 students get today's lessons on their board too - the student board's "today plan" coming-soon slot becomes the same TodayLessonsPanel with audience=student: the day's sessions from the student's sections, the one on now marked, and no roll-call reads (that route is the teacher's) - rows link to the section's sessions tab - tests for lessonNow and the student panelBurak Boduroğlu · c24b341
feat: 🎓 students get today's lessons on their board too
- the student board's "today plan" coming-soon slot becomes the same
  TodayLessonsPanel with audience=student: the day's sessions from the
  student's sections, the one on now marked, and no roll-call reads (that
  route is the teacher's)
- rows link to the section's sessions tab
- tests for lessonNow and the student panel
feat: 🎒 parents see what their child's homework needs - ChildHomeworkPanel replaces the parent board's progress coming-soon slot with the selected child's homework report (GET /homework/report/{user}, a parent-readable route): how many are not handed in and how many are due this week, as plain sentences with the rows behind each - read only and report fields only (statuses, never files); no links, since a parent cannot open the course-scoped homework page - summarizeChildHomework helper with tests; dashboard test for the panelBurak Boduroğlu · ee27f67
feat: 🎒 parents see what their child's homework needs
- ChildHomeworkPanel replaces the parent board's progress coming-soon slot
  with the selected child's homework report (GET /homework/report/{user},
  a parent-readable route): how many are not handed in and how many are
  due this week, as plain sentences with the rows behind each
- read only and report fields only (statuses, never files); no links,
  since a parent cannot open the course-scoped homework page
- summarizeChildHomework helper with tests; dashboard test for the panel
fix: 🔒 gate today's lessons on the sessions module - the panel reads session routes, so it follows the sessions module, not classes; /instances/me itself is not module-gatedBurak Boduroğlu · 7a0de35
fix: 🔒 gate today's lessons on the sessions module
- the panel reads session routes, so it follows the sessions module, not
  classes; /instances/me itself is not module-gated
feat: 🗓️ the teacher's board leads with today's lessons - TodayLessonsPanel replaces the "Bugünün Programı" coming-soon slot with real reads: the teacher's sections, each one's sessions filtered to the local day (all of them: the route is newest-first with no date filter), and each started lesson's roll-call count against the section's enrollment count - each lesson shows its time, course and topic and a state: not started, roll call not taken, n/total marked, or done; the header counts roll calls still waiting - a row links to /instances/$id?tab=sessions&rollCall=<session>, which opens the sessions tab and that lesson's roll call directly; the board itself still never takes attendance - today-lessons helpers (day bounds, today filter, roll-call state) with tests; dashboard test for the panel, checked across time zonesBurak Boduroğlu · 981b841
feat: 🗓️ the teacher's board leads with today's lessons
- TodayLessonsPanel replaces the "Bugünün Programı" coming-soon slot with
  real reads: the teacher's sections, each one's sessions filtered to the
  local day (all of them: the route is newest-first with no date filter),
  and each started lesson's roll-call count against the section's
  enrollment count
- each lesson shows its time, course and topic and a state: not started,
  roll call not taken, n/total marked, or done; the header counts roll
  calls still waiting
- a row links to /instances/$id?tab=sessions&rollCall=<session>, which
  opens the sessions tab and that lesson's roll call directly; the board
  itself still never takes attendance
- today-lessons helpers (day bounds, today filter, roll-call state) with
  tests; dashboard test for the panel, checked across time zones
feat: ✅ roll call in a few taps - one list instead of 8-row pages with a picker and a Save button per student: each row has status buttons (the school's statuses from /settings) and a tap saves that row at once, optimistically, reverting with an error if the save fails - "mark the rest present" fills every unmarked student (the teacher row stays a deliberate call), four requests at a time since the API takes one row per call; the button shows its progress - a sticky header shows marked/total, a progress bar and per-status counts; "only unmarked" filters the list - an unmarked row stays visibly unmarked; nothing reads as present until it is saved - fix: the roster renders before the saved marks load, and a tap in that gap was overwritten by them; the buttons now wait for the marks - the roll call panel opens wide so the status buttons sit on one line - tests: teacher row rights, one-tap save without refetch, mark the rest present skips marked rows, a failed save revertsBurak Boduroğlu · 9bea6a1
feat: ✅ roll call in a few taps
- one list instead of 8-row pages with a picker and a Save button per
  student: each row has status buttons (the school's statuses from
  /settings) and a tap saves that row at once, optimistically, reverting
  with an error if the save fails
- "mark the rest present" fills every unmarked student (the teacher row
  stays a deliberate call), four requests at a time since the API takes
  one row per call; the button shows its progress
- a sticky header shows marked/total, a progress bar and per-status
  counts; "only unmarked" filters the list
- an unmarked row stays visibly unmarked; nothing reads as present until
  it is saved
- fix: the roster renders before the saved marks load, and a tap in that
  gap was overwritten by them; the buttons now wait for the marks
- the roll call panel opens wide so the status buttons sit on one line
- tests: teacher row rights, one-tap save without refetch, mark the rest
  present skips marked rows, a failed save reverts
test: 🧱 guard the UI rules against drifting back - ui-conventions.test.ts scans src for raw <table> outside ui/, text below 11px, colored text off the -text tokens, window.history.back and native browser dialogs - it caught two more: the 404 page's back button also left the app (now the shared useGoBack hook, which the shell uses too), and the insight run report's table, kept on purpose as a print documentBurak Boduroğlu · 5a6a011
test: 🧱 guard the UI rules against drifting back
- ui-conventions.test.ts scans src for raw <table> outside ui/, text
  below 11px, colored text off the -text tokens, window.history.back and
  native browser dialogs
- it caught two more: the 404 page's back button also left the app (now
  the shared useGoBack hook, which the shell uses too), and the insight
  run report's table, kept on purpose as a print document
feat: 🛟 the unsaved-input guard covers every form panel - guardUnsaved on 37 create/edit side panels: users, schools, blueprints, subjects, notes, homework and grading, sessions, academic years, terms, appointments, bank questions, classes, courses, events, exam edit and grading, meals, payments, profiles, staff work, whiteboards - left off: single-person pickers (little to lose), the multi-step exam create panels past their first step, and read-only panelsBurak Boduroğlu · b507ba2
feat: 🛟 the unsaved-input guard covers every form panel
- guardUnsaved on 37 create/edit side panels: users, schools, blueprints,
  subjects, notes, homework and grading, sessions, academic years, terms,
  appointments, bank questions, classes, courses, events, exam edit and
  grading, meals, payments, profiles, staff work, whiteboards
- left off: single-person pickers (little to lose), the multi-step exam
  create panels past their first step, and read-only panels
docs: 🗺️ navigation and token docs match the app - navigation-patterns: the real per-role group tree, module filtering, the mobile bar ids, the back button and route error behaviour, and the management pages in place of a /school hub that never existed - detail pages use breadcrumbs, not in-page back buttons - tokens: the shadcn and surface-* names are aliases; new code uses shadcnBurak Boduroğlu · 1747ea7
docs: 🗺️ navigation and token docs match the app
- navigation-patterns: the real per-role group tree, module filtering,
  the mobile bar ids, the back button and route error behaviour, and the
  management pages in place of a /school hub that never existed
- detail pages use breadcrumbs, not in-page back buttons
- tokens: the shadcn and surface-* names are aliases; new code uses shadcn
refactor: 📋 report card and marks tables use DataTable - the karne lines and the marks overview were the last raw <table>s in domain code; they now render through DataTable (no pager, sort or column menu), so they share its styling and get the phone card layout - fix: the marks overview column holding the "open section" link was headed "Teacher"; it is headed by the section nowBurak Boduroğlu · 50506d2
refactor: 📋 report card and marks tables use DataTable
- the karne lines and the marks overview were the last raw <table>s in
  domain code; they now render through DataTable (no pager, sort or
  column menu), so they share its styling and get the phone card layout
- fix: the marks overview column holding the "open section" link was
  headed "Teacher"; it is headed by the section now
feat(notes): render and export the extracted RAG passages in the AI output drawerAhmet Kaan Gümüş · 2decb6a
feat(notes): render and export the extracted RAG passages in the AI output drawer

The stored payload's `passages` list — the indexed chunks the service has
been returning — was landing in the generic field dump as JSON, so clicking
an output showed the same text as a wall of raw keys. It now has its own
section (`Çıkarılan metin` / Extracted text): each passage shows its source
(attachment name via `files[]`, the note title for the note's own body
chunks, a neutral label otherwise — never a raw id), its page range when the
service recorded one, and its verbatim text with line breaks kept —
scrollable past a height cap on screen, flowed out in full for print.

`passages_truncated` renders the honest sentence with the total from
`chunks`. Copy / Download (.md) / Print build the same section, in the same
order, from the same document reader, so the export cannot diverge from the
view. Stored rows without `passages` keep the previous rendering and render
no section.
style: 🔎 no text below 11px except avatar initials - 75 uses of 8, 9 and 10px text (nav 'soon' chips, calendar month chips, chart ticks, heatmap labels, message badges, kbd hints) move to 11px - the 16px and 24px initial circles keep 10px so two letters still fit - 12px stays the aim; dense chips and calendar cells need a visual pass before going furtherBurak Boduroğlu · 41a3aba
style: 🔎 no text below 11px except avatar initials
- 75 uses of 8, 9 and 10px text (nav 'soon' chips, calendar month chips,
  chart ticks, heatmap labels, message badges, kbd hints) move to 11px
- the 16px and 24px initial circles keep 10px so two letters still fit
- 12px stays the aim; dense chips and calendar cells need a visual pass
  before going further
style: 🧷 one icon per meaning in the navigation - the clock marked six different items and one calendar glyph marked years, terms, events and the calendar, so the collapsed sidebar could not tell them apart - appointments: handshake; pomodoro and student pomodoros: timer; own work log: clock-user; study plans: list-checks; events: calendar-star; academic years: calendar-blank; terms: calendar-check - seven Phosphor icons added the same way as the rest (local SVG urls)Burak Boduroğlu · e81f14e
style: 🧷 one icon per meaning in the navigation
- the clock marked six different items and one calendar glyph marked
  years, terms, events and the calendar, so the collapsed sidebar could not
  tell them apart
- appointments: handshake; pomodoro and student pomodoros: timer; own
  work log: clock-user; study plans: list-checks; events: calendar-star;
  academic years: calendar-blank; terms: calendar-check
- seven Phosphor icons added the same way as the rest (local SVG urls)