forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on dcf123a8823bd55f0a656ce94de6b865f41dc08aFiltered to src/app.tsxClear filter

2026-09-18

fix: 🎨 colored text reaches WCAG AA contrast - measured in light mode on the #F7F7F7 page: brand as text 2.5:1, warning 2.0:1, success 3.1:1, destructive 4.2:1 (AA needs 4.5:1) - new text tokens primary/success/warning/info/destructive-text: darker in light mode, equal to the fills in dark mode; fills stay as they are - light primary text is --brand-ink, or for a custom palette color the darkest-needed step of its hue (accentTextLightness, tested across hues) - every text-{primary,success,warning,info,destructive} utility moves to its -text token (253 uses); opacity variants stay decorative - token doc records the ruleBurak Boduroğlu · 9f9eebf
fix: 🎨 colored text reaches WCAG AA contrast
- measured in light mode on the #F7F7F7 page: brand as text 2.5:1,
  warning 2.0:1, success 3.1:1, destructive 4.2:1 (AA needs 4.5:1)
- new text tokens primary/success/warning/info/destructive-text: darker in
  light mode, equal to the fills in dark mode; fills stay as they are
- light primary text is --brand-ink, or for a custom palette color the
  darkest-needed step of its hue (accentTextLightness, tested across hues)
- every text-{primary,success,warning,info,destructive} utility moves to
  its -text token (253 uses); opacity variants stay decorative
- token doc records the rule

2026-09-15

2026-09-12

feat: 🎨 recompose the screens onto the Figma design, and name what is missingBurak Boduroğlu · 777e8b5
feat: 🎨 recompose the screens onto the Figma design, and name what is missing

- the earlier migration recolored the app but left every layout alone, so
  the pages still read as the old product wearing new tokens; the screens
  are now built to the shape their Figma frame actually shows
- classes, courses and staff work move from tables and link lists to the
  designed card grids; exams, homework, the question bank and the user
  roster gain the tab rows the design puts above them, every one computed
  from data already fetched rather than a new round trip
- the admin home becomes the designed hero: a centered heading, a live
  student search and quick-link columns over an Analitik section
- teacher, student and parent homes gain what real data supports — a
  deduped student count and the pending appointment requests addressed to
  a teacher, a week of focus minutes for a student, and for a parent a
  child selector, an attendance card and a fee-plan card
- the marks report splits into Genel and Derslere göre, attendance leads
  with the four rates the design names, and the calendar's week view is a
  real timetable instead of a strip of coloured dots
- notification panel, a branded 404, a 403 and a 500 card, and a banner
  driven by the browser's own online/offline events
- where no endpoint can fill a value, the element is drawn and marked
  "yakında" rather than dropped, so a reader can tell a missing number
  from an unbuilt feature; controls that would do nothing are disabled
  beside the badge instead of sitting there inert
- a delta arrow with no baseline and a progress bar with no ratio carry
  no information, so they are left out rather than badged; settings keeps
  its three working tabs instead of growing four empty ones
- two recurring bugs fixed again where the new layouts met them: name
  cells with no truncate overlapping the column beside them, and two raw
  rose badges that had escaped the token sweep

Every screen was walked in a browser at 1440px and 393px against its
Figma frame, as each role it belongs to. Nothing here invents a value the
API cannot serve.

2026-08-23

fix: 📱 keep content out of the status bar and the gesture bar - viewport-fit=cover plus safe-area padding on body: the Tauri shells draw the page edge to edge (Android 16 removed the opt-out), so without it the top bar sits under the clock - a fixed body::before band paints the theme background over the cutout strip at every scroll position; padding alone scrolls away and lets content reappear next to the front camera - sticky headers stick below the inset instead of under the status bar, and the mobile drawers start below it - full-height layouts measure the new --app-viewport (display minus the top inset) because on mobile the viewport is taller than the visible page - the bottom tab bar and the drawers pad by max(env(safe-area-inset-bottom), var(--android-nav-inset)): Android only reports the display cutout to CSS, so the gesture bar is invisible to env() and the shell hands its height over as --android-nav-inset - every inset is 0 in a desktop browser, so the web build is unchangedBurak Boduroğlu · d92d9c6
fix: 📱 keep content out of the status bar and the gesture bar
- viewport-fit=cover plus safe-area padding on body: the Tauri shells draw
  the page edge to edge (Android 16 removed the opt-out), so without it the
  top bar sits under the clock
- a fixed body::before band paints the theme background over the cutout
  strip at every scroll position; padding alone scrolls away and lets
  content reappear next to the front camera
- sticky headers stick below the inset instead of under the status bar, and
  the mobile drawers start below it
- full-height layouts measure the new --app-viewport (display minus the top
  inset) because on mobile the viewport is taller than the visible page
