forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to vitest.config.tsClear filter

2026-09-19

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

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

2026-09-15

2026-08-23

feat: 💬 Çelebi types its answer, follows it, and offers where to go next - the answer no longer lands in one jump: a reveal walks a character count over whatever the message holds so far, so a streamed answer types itself and one that arrives whole in the done event is still read at a pace, with a skip control, a caret while it runs, and no animation at all under prefers-reduced-motion (#57) - while an answer is pending the bubble showed only the thinking label, so the deltas that were already arriving stayed invisible until done — the label now stands in only until the first characters land - the transcript follows the newest message and every revealed character while the reader is at the bottom, and stays put once they scroll up to re-read something (#56) - render the actionable half of chat.reply: the page the answer offers to open and the follow-up questions it falls back on when it is unsure — the button navigates, a chip re-asks (#55) - the offered route is data from the backend, so safeCelebiRoute takes only an in-app path: no protocol-relative host, no javascript:, no whitespace - ChatbotMessage carries navigation/suggestions as optional fields; until the backend sends them an answer simply renders neither - vitest: solid({ hot: false }) — the plugin's solid-refresh virtual module reached node as the unresolvable file:///@solid-refresh, which failed all 18 *.test.tsx files at load; the dom project runs again (79 files green)Burak Boduroğlu · 6f30785
feat: 💬 Çelebi types its answer, follows it, and offers where to go next
- the answer no longer lands in one jump: a reveal walks a character count
  over whatever the message holds so far, so a streamed answer types itself
  and one that arrives whole in the done event is still read at a pace,
  with a skip control, a caret while it runs, and no animation at all
  under prefers-reduced-motion (#57)
- while an answer is pending the bubble showed only the thinking label, so
  the deltas that were already arriving stayed invisible until done — the
  label now stands in only until the first characters land
- the transcript follows the newest message and every revealed character
  while the reader is at the bottom, and stays put once they scroll up to
  re-read something (#56)
- render the actionable half of chat.reply: the page the answer offers to
  open and the follow-up questions it falls back on when it is unsure —
  the button navigates, a chip re-asks (#55)
- the offered route is data from the backend, so safeCelebiRoute takes only
  an in-app path: no protocol-relative host, no javascript:, no whitespace
- ChatbotMessage carries navigation/suggestions as optional fields; until
  the backend sends them an answer simply renders neither
- vitest: solid({ hot: false }) — the plugin's solid-refresh virtual module
  reached node as the unresolvable file:///@solid-refresh, which failed all
  18 *.test.tsx files at load; the dom project runs again (79 files green)

2026-08-13

test: 🧪 fix jsdom storage setupBurak Boduroğlu · 3660654
test: 🧪 fix jsdom storage setup

Bind DOM tests to a local storage implementation so preference and table suites run under Node's jsdom environment.

2026-07-25

test: 🧪 component tests, so UI behaviour can be proven at allAhmet Kaan Gümüş · 41d1040
test: 🧪 component tests, so UI behaviour can be proven at all

- the repo had no DOM environment, so every UI change was code-read
  verified only; that gap let a wrong option image, a mis-tagged
  subject and a lying save badge all ship
- add jsdom and @solidjs/testing-library as devDependencies (nothing
  ships; entry bundle is 8 bytes smaller)
- split vitest into two projects: node runs the existing *.test.ts
  untouched, dom runs *.test.tsx with the Solid transform. One
  bun run test still runs everything; the contract suite stays out
- first tests cover bugs that actually shipped: a stored subject that
  is no longer pickable shows as disabled and blocks submit, no choice
  is pre-marked correct, submit is blocked until one is, an option
  keeps its own image after the row above it is removed, and the bank
  picker refuses to insert until a subject is explicitly picked
- add data-choice-id to the choice row so a test can assert which
  option an image belongs to without coupling to styling
fix: 🏦 stable choice ids, real bank paging, private-by-default templatesAhmet Kaan Gümüş · 88492c2
fix: 🏦 stable choice ids, real bank paging, private-by-default templates

- choices become {id, text} with server-minted stable ids; correct and
  the student's selected answer name an id, never a position, and
  option images key off the id
- fix: blanking a choice above the marked one silently moved the answer
  key on graded exams — the form sent a pre-compaction index
- fix: removeChoice left correct pointing at the row that slid into the
  deleted slot
- delete the download-then-reupload image restore in both panels and
  drop src/lib/choice-compaction.ts: a PATCH now preserves images for
  every choice whose id is unchanged, so the compensating transaction
  has nothing to compensate for
- extract the choice-edit reducer to src/lib/choice-set.ts and property
  test it with fast-check (devDependency, out of the bundle): text,
  picture and correct-flag stay attached to a choice identity across
  arbitrary edit sequences
- bank list is server-paged, newest first, with server-side text search
  — it silently hid every template past the first 100 while still
  reporting saves as successful
- search folds Turkish casing: q=istanbul now finds İSTANBUL, and one
  shared table folds the needle and the column so they cannot drift
- templates are private by default with an explicit share step; the
  confirm names the consequence, since publishing hands the answer key
  to every teacher in the school and copies cannot be recalled
- source_bank splits into from_bank and banked_as, so a question added
  from the bank no longer claims it was already saved to it
- bank page shows how many exam copies a template has, and a question
  added from the bank can be refreshed from its template until the
  first attempt starts
- no more silent first-item defaults: subject and target subject must
  be picked, and an unavailable stored subject is shown, not swapped
- live contract suite (bun run test:contract) against a real backend,
  skipped without CONTRACT_BASE_URL

2026-07-21

chore: 🧪 migrate tests from bun:test to vitestBurak Boduroğlu · b0a9db1
chore: 🧪 migrate tests from bun:test to vitest

- replace bun:test imports with vitest in all 3 test files
- add vitest.config.ts with @ alias and test config
- add vitest dev dependency and test/watch npm scripts
- create src/api/__tests__/ directory for future API tests