forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to src/components/ui/dialog.tsxClear filter

2026-09-27

perf: ⚡ cut page-load requests and sweep UI defects across the app - the shell's notification feed resolves section labels only once the list opens, instead of ~50 reads on every page load - section labels use the instance's resolved `title` (no per-course read), one class list for class names, and walk the school class by class when a page needs more labels than there are classes; pickers share that walk. Courses page 61→12 requests, calendar 25s→2s, dashboard 137→73, exams/homework 77→24 - exam results load in full so the table search covers every row - ten-area UI sweep: pill standard on detail headers, row actions and lone buttons; 40px touch targets on phones; error and empty states where a failed read used to crash the page; raw ids, mixed-language and uppercase labels fixed; messages, notes, pomodoro, work log and studio library load as you scroll; calendar links stop reloading the app and the week view fetches its whole range; settings dialog, meals, appointments, events, insights and Çelebi layout fixes - shared scroll restore on Back (createScrollRestore) for card lists - ui-conventions skill and ui-redesign-tokens doc describe the pill, border and scroll-loading standardsBurak Boduroğlu · f04b93a
perf: ⚡ cut page-load requests and sweep UI defects across the app
- the shell's notification feed resolves section labels only once the
  list opens, instead of ~50 reads on every page load
- section labels use the instance's resolved `title` (no per-course
  read), one class list for class names, and walk the school class by
  class when a page needs more labels than there are classes; pickers
  share that walk. Courses page 61→12 requests, calendar 25s→2s,
  dashboard 137→73, exams/homework 77→24
- exam results load in full so the table search covers every row
- ten-area UI sweep: pill standard on detail headers, row actions and
  lone buttons; 40px touch targets on phones; error and empty states
  where a failed read used to crash the page; raw ids, mixed-language
  and uppercase labels fixed; messages, notes, pomodoro, work log and
  studio library load as you scroll; calendar links stop reloading the
  app and the week view fetches its whole range; settings dialog,
  meals, appointments, events, insights and Çelebi layout fixes
- shared scroll restore on Back (createScrollRestore) for card lists
- ui-conventions skill and ui-redesign-tokens doc describe the pill,
  border and scroll-loading standards

2026-09-22

feat: ✨ event roster roll call, record search, draft-first exams - event roll call lists the whole audience from /events/{id}/roster with per-row status and one save that sends changed rows in turn; event labels (Katıldı/Katılmadı/Geç geldi/Mazeretli); locked until start - new exams start as drafts; publishing one with no questions asks first - whiteboards open on the pan tool; colour and size buttons are named - command palette searches courses, exams, homework and events, loaded once per open and scoped to the user's nav; students open their profile; distinct clear and close controls - notifications go straight to their page; badge and header share one unread format - compose keeps Gönder disabled until recipient and subject are set; folder tabs fit on phones; compose labels come from i18n - every non-nav "Yakında" tab, button, panel and field is removed - table headers stay centred while cells read from the left; frozen column seams only show when the table actually scrolls sideways - student lists order class by class (9-A, 9-B, 10-A…), then by name - success trend axis shows dates or exam positions instead of overlapping titles; chart numbers use the locale's decimal - insights grid columns fit their headers and the date without clipping - register shows password, confirmation and school-code hints inline; combobox screen-reader text is translated - docs: sitemap rebuilt from the router; backend request for attendance and pomodoro summary endpointsBurak Boduroğlu · 691fcf8
feat: ✨ event roster roll call, record search, draft-first exams
- event roll call lists the whole audience from /events/{id}/roster with
  per-row status and one save that sends changed rows in turn; event
  labels (Katıldı/Katılmadı/Geç geldi/Mazeretli); locked until start
- new exams start as drafts; publishing one with no questions asks first
- whiteboards open on the pan tool; colour and size buttons are named
- command palette searches courses, exams, homework and events, loaded
  once per open and scoped to the user's nav; students open their
  profile; distinct clear and close controls
- notifications go straight to their page; badge and header share one
  unread format
- compose keeps Gönder disabled until recipient and subject are set;
  folder tabs fit on phones; compose labels come from i18n
- every non-nav "Yakında" tab, button, panel and field is removed
- table headers stay centred while cells read from the left; frozen
  column seams only show when the table actually scrolls sideways
- student lists order class by class (9-A, 9-B, 10-A…), then by name
- success trend axis shows dates or exam positions instead of
  overlapping titles; chart numbers use the locale's decimal
