forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to src/components/layout/mobile-nav-sheet.tsxClear filter

2026-09-21

feat: 📱 account view inside the phone menu sheet - tapping the account row in the menu sheet drills into an account view in the same sheet, with a back arrow, instead of stacking a dropdown on top of the sheet - the two views share one grid cell and slide past each other; the hidden one is inert so focus never lands off screen - the sheet reopens on the menu view - createAccountMenu holds the account actions (profile, settings, guide, language, logout) and the avatar read, shared by the desktop dropdown and the phone view so the two never list different things - SidebarAccount is desktop-only now and drops its sheet-specific propsBurak Boduroğlu · 10d1fa4
feat: 📱 account view inside the phone menu sheet
- tapping the account row in the menu sheet drills into an account view
  in the same sheet, with a back arrow, instead of stacking a dropdown on
  top of the sheet
- the two views share one grid cell and slide past each other; the
  hidden one is inert so focus never lands off screen
- the sheet reopens on the menu view
- createAccountMenu holds the account actions (profile, settings, guide,
  language, logout) and the avatar read, shared by the desktop dropdown
  and the phone view so the two never list different things
- SidebarAccount is desktop-only now and drops its sheet-specific props

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

2026-09-18

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
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

fix: 📱 mobile menu X and profile navigation - drag-to-dismiss only binds to the grab handle, so the sheet close button is no longer under setPointerCapture and receives taps on touch devices - startDrag also ignores pointerdowns that begin on buttons/links as a second guard if interactive controls move back into a drag surface - SidebarAccount calls onNavigateAway before profile/guide/logout routes, so the mobile sheet closes instead of covering /profile/meBurak Boduroğlu · f45dd35
fix: 📱 mobile menu X and profile navigation
- drag-to-dismiss only binds to the grab handle, so the sheet close button
  is no longer under setPointerCapture and receives taps on touch devices
- startDrag also ignores pointerdowns that begin on buttons/links as a
  second guard if interactive controls move back into a drag surface
- SidebarAccount calls onNavigateAway before profile/guide/logout routes,
  so the mobile sheet closes instead of covering /profile/me
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: 🧩 shared pickers everywhere, live sidebar highlight, app dialogs - Select renders the app dropdown menu over a hidden native select, so all 27 call sites share one design and keep form/test semantics; dashboard raw selects and meal date inputs move to Select and DatePicker - ad-hoc search inputs on classes, staff work and boards use DataTableSearch - Çelebi rename/delete use ConfirmDialog instead of prompt()/confirm(); ConfirmDialog prompt gains initialValue and a single-line mode - sidebar and mobile menu row styles are reactive, so the active row follows client-side navigation; a folded section opens on arrival, can be folded again, and scrolls into view when opened - page and route loading spinners are vertically centered - work log actions read "İşe başla" / "İşi bitir"Burak Boduroğlu · 6f75024
fix: 🧩 shared pickers everywhere, live sidebar highlight, app dialogs
- Select renders the app dropdown menu over a hidden native select, so all
  27 call sites share one design and keep form/test semantics; dashboard
  raw selects and meal date inputs move to Select and DatePicker
- ad-hoc search inputs on classes, staff work and boards use DataTableSearch
- Çelebi rename/delete use ConfirmDialog instead of prompt()/confirm();
  ConfirmDialog prompt gains initialValue and a single-line mode
- sidebar and mobile menu row styles are reactive, so the active row follows
  client-side navigation; a folded section opens on arrival, can be folded
  again, and scrolls into view when opened
- page and route loading spinners are vertically centered
- work log actions read "İşe başla" / "İşi bitir"

2026-09-12

fix: ⌨️ solid focus rings and sheet keyboard flow in both themes - focus utilities used translucent ring-*/NN colors; rings are now solid ring-ring across button/input/textarea/select/combobox/badge/tabs/dialog, side-panel, date-picker, celebi surfaces and the dashboard hero search - light-theme --ring is Figma brand-ink: brand blue was 2.5:1 on light surfaces, below the 3:1 non-text minimum; dark keeps brand at 7.3:1 - sidebar account drops its weak dark white/30 ring override for the brand ring - mobile nav sheet parks focus on its close button when opened, closes on Escape, and returns focus to the Menü trigger on dismiss - both deferred Figma-closure checks (focus-contrast, mobile keyboard tour) verified green against test-okulu via throwaway Playwright toursBurak Boduroğlu · 2bb150c
fix: ⌨️ solid focus rings and sheet keyboard flow in both themes
- focus utilities used translucent ring-*/NN colors; rings are now solid
  ring-ring across button/input/textarea/select/combobox/badge/tabs/dialog,
  side-panel, date-picker, celebi surfaces and the dashboard hero search
