forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to src/components/ui/empty-state.tsxClear filter

2026-09-25

feat: 🧭 centered, illustrated load-error, not-found and 404 statesBurak Boduroğlu · 233723f
feat: 🧭 centered, illustrated load-error, not-found and 404 states

- shared PageCenter layout fills the content area and centers the card on
  both axes with a 600px cap, on desktop and phones
- load error shows the message, a retry (with a countdown when the
  response carries retry-after) and a collapsible technical block with
  the cause, HTTP status, code, module, wait time, page and raw message
- record-not-found and the router 404 use the same layout and a
  not-found scene; hard-coded strings move to i18n
- new unDraw server-down scene and an `error` kind on EmptyState

2026-09-22

fix: 🐛 UX pass from desktop and phone QA - lists: the /exams pager no longer snaps back to page 1 (a fresh rows array reset TanStack's page index); DataTable owns paging and resets only on sort, search or pageResetKey - list search, page, sort, filters, detail tabs and calendar view/date live in the URL (lib/url-state.ts), so Back and refresh keep them - DataTable: aria-sort, "no results for X" empty state with a clear action, no nested scroller, unboxed column-menu-only toolbar, inline status pills on phone cards, column min widths on tablets - courses filter reads "Şube: Tümü / Şubesi olan / Şubesi olmayan"; per-tab exam empty states; upcoming events soonest first - phone shell: content clears the quick-action button, which also hides for the /ai/study and message composers; opaque search dialog; the shell title is the page h1 when a page has none; skip link lands past the header; menu sheet makes the page behind it inert - touch: variant (coarse pointer or narrow screen) keeps 16px inputs and 44px targets on landscape phones and tablets; combobox list and /ai/studio producer no longer widen the page; heatmap labels don't collide - notifications: popover focuses itself, not "Tümünü sil", which now asks first; labelled theme buttons and dismiss targets - settings no longer look dirty on load and warn before leaving with real changes; exam create preselects the current term; exam kinds and meal keys show Turkish labels - homework grading has no "Tamamlandı" default for non-submitters; class edit shows the assigned homeroom teacher; admin demotion warns - instance "Ders saati" saves on Enter/Kaydet instead of blur and the karne switch confirms first - API 404s show "Kayıt bulunamadı" with a link back to the list instead of a retry; neutral confirm/discard copy; compose asks before discarding a draft; staff on student-only pages get an explanation - homework, calendar, dashboard deadlines and notifications name the class ("Matematik — 10-B") - dashboard charts include graded exams without a start time, ordered by id creation time; class card shows student counts - "Yakında" filler columns and KPI cards removed from management lists; marks split into average, band and exam count; teachers list the courses they teach; class filter on attendance and pomodoro listsBurak Boduroğlu · 37148ac
fix: 🐛 UX pass from desktop and phone QA
- lists: the /exams pager no longer snaps back to page 1 (a fresh rows
  array reset TanStack's page index); DataTable owns paging and resets
  only on sort, search or pageResetKey
- list search, page, sort, filters, detail tabs and calendar view/date
  live in the URL (lib/url-state.ts), so Back and refresh keep them
- DataTable: aria-sort, "no results for X" empty state with a clear
  action, no nested scroller, unboxed column-menu-only toolbar, inline
  status pills on phone cards, column min widths on tablets
- courses filter reads "Şube: Tümü / Şubesi olan / Şubesi olmayan";
  per-tab exam empty states; upcoming events soonest first
- phone shell: content clears the quick-action button, which also hides
  for the /ai/study and message composers; opaque search dialog; the
  shell title is the page h1 when a page has none; skip link lands past
  the header; menu sheet makes the page behind it inert
- touch: variant (coarse pointer or narrow screen) keeps 16px inputs
  and 44px targets on landscape phones and tablets; combobox list and
  /ai/studio producer no longer widen the page; heatmap labels don't
  collide
- notifications: popover focuses itself, not "Tümünü sil", which now
  asks first; labelled theme buttons and dismiss targets
- settings no longer look dirty on load and warn before leaving with
  real changes; exam create preselects the current term; exam kinds and
  meal keys show Turkish labels
- homework grading has no "Tamamlandı" default for non-submitters; class
  edit shows the assigned homeroom teacher; admin demotion warns
- instance "Ders saati" saves on Enter/Kaydet instead of blur and the
  karne switch confirms first
- API 404s show "Kayıt bulunamadı" with a link back to the list instead
  of a retry; neutral confirm/discard copy; compose asks before
  discarding a draft; staff on student-only pages get an explanation
- homework, calendar, dashboard deadlines and notifications name the
  class ("Matematik — 10-B")
- dashboard charts include graded exams without a start time, ordered
  by id creation time; class card shows student counts
- "Yakında" filler columns and KPI cards removed from management lists;
  marks split into average, band and exam count; teachers list the
  courses they teach; class filter on attendance and pomodoro lists

2026-09-15

refactor: 🧱 one card layout for every list page - table pages fold their title, description and header actions into the DataTable card, with tabs above it (the homework page pattern): students, teachers, users, terms, appointments, payments, license modules, statement - new DataSection gives card-grid pages the same header: classes, courses, staff work, whiteboards, notes, question pool, meals, work log, children - drop per-table row counts from descriptions (the pager already shows them) - remove the sky tint that set some cards apartBurak Boduroğlu · c89242e
refactor: 🧱 one card layout for every list page
- table pages fold their title, description and header actions into the
  DataTable card, with tabs above it (the homework page pattern): students,
  teachers, users, terms, appointments, payments, license modules, statement
- new DataSection gives card-grid pages the same header: classes, courses,
  staff work, whiteboards, notes, question pool, meals, work log, children
- drop per-table row counts from descriptions (the pager already shows them)
- remove the sky tint that set some cards apart
feat: 🎨 illustrated empty states, corner sidebar toggle, palette search - theme-tinted unDraw scenes for every EmptyState kind and empty tables, loaded on demand; stock palette mapped to --illu-* tokens - sidebar collapse toggle sits on the sidebar/header border corner - drop the topbar command-center bar; the home search field opens the palette, which now also finds students for admins - mobile tab bar: Search tab, tabs derived from sidebar items per role - browser tab title follows the shell's route label everywhereBurak Boduroğlu · be6572f
feat: 🎨 illustrated empty states, corner sidebar toggle, palette search
- theme-tinted unDraw scenes for every EmptyState kind and empty tables,
  loaded on demand; stock palette mapped to --illu-* tokens
- sidebar collapse toggle sits on the sidebar/header border corner
- drop the topbar command-center bar; the home search field opens the
  palette, which now also finds students for admins
- mobile tab bar: Search tab, tabs derived from sidebar items per role
- browser tab title follows the shell's route label everywhere

2026-09-12

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

feat: ✨ role-based AI prompts, Monday-first calendar, hub descriptions - celebi-suggestions: choose prompt set by role (student/staff/parent) - calendar: Monday-first week ordering (short day names + first-day shift) - school-hub: bilingual descriptions on management link cards - courses: singular kind labels, required-field marker, kind summary row - empty-state: add a "meals" kind + cutlery icon; meals page uses it - table-row-actions: icon-only trigger with title tooltip (drop inline label) - dashboard: skip deadline search predicate when there are no deadlines - question-bank test: align fixture to the 10-per-page defaultBurak Boduroğlu · e98e6c3
feat: ✨ role-based AI prompts, Monday-first calendar, hub descriptions
- celebi-suggestions: choose prompt set by role (student/staff/parent)
- calendar: Monday-first week ordering (short day names + first-day shift)
- school-hub: bilingual descriptions on management link cards
- courses: singular kind labels, required-field marker, kind summary row
- empty-state: add a "meals" kind + cutlery icon; meals page uses it
- table-row-actions: icon-only trigger with title tooltip (drop inline label)
- dashboard: skip deadline search predicate when there are no deadlines
- question-bank test: align fixture to the 10-per-page default
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-24

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

feat: ✨ shared domain color tokens & neutral dark messaging sidebar - add src/lib/domain-colors.ts as central single source of truth for domain accents and border styling - remove blue background tint from messages page sidebar in favor of neutral dark surface - update notes cards and import/file panels to use neutral dark backgrounds with amber borders - update messages folder buttons and selected message cards to use neutral dark backgrounds with violet borders - fix missing Show and cn imports in src/components/ui/empty-state.tsx and bind to DOMAIN_COLORS - add unit tests for domain-colors moduleBurak Boduroğlu · e9b7072
feat: ✨ shared domain color tokens & neutral dark messaging sidebar
- add src/lib/domain-colors.ts as central single source of truth for domain accents and border styling
- remove blue background tint from messages page sidebar in favor of neutral dark surface
- update notes cards and import/file panels to use neutral dark backgrounds with amber borders
- update messages folder buttons and selected message cards to use neutral dark backgrounds with violet borders
- fix missing Show and cn imports in src/components/ui/empty-state.tsx and bind to DOMAIN_COLORS
- add unit tests for domain-colors module
style: 🎨 add subtle dashboard color accentsBurak Boduroğlu · 69e9aa5
style: 🎨 add subtle dashboard color accents

- add role-aware chip tones and route-aware portal icon accents

- turn dashboard counts into small capsule badges for better visual rhythm

- add low-opacity section tints for portal and attention areas

- give EmptyState icons kind-based accent colors
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
feat: ✨ redesign exam page filter toolbar & add Option B visual animationsBurak Boduroğlu · 0ba7cdb
feat: ✨ redesign exam page filter toolbar & add Option B visual animations

- redesign exam list filter toolbar with clean inline badges (DURUM: / DERS:) and clear filters button in src/pages/exams-page.tsx
- add common.resetFilters i18n dictionary entries in English and Turkish
- add zero-dependency confetti particle burst utility in src/lib/confetti.ts (<1.5KB) with node safety test
- enhance EmptyState with animated SVG vector illustrations (animate-float) for notes, exams, events, and courses
- add tactile micro-interaction utilities (.card-lift, .tactile-press, .animate-pulse-glow) in src/index.css
- render smooth circular SVG timer progress ring with breathing pulse glow in PomodoroPage
- trigger celebratory confetti bursts on exam submission, note import, and pomodoro completion
- apply 3D card-lift hover motion to NoteCard, EventCard, and Dashboard portal cards
- verify production build passes and 208/208 vitest unit tests pass
feat: 🎨 elevate dropdowns and clean up empty state warning panels - upgrade DropdownMenu, Combobox, and Popover primitives with Apple HIG squircle containers, frosted glass blur, tactile press feedback, and 44pt touch targets - add custom dropdown chevron indicator and rounded-xl squircle styling to native Select component - clean up EmptyState component by eliminating inner action button slot - remove redundant action buttons inside empty warning panels across notes, course teachers, course detail, and terms pages - verify build and 202/202 vitest unit tests passBurak Boduroğlu · 92aa7eb
feat: 🎨 elevate dropdowns and clean up empty state warning panels
- upgrade DropdownMenu, Combobox, and Popover primitives with Apple HIG squircle containers, frosted glass blur, tactile press feedback, and 44pt touch targets
- add custom dropdown chevron indicator and rounded-xl squircle styling to native Select component
- clean up EmptyState component by eliminating inner action button slot
- remove redundant action buttons inside empty warning panels across notes, course teachers, course detail, and terms pages
- verify build and 202/202 vitest unit tests pass

2026-07-17

feat: ✨ empty-state CTAs and save flash banners - EmptyState component with optional primary action - notes/courses/exams/events empty lists show create CTA when allowed - createFlash helper + Alert success variant for short confirmations - i18n: common.created/deleted/saved (en/tr)Burak Boduroğlu · f1d3452
feat: ✨ empty-state CTAs and save flash banners
- EmptyState component with optional primary action
- notes/courses/exams/events empty lists show create CTA when allowed
- createFlash helper + Alert success variant for short confirmations
- i18n: common.created/deleted/saved (en/tr)