- insights grid columns fit their headers and the date without clipping
- register shows password, confirmation and school-code hints inline;
  combobox screen-reader text is translated
- docs: sitemap rebuilt from the router; backend request for attendance
  and pomodoro summary endpoints

2026-09-18

feat: 🛟 side panels ask before throwing input away - SidePanel takes dirty (explicit) or guardUnsaved (any input or change inside counts); Escape, an outside click or the close button then open a discard confirm, while a submit or explicit Cancel still closes directly - pilot: class create, meal publish and the exam create details step - fix: a press inside the confirm read as an outside click to the non-modal panel and reopened the confirm - fix: Kobalte hands plain dialogs the alertdialog role whenever an AlertDialog is in the tree; SidePanel and Dialog set role=dialog - fix: ConfirmDialog's cancel button was announced as an English "Dismiss"; it now carries its visible label - SidePanel close button label moves into i18n - tests for the guard, the role and guardUnsavedBurak Boduroğlu · a69482e
feat: 🛟 side panels ask before throwing input away
- SidePanel takes dirty (explicit) or guardUnsaved (any input or change
  inside counts); Escape, an outside click or the close button then open a
  discard confirm, while a submit or explicit Cancel still closes directly
- pilot: class create, meal publish and the exam create details step
- fix: a press inside the confirm read as an outside click to the
  non-modal panel and reopened the confirm
- fix: Kobalte hands plain dialogs the alertdialog role whenever an
  AlertDialog is in the tree; SidePanel and Dialog set role=dialog
- fix: ConfirmDialog's cancel button was announced as an English
  "Dismiss"; it now carries its visible label
- SidePanel close button label moves into i18n
- tests for the guard, the role and guardUnsaved

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

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: 🎨 migrate the app onto the Figma design systemBurak Boduroğlu · b2d57d2
feat: 🎨 migrate the app onto the Figma design system

- semantic light/dark aliases with the landing page's #00ADD8 brand
  override and the pixel-wing logo mark; user-selected accents stay
  authoritative over the default brand
- desktop shell geometry at the 1440px reference: 260px sidebar, 45px top
  bar, 34px nav rows, 30px sub-nav rows, 1100px content area
- controls settle on 36px base button/input, 26px small button, 20px
  badge pill, 32px tab, so per-call-site h-10/rounded-* overrides go away
- 39 shared glyphs compiled from the pinned @phosphor-icons/core Regular
  sources; app-specific Lucide-style icons stay
- /login matches the SYS-01 480px standalone panel, keeping the current
  username/password contract
- desktop composition across courses, homework, exams, question bank,
  classes, admin users, payments, settings, staff work, work log, meals,
  messages, whiteboards and the teacher report screens: raw palette
  colors give way to success/warning/destructive and the surface/border
  aliases, tables pin their actions column to 110px at a 45px row, and
  ad-hoc tinted section shells defer to data-shell
- student mobile: the 7-tab course detail scrolls horizontally below sm
  instead of wrapping to four cramped rows, nested report tables drop
  their min-width, and the whiteboard's three floating toolbar islands
  reflow into one wrapping bar under 640px where they used to overlap
- docs/ui/figma-migration-coverage.md records route-level coverage and
  the features held back for want of a backend contract

Figma screens that show mastery scores, AI risk tags, streaks, occupancy
bars and work-quality ratings are deliberately not built: the API exposes
none of it, and the alternative is a page of invented numbers. Export and
discard buttons with nothing behind them are left out for the same reason.

2026-08-23

fix: 📱 theme the system chrome, keep typed text readable, stop false save errors - pin color-scheme per theme instead of letting the meta tag follow the OS: the caret, the selection handles and the overscroll canvas were painted from the phone's setting, so a dark app on a light phone drew a black caret in a black field and rubber-banding past the end of a list showed a white strip under the composer - paint <html> with the theme background and stop overscroll chaining, so the strip revealed below the last element matches the page - keep the system bars in the theme: a theme-color meta, set before first paint from the boot script and repainted from --background on every theme change - name color, caret and selection on form controls, and re-assert the placeholder's own fill, which the field's -webkit-text-fill-color would otherwise inherit over - interactive-widget=resizes-content: the soft keyboard now shrinks the layout viewport, so a fixed panel's composer stays above the keys - Çelebi: the composer strip is opaque rather than a gradient the last message showed through, the transcript follows new messages while the reader is at the bottom, and the thread chips get real icons and states - the command palette hands its initial focus to the query field; the dialog's focus trap used to swallow the focus() queued from an effect - classes: a refetch that fails after a successful write no longer reports the write as failed, and a failed reload of one class no longer replaces the whole page with an error screen while the class is in handBurak Boduroğlu · 4d56b03
fix: 📱 theme the system chrome, keep typed text readable, stop false save errors
- pin color-scheme per theme instead of letting the meta tag follow the OS:
  the caret, the selection handles and the overscroll canvas were painted
  from the phone's setting, so a dark app on a light phone drew a black
  caret in a black field and rubber-banding past the end of a list showed
  a white strip under the composer