- light-theme --ring is Figma brand-ink: brand blue was 2.5:1 on light
  surfaces, below the 3:1 non-text minimum; dark keeps brand at 7.3:1
- sidebar account drops its weak dark white/30 ring override for the brand ring
- mobile nav sheet parks focus on its close button when opened, closes on
  Escape, and returns focus to the Menü trigger on dismiss
- both deferred Figma-closure checks (focus-contrast, mobile keyboard tour)
  verified green against test-okulu via throwaway Playwright tours
feat: 🧭 rebuild the navigation tree from the Figma designBurak Boduroğlu · 0691d47
feat: 🧭 rebuild the navigation tree from the Figma design

- the sidebar was an information architecture of its own invention —
  Today, Education, Academics, Planning, Workspace, Community — against a
  design that groups the same routes under Operasyon, Yapay zekâ and
  Kurum; all four role trees now carry Figma's groups, labels and order
- every menu entry the design names is present, including the ones no API
  can serve yet: they wear a "yakında" badge and resolve to a shared
  coming-soon page rather than a half-drawn screen
- entries whose label implies a screen we already have reuse that route
  instead of inventing one: Ders programı is /calendar, Tahta is
  /whiteboards, Veli iletişimi is /messages, Mesai is /work
- Çelebi and Ayarlar open the panel and the profile dialog in place, so
  they no longer need a URL of their own
- the design nests Soru bankası and Optik okuma under Sınavlar; the
  sidebar's data model is group-then-item, so that third level is
  flattened for now
- manager keeps the admin tree minus the three admin-only Kurum entries,
  and every route guard is untouched: regrouping a menu must not widen
  anyone's access

Walked as admin, teacher, student and parent at 1440px and 393px, in both
languages. Page composition still follows the old layouts — that is the
next pass.

2026-09-11

feat: ✨ add module and note intelligence workflowsBurak Boduroğlu · d2570ac
feat: ✨ add module and note intelligence workflows

- add module catalog APIs and shared module context

- add course-note RAG retrieval and output deletion flows

- add term archive controls and blueprint status integration

- refine responsive navigation, settings, and note panels

- extend API and navigation test coverage

2026-08-23

fix: 📱 keep modal surfaces out from under the system bars - side panels, dialogs and alert dialogs are positioned against the raw viewport, so on a phone their header — title and close button — sat under the status bar and their footer behind the gesture bar; a form that opens with no visible way to close it reads as the app having frozen - all three now inset themselves by the safe area, and dialogs cap their height at the inset box instead of 90vh so a tall one is never clipped - the gesture-bar height is read from the shell's HezarfenShell bridge in the boot script rather than waiting to be pushed in: a value pushed into a document dies with that document, so a reload lost the inset and the tab bar dropped back under the gesture pill - the nav sheet is only role=dialog while it is open — mounted permanently, it was answering every [role=dialog] query and sitting in the accessibility tree beside whatever modal was really openBurak Boduroğlu · a6408c3
fix: 📱 keep modal surfaces out from under the system bars
- side panels, dialogs and alert dialogs are positioned against the raw
  viewport, so on a phone their header — title and close button — sat under
  the status bar and their footer behind the gesture bar; a form that opens
  with no visible way to close it reads as the app having frozen
- all three now inset themselves by the safe area, and dialogs cap their
  height at the inset box instead of 90vh so a tall one is never clipped
- the gesture-bar height is read from the shell's HezarfenShell bridge in
  the boot script rather than waiting to be pushed in: a value pushed into
  a document dies with that document, so a reload lost the inset and the
  tab bar dropped back under the gesture pill
