Commits
2026-09-19
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
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
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
refactor: 🧹 one source for the deployment defaults - the defaults (PORT, HOST, BACKEND_ORIGIN) are written once, in the image ENV block in Containerfile; server.ts now refuses to boot without them instead of carrying its own copies, so a stripped image fails loudly - compose healthcheck asks the container for PORT; the deploy gate and the verify step read the running container for the port instead of parsing a second copy out of the operator file - drop deploy/Containerfile.runtime: CI now builds the repo Containerfile, so there is no CI-only twin whose base image or ENV can drift - docs follow: knobs paragraph, env example and unit header describe overrides of the image defaults rather than fallbacks scattered across filesAhmet Kaan Gümüş · 6fd81aa
refactor: 🧹 one source for the deployment defaults - the defaults (PORT, HOST, BACKEND_ORIGIN) are written once, in the image ENV block in Containerfile; server.ts now refuses to boot without them instead of carrying its own copies, so a stripped image fails loudly - compose healthcheck asks the container for PORT; the deploy gate and the verify step read the running container for the port instead of parsing a second copy out of the operator file - drop deploy/Containerfile.runtime: CI now builds the repo Containerfile, so there is no CI-only twin whose base image or ENV can drift - docs follow: knobs paragraph, env example and unit header describe overrides of the image defaults rather than fallbacks scattered across files
fix: 🔌 default the backend origin to the co-located loopback - server.ts and the vite dev proxy now default BACKEND_ORIGIN to http://127.0.0.1:7656 instead of the public origin — that is where the compose stack publishes the backend on this machine, and what the frontend container reaches under host networking - nothing in a browser bundle changes: the SPA still calls its own origin and the server owns the backend address - README: proxy note and the defaults list follow the new fallbackAhmet Kaan Gümüş · 5f63fb5
fix: 🔌 default the backend origin to the co-located loopback - server.ts and the vite dev proxy now default BACKEND_ORIGIN to http://127.0.0.1:7656 instead of the public origin — that is where the compose stack publishes the backend on this machine, and what the frontend container reaches under host networking - nothing in a browser bundle changes: the SPA still calls its own origin and the server owns the backend address - README: proxy note and the defaults list follow the new fallback
docs: 📝 point the contract URLs at the backend door - hezarfen.dizey.sh is the frontend now: it serves the SPA and proxies only /api/*, so /swagger/ and /api-docs/ there return the SPA shell - the check-api-contract skill (both copies) and the README prerequisites now name hezarfen-backend.dizey.sh, with a note that the door is temporaryAhmet Kaan Gümüş · 5c869ed
docs: 📝 point the contract URLs at the backend door - hezarfen.dizey.sh is the frontend now: it serves the SPA and proxies only /api/*, so /swagger/ and /api-docs/ there return the SPA shell - the check-api-contract skill (both copies) and the README prerequisites now name hezarfen-backend.dizey.sh, with a note that the door is temporary
fix: 🔌 host networking so the proxy reaches the backend on loopback - run the frontend with network_mode: host: a bridge network resolves 127.0.0.1 inside the container, so BACKEND_ORIGIN=http://127.0.0.1:7656 (the backend is published on the host loopback) refused every connection - drop the service ports: mapping and the environment: block — under host networking the app binds the host interface directly, and every knob now arrives through env_file with nothing shadowing it - server.ts binds HOST (default 0.0.0.0): a server sets HOST=127.0.0.1 so the app stays on loopback and the reverse proxy is the only door - docs: env example now ships BACKEND_ORIGIN/HOST/PORT for a co-located stackAhmet Kaan Gümüş · f643e6a
fix: 🔌 host networking so the proxy reaches the backend on loopback - run the frontend with network_mode: host: a bridge network resolves 127.0.0.1 inside the container, so BACKEND_ORIGIN=http://127.0.0.1:7656 (the backend is published on the host loopback) refused every connection - drop the service ports: mapping and the environment: block — under host networking the app binds the host interface directly, and every knob now arrives through env_file with nothing shadowing it - server.ts binds HOST (default 0.0.0.0): a server sets HOST=127.0.0.1 so the app stays on loopback and the reverse proxy is the only door - docs: env example now ships BACKEND_ORIGIN/HOST/PORT for a co-located stack
fix: 🔌 let the env file own BACKEND_ORIGIN - drop BACKEND_ORIGIN from the service environment: — a listed key wins over env_file, so it shadowed the operator file with the compose default on any up that omitted --env-file, which is exactly how a server ended up proxying /api to an address nobody chose - server.ts already defaults to the same public origin, so the laptop path (no env file, no flags) behaves as before while the file is now authoritative - PORT stays interpolated: the published port and the container listener are derived from one value, so it keeps both from drifting - document that env values are read at container start: a file edit needs a recreate (podman compose up -d) and not podman restartAhmet Kaan Gümüş · 8970f61
fix: 🔌 let the env file own BACKEND_ORIGIN - drop BACKEND_ORIGIN from the service environment: — a listed key wins over env_file, so it shadowed the operator file with the compose default on any up that omitted --env-file, which is exactly how a server ended up proxying /api to an address nobody chose - server.ts already defaults to the same public origin, so the laptop path (no env file, no flags) behaves as before while the file is now authoritative - PORT stays interpolated: the published port and the container listener are derived from one value, so it keeps both from drifting - document that env values are read at container start: a file edit needs a recreate (podman compose up -d) and not podman restart
chore: 🔧 podman compose stack and VPS deploy workflow - compose.yaml: one frontend service on loopback, knobs read from an external hezarfen_frontend.env (PORT moves the listener, the published port and the healthcheck together; BACKEND_ORIGIN moves the proxy target), no volumes - deploy/hezarfen_frontend.env.example: the operator-owned knobs file, written once by hand at 0600, never created or uploaded by the deploy - deploy/hezarfen_frontend_compose.service: systemd user unit that runs podman compose with both env files at boot and on restart - deploy/Containerfile.runtime: CI-only runtime image packing dist/ + server.ts, so the shipped image carries no source, node_modules or toolchain - .github/workflows/main.yml: typecheck in parallel with build-and-test (tsc, vitest, vite build, image tarball as the run artifact), then an SSH deploy that loads the image, rotates HEZARFEN_TAG in a deploy-owned stack.env, restarts the unit, and rolls back unless the new build serves the SPA shell - README: container and deploy sections, including the three SSH_* repo secrets and the loginctl enable-linger prerequisiteAhmet Kaan Gümüş · 70570e9
chore: 🔧 podman compose stack and VPS deploy workflow - compose.yaml: one frontend service on loopback, knobs read from an external hezarfen_frontend.env (PORT moves the listener, the published port and the healthcheck together; BACKEND_ORIGIN moves the proxy target), no volumes - deploy/hezarfen_frontend.env.example: the operator-owned knobs file, written once by hand at 0600, never created or uploaded by the deploy - deploy/hezarfen_frontend_compose.service: systemd user unit that runs podman compose with both env files at boot and on restart - deploy/Containerfile.runtime: CI-only runtime image packing dist/ + server.ts, so the shipped image carries no source, node_modules or toolchain - .github/workflows/main.yml: typecheck in parallel with build-and-test (tsc, vitest, vite build, image tarball as the run artifact), then an SSH deploy that loads the image, rotates HEZARFEN_TAG in a deploy-owned stack.env, restarts the unit, and rolls back unless the new build serves the SPA shell - README: container and deploy sections, including the three SSH_* repo secrets and the loginctl enable-linger prerequisite
fix: 🔌 point frontend proxy at remote backendBurak Boduroğlu · 4edb34b
fix: 🔌 point frontend proxy at remote backend - default development and production proxy traffic to https://hezarfen.dizey.sh - allow BACKEND_ORIGIN overrides for local or alternate deployments - remove the obsolete shared backend Podman network dependency - document the remote backend and Compose usage
2026-07-22
docs: 📝 update README.md with latest features, UI/UX design tokens, and route specifications - document Çelebi AI assistant, Question Bank, PDF Note Import Assistant, and .hzdraw live canvas - document unified sky-blue data-shell container, tab system redesign, and Çelebi primary button styling - expand route table, role scope matrix, and API layer architecture detailsBurak Boduroğlu · efe7cc0
docs: 📝 update README.md with latest features, UI/UX design tokens, and route specifications - document Çelebi AI assistant, Question Bank, PDF Note Import Assistant, and .hzdraw live canvas - document unified sky-blue data-shell container, tab system redesign, and Çelebi primary button styling - expand route table, role scope matrix, and API layer architecture details
docs: 📚 update AGENTS.md, README.md, and design documentation files - record Note Import Assistant rules, noise removal, and side panel navigation standards in AGENTS.md - add Note Import Assistant, DrawCanvas freehand drawing, and dashboard card reordering to README.md - update docs/frontend-next-steps.md with recent completion state for Note Import Assistant, HIG dropdown elevation, and table actions header width - add HIG dropdown squircle tokens and table actions column width standards to docs/ui-redesign-tokens.md - record header import button positioning and side panel rules in docs/navigation-patterns.mdBurak Boduroğlu · 02f8667
docs: 📚 update AGENTS.md, README.md, and design documentation files - record Note Import Assistant rules, noise removal, and side panel navigation standards in AGENTS.md - add Note Import Assistant, DrawCanvas freehand drawing, and dashboard card reordering to README.md - update docs/frontend-next-steps.md with recent completion state for Note Import Assistant, HIG dropdown elevation, and table actions header width - add HIG dropdown squircle tokens and table actions column width standards to docs/ui-redesign-tokens.md - record header import button positioning and side panel rules in docs/navigation-patterns.md
2026-07-19
feat: ✨ align backend features and unify data tablesBurak Boduroğlu · 1e2bd98
feat: ✨ align backend features and unify data tables - add course kind, capacity, draft exam, image metadata, and Pomodoro UI wiring - move list/table screens to shared TanStack DataTable with search, sorting, column visibility, and pagination - remove page-level table primitives from app screens and document DataTable rule - make student, attendance, staff-work, course, exam, term, and report tables use the same DataTable behavior - fix report lookup table loading without input-triggered fetches or invalid limit params - update Turkish sidebar labels for Notlar, Yoklamalar, and Mesailer
2026-07-17
feat: ✨ add course subjects to exam questionsBurak Boduroğlu · 4ec6b8a
feat: ✨ add course subjects to exam questions - add course subject API helpers and frontend types - manage subjects from the course detail page - require a subject when creating or editing exam questions - show question subject badges in the exam question list - update docs for subject permissions and exam question tagging
feat: ✨ mutation flash feedback across pages and docs sync - createFlash success banners on profile, work, staff-work, admin roles - course/event/exam detail, sessions, questions, note-file mutations - frontend-next-steps UX batch notes; README dashboard/empty/flash patternsBurak Boduroğlu · 86d63de
feat: ✨ mutation flash feedback across pages and docs sync - createFlash success banners on profile, work, staff-work, admin roles - course/event/exam detail, sessions, questions, note-file mutations - frontend-next-steps UX batch notes; README dashboard/empty/flash patterns
2026-07-16
feat: ✨ note attachments and side-panel notebook flow - add note file upload/download API wiring and settings limits - show note file controls in create and read flows - move notebook create, edit, and read views from dialog to side panel - fix dialog close button through the Kobalte close primitive - update docs and copy for note attachment behaviorBurak Boduroğlu · 7992c8f
feat: ✨ note attachments and side-panel notebook flow - add note file upload/download API wiring and settings limits - show note file controls in create and read flows - move notebook create, edit, and read views from dialog to side panel - fix dialog close button through the Kobalte close primitive - update docs and copy for note attachment behavior
docs: 📝 plan note file attachment frontend workBurak Boduroğlu · 2c64b3a
docs: 📝 plan note file attachment frontend work - document backend note file attachment support and minimal frontend scope - add reader-dialog attachment plan with native FormData and backend caps - refresh agent docs wording for completed audit plus follow-up notes
2026-07-15
docs: 📝 frontend audit summary in README + convert backlog to completed-state doc - README: reflect current feature set (notebook, server-time validation, event/course filters) - frontend-next-steps: convert from active backlog to completed audit summaryBurak Boduroğlu · dd92ac6
docs: 📝 frontend audit summary in README + convert backlog to completed-state doc - README: reflect current feature set (notebook, server-time validation, event/course filters) - frontend-next-steps: convert from active backlog to completed audit summary
docs: 📝 sync docs with recent UI changes (attendance, roll call, disclosures) - AGENTS.md: add project docs section referencing active docs, UI rules, disclosure behavior, attendance status metadata - README: add course detail page entry, session/attendance features, update disclosure rule - frontend-next-steps: add backend contract checkpoints, session/attendance notes, renumber priorities - navigation-patterns: add lesson session rules, update disclosure/button radius guidelines - ui-redesign-tokens: update accent/radius tokens, add attendance and header action notesBurak Boduroğlu · 533f4b2
docs: 📝 sync docs with recent UI changes (attendance, roll call, disclosures) - AGENTS.md: add project docs section referencing active docs, UI rules, disclosure behavior, attendance status metadata - README: add course detail page entry, session/attendance features, update disclosure rule - frontend-next-steps: add backend contract checkpoints, session/attendance notes, renumber priorities - navigation-patterns: add lesson session rules, update disclosure/button radius guidelines - ui-redesign-tokens: update accent/radius tokens, add attendance and header action notes
docs: 📝 add pagination and request audit plan - add pagination audit as Priority 2 in frontend-next-steps - add pagination and request rules to navigation-patterns.md - add server-side pagination note to README UI patterns - renumber subsequent priorities in frontend-next-stepsBurak Boduroğlu · 212dcef
docs: 📝 add pagination and request audit plan - add pagination audit as Priority 2 in frontend-next-steps - add pagination and request rules to navigation-patterns.md - add server-side pagination note to README UI patterns - renumber subsequent priorities in frontend-next-steps
docs: 📝 update README with role docs, UI patterns, and project structure - update README: shadcn-solid, role-based UI rules, page access descriptions, UI pattern guide, project structure, link to docs/ - update frontend-next-steps: add role-based UI audit plan, remove completed dashboard plan, adjust budgets - update navigation-patterns: add role scope rules, table action rules - update ui-redesign-tokens: add action column and separator tokens, update implementation notesBurak Boduroğlu · 085a3fd
docs: 📝 update README with role docs, UI patterns, and project structure - update README: shadcn-solid, role-based UI rules, page access descriptions, UI pattern guide, project structure, link to docs/ - update frontend-next-steps: add role-based UI audit plan, remove completed dashboard plan, adjust budgets - update navigation-patterns: add role scope rules, table action rules - update ui-redesign-tokens: add action column and separator tokens, update implementation notes
2026-07-12
fix: 🐛 separate API proxy from frontend routesBurak Boduroğlu · c4abe81
fix: 🐛 separate API proxy from frontend routes - route API traffic through /api to avoid collisions with page URLs - update Nginx and Vite proxy rules for REST and WebSocket requests - prevent missing hashed assets from falling back to index.html - document the /api proxy paths used in development
feat: ✨ rebuild Hezarfen frontend for the full campus backendBurak Boduroğlu · 4deb240
feat: ✨ rebuild Hezarfen frontend for the full campus backend - SolidJS + Vite + TanStack Router + Tailwind/shadcn-solid (Kobalte) - Session cookie auth, role guards, TR/EN i18n, light/dark theme - Notes, events + attendance status chips, admin users search/filter - Courses with roster enrollment; exams created under a course with weight - Report card (/marks) with weighted course averages and overall average - Dashboard KPIs (notes/events/exams/average), wide list panels, guide - Sidebar guide pinned above centered @Hezarfen - 2026 footer - Vite proxy for /auth /users /notes /events /exams /courses /marks
2026-07-11
docs: 📝 add READMEAhmet Kaan Gümüş · b2179ec
docs: 📝 add README Run, build, and deploy notes — the /api reverse-proxy contract and the VITE_API_URL escape hatch — plus a map of the source layout.