- paint <html> with the theme background and stop overscroll chaining, so
  the strip revealed below the last element matches the page
- keep the system bars in the theme: a theme-color meta, set before first
  paint from the boot script and repainted from --background on every
  theme change
- name color, caret and selection on form controls, and re-assert the
  placeholder's own fill, which the field's -webkit-text-fill-color would
  otherwise inherit over
- interactive-widget=resizes-content: the soft keyboard now shrinks the
  layout viewport, so a fixed panel's composer stays above the keys
- Çelebi: the composer strip is opaque rather than a gradient the last
  message showed through, the transcript follows new messages while the
  reader is at the bottom, and the thread chips get real icons and states
- the command palette hands its initial focus to the query field; the
  dialog's focus trap used to swallow the focus() queued from an effect
- classes: a refetch that fails after a successful write no longer reports
  the write as failed, and a failed reload of one class no longer replaces
  the whole page with an error screen while the class is in hand
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

2026-07-30

feat: ✨ align UI and table workflowsBurak Boduroğlu · 23adf31
feat: ✨ align UI and table workflows

- apply bDash tokens across shared controls and application shell
- add compact persistent tables, pagination, and sticky actions
- add durable detail routes and operational side panels

2026-07-28

fix(ui): 🔁 default dialog dismiss on outside/ESC, add side-panel-body class to form dialog - toggle default: dismiss on backdrop/ESC unless dismissable=false - add side-panel-body class to FormDialog body - add test: dialog closes on backdrop pressBurak Boduroğlu · c484f9e
fix(ui): 🔁 default dialog dismiss on outside/ESC, add side-panel-body class to form dialog
- toggle default: dismiss on backdrop/ESC unless dismissable=false
- add side-panel-body class to FormDialog body
- add test: dialog closes on backdrop press

2026-07-24

feat: 📅 appointment booking, calendar sync, cancel/reject records - mirror the backend appointments contract: 12 endpoints under src/api/appointments (publish/list/delete slots, book, list, approve/reject/cancel, reschedule + accept/decline), types + LIMITS, full API tests - /appointments page, role-scoped: teachers publish one-off/weekly-repeat slots and manage requests; students/parents book, cancel, accept or decline a reschedule - publish/book/reschedule side panels; client-side 52-occurrence cap and future-time validation; errors surface inside the panel - calendar sync: appointments layered into the month calendar grid and the right-nav calendar panel (violet accent, .latest reads, 30s poll) - cancel + reject capture an optional reason; ConfirmDialog gains a reason prompt, a configurable icon, and opt-in backdrop dismiss - cancellation/rejection record (who + reason) shown in a Details dialog from the row's three-dot menu - appointment-status + datetime-input lib helpers; EN/TR i18n; nav item in the classes and parent groups; role-scope-matrix docAhmet Kaan Gümüş · d50ee5b
feat: 📅 appointment booking, calendar sync, cancel/reject records
- mirror the backend appointments contract: 12 endpoints under
  src/api/appointments (publish/list/delete slots, book, list,
  approve/reject/cancel, reschedule + accept/decline), types + LIMITS,
  full API tests
- /appointments page, role-scoped: teachers publish one-off/weekly-repeat
  slots and manage requests; students/parents book, cancel, accept or
  decline a reschedule
- publish/book/reschedule side panels; client-side 52-occurrence cap and
  future-time validation; errors surface inside the panel
- calendar sync: appointments layered into the month calendar grid and the
  right-nav calendar panel (violet accent, .latest reads, 30s poll)
- cancel + reject capture an optional reason; ConfirmDialog gains a reason
  prompt, a configurable icon, and opt-in backdrop dismiss
- cancellation/rejection record (who + reason) shown in a Details dialog
  from the row's three-dot menu