- the nav sheet is only role=dialog while it is open — mounted permanently,
  it was answering every [role=dialog] query and sitting in the
  accessibility tree beside whatever modal was really open
feat: 📱 day/week/month calendar, and a denser menu sheet - the calendar gains a day / week / month switch: the month grid alone is unreadable at 45px a cell, so a phone can now zoom to a week strip of seven tappable days or to one day's list, and the arrows step by whatever view is on screen - month cells mark their days with category dots on phones and keep the titled chips from sm: up, where they fit - the menu sheet is compact: 28px icon tiles, 40px rows, and a hairline between groups instead of a gap, so a group reads as a block and ten entries fit where six did - the tab that opens it is labelled Menu, which is what it opens — it was called Account but never showed oneBurak Boduroğlu · 4448c06
feat: 📱 day/week/month calendar, and a denser menu sheet
- the calendar gains a day / week / month switch: the month grid alone is
  unreadable at 45px a cell, so a phone can now zoom to a week strip of
  seven tappable days or to one day's list, and the arrows step by whatever
  view is on screen
- month cells mark their days with category dots on phones and keep the
  titled chips from sm: up, where they fit
- the menu sheet is compact: 28px icon tiles, 40px rows, and a hairline
  between groups instead of a gap, so a group reads as a block and ten
  entries fit where six did
- the tab that opens it is labelled Menu, which is what it opens — it was
  called Account but never showed one
feat: 📱 swipe the menu sheet away, and fit messages on a phone - the sheet now closes by dragging it down past 96px, not only by the X: the grab area drives it, so a flick inside the list still scrolls - message rows stack on phones — sender and time, subject, snippet — since a 40px line cannot hold five columns at 412px wide; the dense single-line row is unchanged from sm: up, and the row's hover actions give way to the ones in the opened message - the messages toolbar stacks, the detail action bar scrolls sideways, and the compose box becomes a full-width bottom sheet with the gesture-bar inset instead of a docked window - the list card no longer forces calc(100vh-7rem) on phones, where the tab bar makes that taller than the screen - the command palette's keyboard legend (arrows, enter, escape) is hidden on phones, which have none of those keysBurak Boduroğlu · 76992e4
feat: 📱 swipe the menu sheet away, and fit messages on a phone
- the sheet now closes by dragging it down past 96px, not only by the X:
  the grab area drives it, so a flick inside the list still scrolls
- message rows stack on phones — sender and time, subject, snippet — since
  a 40px line cannot hold five columns at 412px wide; the dense single-line
  row is unchanged from sm: up, and the row's hover actions give way to the
  ones in the opened message
- the messages toolbar stacks, the detail action bar scrolls sideways, and
  the compose box becomes a full-width bottom sheet with the gesture-bar
  inset instead of a docked window
- the list card no longer forces calc(100vh-7rem) on phones, where the tab
  bar makes that taller than the screen
- the command palette's keyboard legend (arrows, enter, escape) is hidden on
  phones, which have none of those keys
feat: 📱 bottom sheet menu on phones, and keep the tab bar on messages - the side drawer is replaced by a sheet that rises from the bottom of the screen, where a thumb already is: grab handle, title row, grouped links with icon tiles, max-h-[75vh] scroll area, account block pinned below it - the sheet stays mounted and translates off-screen when closed, so both opening and closing animate instead of snapping in one frame - the tab bar hid on every wide() route, which silently took the bottom navigation away on /messages; only the exam room goes chrome-free now - the content's bottom padding grew with the tab bar: it reserves the gesture-bar inset too, so the last card is no longer cut offBurak Boduroğlu · e1e53ae
feat: 📱 bottom sheet menu on phones, and keep the tab bar on messages
- the side drawer is replaced by a sheet that rises from the bottom of the
  screen, where a thumb already is: grab handle, title row, grouped links
  with icon tiles, max-h-[75vh] scroll area, account block pinned below it
- the sheet stays mounted and translates off-screen when closed, so both
  opening and closing animate instead of snapping in one frame
- the tab bar hid on every wide() route, which silently took the bottom
  navigation away on /messages; only the exam room goes chrome-free now
- the content's bottom padding grew with the tab bar: it reserves the
  gesture-bar inset too, so the last card is no longer cut off