- the bottom tab bar and the drawers pad by
  max(env(safe-area-inset-bottom), var(--android-nav-inset)): Android only
  reports the display cutout to CSS, so the gesture bar is invisible to
  env() and the shell hands its height over as --android-nav-inset
- every inset is 0 in a desktop browser, so the web build is unchanged

2026-07-23

fix: 🐛 live event status + capture uncaught render errors - events-page status badge and upcoming/past filter used Date.now() once at render, so they never flipped without a page refresh; wire both filterEvents and eventStatus to the createNow() reactive clock - RootErrorFallback now console.error()s the raw error + stack before rendering the friendly one-liner, so a transient render crash can be traced after the fact instead of being swallowedAhmet Kaan Gümüş · 948c509
fix: 🐛 live event status + capture uncaught render errors
- events-page status badge and upcoming/past filter used Date.now() once
  at render, so they never flipped without a page refresh; wire both
  filterEvents and eventStatus to the createNow() reactive clock
- RootErrorFallback now console.error()s the raw error + stack before
  rendering the friendly one-liner, so a transient render crash can be
  traced after the fact instead of being swallowed
fix: 🐛 keep the app alive when /users/me failsAhmet Kaan Gümüş · e4045cc
fix: 🐛 keep the app alive when /users/me fails

A non-401 failure on the bootstrap /users/me (e.g. a 429 once the API
rate limit trips) threw out of an unguarded resource and blanked the
whole tab with no way back but a fresh tab. Now the resource swallows
every non-401 error into an error signal and resolves immediately, so it
never re-throws during render nor suspends the shell. RouteGuard shows a
translated alert with a Try-again button, a root ErrorBoundary backstops
anything else, and a non-blocking background timer auto-retries after the
server's Retry-After so the tab self-heals once the window rolls over.

2026-07-19

feat: ✨ course detail redesign, server-side pagination, session/subject count tracking - moved AuthProvider/PreferencesProvider into router root component so route-level Suspense boundaries have provider access - DataTable: manualPagination, searchValue/onSearchInput props for server-side search+paging, correct page control for external pagination - getUserMarks/getUserAttendance: strip ULID prefix, encodeURIComponent - course-detail-page: replaced manual exam list/session list/roster with DataTable, removed metric cards KPI strip, added count descriptions with countDescription() helper, add-subject button moved to disclosure - course-subjects-panel: lifted create panel state to parent, onCountChange - course-sessions-panel: replaced manual article list with DataTable, added onCountChange - student-marks-page: switched to server-side paginated search with manualPagination in DataTable - i18n: added countItem, subject/session/roster/exam item labelsBurak Boduroğlu · e600469
feat: ✨ course detail redesign, server-side pagination, session/subject count tracking
- moved AuthProvider/PreferencesProvider into router root component so
  route-level Suspense boundaries have provider access
- DataTable: manualPagination, searchValue/onSearchInput props for
  server-side search+paging, correct page control for external pagination
- getUserMarks/getUserAttendance: strip ULID prefix, encodeURIComponent
- course-detail-page: replaced manual exam list/session list/roster with
  DataTable, removed metric cards KPI strip, added count descriptions
  with countDescription() helper, add-subject button moved to disclosure
- course-subjects-panel: lifted create panel state to parent, onCountChange
- course-sessions-panel: replaced manual article list with DataTable,
  added onCountChange
- student-marks-page: switched to server-side paginated search with
  manualPagination in DataTable
- i18n: added countItem, subject/session/roster/exam item labels

2026-07-17

fix: 🐛 wrap router with auth and preferences providers - move AuthProvider/PreferencesProvider above RouterProvider in App - root route only mounts AppShell so pending shells keep contextBurak Boduroğlu · 1a9c4b9
fix: 🐛 wrap router with auth and preferences providers
- move AuthProvider/PreferencesProvider above RouterProvider in App
- root route only mounts AppShell so pending shells keep context
fix: 🐛 stabilize app providers and event attendanceBurak Boduroğlu · 36e9dc2
fix: 🐛 stabilize app providers and event attendance

- keep preferences and auth providers inside the router root route

- use a context-free router pending fallback

- remove student self-attendance controls from event detail

- filter event attendance user search to students only

- refresh event and exam copy for student-only attendance and education items
fix: 🐛 keep router devtools inside auth providerBurak Boduroğlu · f3c5b9d
fix: 🐛 keep router devtools inside auth provider

- render router devtools as a lazy component inside the app provider tree

- remove the separate Solid root that bypassed AuthProvider

2026-07-12

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

feat: ✨ wire lazy routes and mount the appAhmet Kaan Gümüş · 34b37da
feat: ✨ wire lazy routes and mount the app

app.tsx declares the route table with per-page lazy imports so the
first paint ships only the shell plus the page in view. Everything
except /login sits behind the auth gate, unknown paths fall through
to a 404 page, and index.tsx renders the app into #root.