- appointment-status + datetime-input lib helpers; EN/TR i18n; nav item in
  the classes and parent groups; role-scope-matrix doc
chore: ⬆️ update all dependencies; migrate Tailwind v3 → v4 - bump within-range: @tanstack/solid-router 1.170.18, @kobalte/core 0.13.12, solid-js 1.9.14, tailwind-merge 3.6.0, autoprefixer/postcss/ vite-plugin-solid patches - @types/node 24 → 26 (types only) - vite 6 → 8: no config change needed; build/proxy/alias intact, vitest 4 stays compatible (246 tests green) - tailwindcss 3 → 4 via official @tailwindcss/upgrade codemod: - CSS-first config: theme moved into @theme in src/index.css, tailwind.config.js deleted, dark selector kept via @custom-variant - postcss plugin tailwindcss → @tailwindcss/postcss; autoprefixer removed (v4 built-in) - 81 files auto-migrated: shadow-sm→shadow-xs, min-w-[7.5rem]→min-w-30, /[0.08]→/8 opacity shorthand, data-[expanded]:→data-expanded: - fix codemod false-positive: it rewrote the cva variant="outline" prop string to "outline-solid" in role-badge, course-sessions-panel, my-students-page — reverted to "outline" - verified emitted CSS carries the renamed utilities (data-expanded, color-mix opacity, var(--color-*), shadow-xs)Ahmet Kaan Gümüş · b085a74
chore: ⬆️ update all dependencies; migrate Tailwind v3 → v4
- bump within-range: @tanstack/solid-router 1.170.18, @kobalte/core
  0.13.12, solid-js 1.9.14, tailwind-merge 3.6.0, autoprefixer/postcss/
  vite-plugin-solid patches
- @types/node 24 → 26 (types only)
- vite 6 → 8: no config change needed; build/proxy/alias intact,
  vitest 4 stays compatible (246 tests green)
- tailwindcss 3 → 4 via official @tailwindcss/upgrade codemod:
  - CSS-first config: theme moved into @theme in src/index.css,
    tailwind.config.js deleted, dark selector kept via @custom-variant
  - postcss plugin tailwindcss → @tailwindcss/postcss; autoprefixer
    removed (v4 built-in)
  - 81 files auto-migrated: shadow-sm→shadow-xs, min-w-[7.5rem]→min-w-30,
    /[0.08]→/8 opacity shorthand, data-[expanded]:→data-expanded:
  - fix codemod false-positive: it rewrote the cva variant="outline"
    prop string to "outline-solid" in role-badge, course-sessions-panel,
    my-students-page — reverted to "outline"
- verified emitted CSS carries the renamed utilities (data-expanded,
  color-mix opacity, var(--color-*), shadow-xs)

2026-07-22

style: 💄 apply HIG polish to shared UIBurak Boduroğlu · 20c2a2a
style: 💄 apply HIG polish to shared UI

- align shared dialogs, inputs, toasts, pagination, and date picker with rounded frosted surfaces and larger touch targets

- soften dashboard into grouped cards, remove decorative jiggle/float motion, and add a live status dot beside the date

- tighten mobile safe-area spacing and sidebar account menu styling

- sync UI token docs with current Apple-style palette, typography, radius, and overlay rules

2026-07-20

refactor: 👤 profile dialog replaces standalone /profile page and inline prefsBurak Boduroğlu · 4699896
refactor: 👤 profile dialog replaces standalone /profile page and inline prefs

- sidebar-account/user-menu: Edit profile now opens AccountProfileDialog
  instead of navigating to /profile route
- admin-users-page: row click opens FormDialog with ProfileForm,
  reuses patchUserProfile (covers all fields incl theme/language)
- UserTable: onRowClick prop + DataTable row-level click handler
- delete patchUserPreferences and UserPreferencesActions (replaced by
  patchUserProfile + ProfileForm reuse)
- profile-form: optional onSave prop for admin use
- dialog overlay: backdrop-blur-[2px]

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

2026-07-13

feat: ✨ improve user search and shadcn wrappersBurak Boduroğlu · 944aa14
feat: ✨ improve user search and shadcn wrappers

- document shadcn-solid as the canonical UI primitive standard

- add shadcn-style dialog, alert-dialog, combobox, and popover wrappers

- move form and confirm dialogs onto the shadcn wrapper API

- add resilient user search flows for admin users, marks lookup, enrollment, and attendance

- polish dashboard cards, page headers, and tables for the dark sidebar shell