forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on dcf123a8823bd55f0a656ce94de6b865f41dc08aFiltered to vite.config.tsClear filter

2026-09-17

chore: 🔌 point the dev proxy at the public backend by default - `bun run dev` now works without a local Rust backend; opt into one with BACKEND_ORIGIN=http://127.0.0.1:7656 - keep stripping /api for direct backends and leave it alone for the public frontend origin, which terminates /api itselfBurak Boduroğlu · 896684b
chore: 🔌 point the dev proxy at the public backend by default
- `bun run dev` now works without a local Rust backend; opt into one with
  BACKEND_ORIGIN=http://127.0.0.1:7656
- keep stripping /api for direct backends and leave it alone for the public
  frontend origin, which terminates /api itself

2026-09-15

fix: 📱 restore mobile dialogs and menus above the nav sheet - bump Dialog, AlertDialog, SidePanel, menus, popovers and tooltips to z-70 so they sit above the always-mounted mobile nav sheet (z-60) - closed nav sheet now uses pointer-events-none; visibility:hidden alone left pointer-events:auto and could swallow taps on some WebViews - account menu in the sheet opens top-start (was off-screen at right-end) and Settings closes the sheet before opening the shared profile dialog - AlertDialog centering shell matches Dialog (pointer-events-none shell, auto on content); SidePanel close button gets an explicit aria-label - vite /api proxy keeps the /api prefix against hezarfen.dizey.sh so the documented default BACKEND_ORIGIN reaches the API instead of SPA HTMLBurak Boduroğlu · 5ed74b2
fix: 📱 restore mobile dialogs and menus above the nav sheet
- bump Dialog, AlertDialog, SidePanel, menus, popovers and tooltips to
  z-70 so they sit above the always-mounted mobile nav sheet (z-60)
- closed nav sheet now uses pointer-events-none; visibility:hidden alone
  left pointer-events:auto and could swallow taps on some WebViews
- account menu in the sheet opens top-start (was off-screen at right-end)
  and Settings closes the sheet before opening the shared profile dialog
- AlertDialog centering shell matches Dialog (pointer-events-none shell,
  auto on content); SidePanel close button gets an explicit aria-label
- vite /api proxy keeps the /api prefix against hezarfen.dizey.sh so the
  documented default BACKEND_ORIGIN reaches the API instead of SPA HTML
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
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-23

✨ feat(container): serve the SPA with Bun, drop nginxAhmet Kaan Gümüş · 4f9c8ec
✨ feat(container): serve the SPA with Bun, drop nginx

Replace the nginx serving stage with a small Bun.serve script (server.ts)
that serves the built dist/ and reverse-proxies /api/* to the backend —
both plain HTTP and the exam-room WebSocket (forwarding the session
cookie), stripping the /api prefix exactly as nginx did. Same-origin is
preserved, so no CORS/cookie changes. (nginx.conf + its whitelist test
were removed in the prior commit.)

Multi-stage Containerfile: bun build -> bun:1-slim runtime running
server.ts (no node_modules — server.ts uses only Bun built-ins).
BACKEND_ORIGIN points the proxy at the backend on the compose network;
healthcheck moves to a bun one-liner (slim image has no curl). Verified
end-to-end under podman compose: SPA + asset caching + /api proxy + a
live exam WS state frame round-tripping through the bridge on :5173.
fix: 🐛 stop Chromium dev-reload cache deadlockAhmet Kaan Gümüş · c19a9d5
fix: 🐛 stop Chromium dev-reload cache deadlock

Chromium 150's HTTP cache wedges after a handful of reloads of a page that
fans out to ~230 separately-served, no-cache-revalidated dev modules
(kobalte/corvu ship unbundled): its cache entries lock and every later
request queues in the browser forever, so the tab never returns until a
fresh URL is opened in another tab. Serve dev responses no-store so the
browser never creates the entries. Dev-only; the production build is
served by nginx with its own cache headers.

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
feat: ✨ live exams, Turkish i18n, and mobile tab barAhmet Kaan Gümüş · 7024736
feat: ✨ live exams, Turkish i18n, and mobile tab bar

- mirror the backend exam contract: schedule fields, attempts,
  questions/answers, live monitor, /time clock sync, ws proxy
- exam scheduling UI in plain words with client-side window validation
- teacher question authoring: choice/written, points, correct pick
- student exam room: server-judged countdown, WebSocket autosave with
  REST fallback, two-step turn-in, review after submit or expiry
- teacher live monitor over SSE with answer sheets, auto-score
  suggestion, and inline grading
- full English/Turkish dictionaries, persisted toggle, localized dates,
  document lang so Turkish casing renders İ correctly
- weight badges speak plain words ("counts ×2" / "×2 sayılır")
- bottom tab bar within thumb reach on small screens

2026-07-11

chore: 🎉 scaffold Vite + SolidJS + TypeScript projectAhmet Kaan Gümüş · 394614a
chore: 🎉 scaffold Vite + SolidJS + TypeScript project

Set up the toolchain for the Hezarfen SPA:

- Bun for install/scripts, Vite for dev/build, tsc --noEmit for checks
- dev server proxies /api/* to the backend on 127.0.0.1:8080 so the
  session cookie stays same-origin and CORS never enters the picture
- entry HTML with dark/light theme metadata and an inline SVG favicon