forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on dcf123a8823bd55f0a656ce94de6b865f41dc08aFiltered to src/components/marks/marks-report-view.tsxClear filter

2026-09-20

style: 💄 report card average and section link - drop the "/ 100" suffix from the overall average; the number stands alone - the per-course section link is a real button now: outline chrome, external link icon, instead of a bare underlined link that read as body text - name that button after the student's own section when there is exactly one (/classes/me for a student reading their own karne, /classes/user/{id} for a parent or teacher); the report payload carries only the instance id, so with two sections nothing says which one teaches a course and the button keeps its generic label - a refused class read is not surfaced as an error, it just falls backBurak Boduroğlu · 7d6f928
style: 💄 report card average and section link
- drop the "/ 100" suffix from the overall average; the number stands alone
- the per-course section link is a real button now: outline chrome, external
  link icon, instead of a bare underlined link that read as body text
- name that button after the student's own section when there is exactly one
  (/classes/me for a student reading their own karne, /classes/user/{id} for
  a parent or teacher); the report payload carries only the instance id, so
  with two sections nothing says which one teaches a course and the button
  keeps its generic label
- a refused class read is not surfaced as an error, it just falls back

2026-09-19

refactor: 🧹 streamline tables and list surfacesBurak Boduroğlu · 0202be5
refactor: 🧹 streamline tables and list surfaces

- simplify list tables and keep detailed content on detail pages
- align shared table surfaces, pagination, tabs, and numeric typography
- tidy course, homework, event, staff, payment, and insight views

2026-09-18

refactor: 📋 report card and marks tables use DataTable - the karne lines and the marks overview were the last raw <table>s in domain code; they now render through DataTable (no pager, sort or column menu), so they share its styling and get the phone card layout - fix: the marks overview column holding the "open section" link was headed "Teacher"; it is headed by the section nowBurak Boduroğlu · 50506d2
refactor: 📋 report card and marks tables use DataTable
- the karne lines and the marks overview were the last raw <table>s in
  domain code; they now render through DataTable (no pager, sort or
  column menu), so they share its styling and get the phone card layout
- fix: the marks overview column holding the "open section" link was
  headed "Teacher"; it is headed by the section now
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-17

feat: 🏫 follow the backend split between a catalog course and a şube×ders instance - a course row is now the catalog (title, kind, subjects, notes, club/etüt members); attaching it to a class mints the instance that actually carries enrollments, exams, homework, lesson sessions, roll call, ders_saati and the karne flag - new src/api/instances: /instances/me, one instance with its policy PATCH, and the enrollment, exam, homework, session and teacher routes that moved off /courses/{id} - new src/api/academic-years: year CRUD plus archive and the rollover that carries a year's şubeler over with promoted grades - new src/api/rag: thread CRUD, turns, the 202 ask receipt and the SSE url an EventSource takes; plus /ai/capabilities and the course-note reindex - drop the routes the backend no longer serves (/courses/{id}/{enrollments, exams,homework,sessions,teachers}, /classes/{id}/courses) and add the club/etüt membership tier at /courses/{id}/members - rename course to class_course on exams, homework, sessions and roll call; a class links an academic year, a dönem lives inside one, and an exam names the dönem it is filed in - new /instances/$id page holds what left the course page: exams, homework, sessions, roster and staffing, with ders_saati and counts_toward_karne saved optimistically from local signals - new /management/academic-years: years, sınıf-geçme pairs, archiving, and a rollover that reports how many şubeler and students it carried - karne tab on /marks with a dönem picker, the ders_saati-weighted average and the verdict; devamsızlık day counts and their limits on the attendance report - exam and homework creation pick a şube instead of a catalog course, through one shared instance-option loader; the exam form asks for the dönem - settings gain branş, excuse kinds, the per-dönem absence day limits and the school timezone; limits gain the rag tier - contract fixtures build the whole chain now: year → dönem → şube → attached course → instance → examBurak Boduroğlu · 211d704
feat: 🏫 follow the backend split between a catalog course and a şube×ders instance
- a course row is now the catalog (title, kind, subjects, notes, club/etüt
  members); attaching it to a class mints the instance that actually carries
  enrollments, exams, homework, lesson sessions, roll call, ders_saati and the
  karne flag
- new src/api/instances: /instances/me, one instance with its policy PATCH, and
  the enrollment, exam, homework, session and teacher routes that moved off
  /courses/{id}
- new src/api/academic-years: year CRUD plus archive and the rollover that
  carries a year's şubeler over with promoted grades
- new src/api/rag: thread CRUD, turns, the 202 ask receipt and the SSE url an
  EventSource takes; plus /ai/capabilities and the course-note reindex
- drop the routes the backend no longer serves (/courses/{id}/{enrollments,
  exams,homework,sessions,teachers}, /classes/{id}/courses) and add the
  club/etüt membership tier at /courses/{id}/members
- rename course to class_course on exams, homework, sessions and roll call;
  a class links an academic year, a dönem lives inside one, and an exam names
  the dönem it is filed in
- new /instances/$id page holds what left the course page: exams, homework,
  sessions, roster and staffing, with ders_saati and counts_toward_karne
  saved optimistically from local signals
- new /management/academic-years: years, sınıf-geçme pairs, archiving, and a
  rollover that reports how many şubeler and students it carried
- karne tab on /marks with a dönem picker, the ders_saati-weighted average and
  the verdict; devamsızlık day counts and their limits on the attendance report
- exam and homework creation pick a şube instead of a catalog course, through
  one shared instance-option loader; the exam form asks for the dönem
- settings gain branş, excuse kinds, the per-dönem absence day limits and the
  school timezone; limits gain the rag tier
- contract fixtures build the whole chain now: year → dönem → şube → attached
  course → instance → exam

2026-09-15

fix: 🔄 keep tables on screen while their data refreshes - add lib/create-resource: accessor reads .latest, so a resource suspends only on its first load instead of on every refetch or source change - switch every createResource import to it; a row delete or save no longer swaps the table card for its skeleton or resets its page and search - solidjs-pitfalls skill documents the import ruleBurak Boduroğlu · 61b19be
fix: 🔄 keep tables on screen while their data refreshes
- add lib/create-resource: accessor reads .latest, so a resource suspends
  only on its first load instead of on every refetch or source change
- switch every createResource import to it; a row delete or save no longer
  swaps the table card for its skeleton or resets its page and search
- solidjs-pitfalls skill documents the import rule

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

fix: 📊 align table headers with cells, fix page-size + inline averages - drop text-align from `.data-table th`: the `.data-table th` rule out-specified per-column text-right/center utilities and forced every header left while cells aligned fine (header/cell mismatch) - add `meta.align` to DataTable as the single source of alignment for both head and cell; sort button offsets by align instead of a blanket -ml-3 - migrate numeric columns (marks/attendance/homework reports, my-students, student-marks) off ad-hoc header spans to meta.align - add opt-in `meta.stickyLeft` frozen-left column + `meta.divider` and a directional border/shadow seam; rename sticky-right classes; clearer sort icons (ChevronsUpDown → ArrowUp/ArrowDown) - TablePagination: always include the active page size in the options so the selector shows a value instead of blank on non-standard sizes - standardize the generic 12-row list default to 10 across pages - student-marks: re-materialize table data when the per-student marks resource resolves so the inline average fills in without needing a sortBurak Boduroğlu · 72a2390
fix: 📊 align table headers with cells, fix page-size + inline averages
- drop text-align from `.data-table th`: the `.data-table th` rule
  out-specified per-column text-right/center utilities and forced every
  header left while cells aligned fine (header/cell mismatch)
- add `meta.align` to DataTable as the single source of alignment for both
  head and cell; sort button offsets by align instead of a blanket -ml-3
- migrate numeric columns (marks/attendance/homework reports, my-students,
  student-marks) off ad-hoc header spans to meta.align
- add opt-in `meta.stickyLeft` frozen-left column + `meta.divider` and a
  directional border/shadow seam; rename sticky-right
  classes; clearer sort icons (ChevronsUpDown → ArrowUp/ArrowDown)
- TablePagination: always include the active page size in the options so
  the selector shows a value instead of blank on non-standard sizes
- standardize the generic 12-row list default to 10 across pages
- student-marks: re-materialize table data when the per-student marks
  resource resolves so the inline average fills in without needing a sort
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

feat(progress): 📈 unify student reportsBurak Boduroğlu · 11c77b1
feat(progress): 📈 unify student reports

- place report card and attendance behind working tabs

- add clearer score and attendance summaries

- collapse per-course marks into native accordions

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

refactor: 🗃️ restructure API layer into domain folders and add vitest coverage - move 110+ flat API endpoints into domain-specific subdirectories (e.g., auth, courses, exams, notes, etc.) - add index.ts exports to each domain folder for clean namespace imports - update 70+ components and pages to use the new domain-based API import paths - add comprehensive vitest unit tests (~150 tests) for all API endpoints using fetch mocking - update AGENTS.md rulebook to mandate domain-based folder structure for future API additions - migrate existing bun:test test files in src/lib/ to vitest for consistencyBurak Boduroğlu · 6452b17
refactor: 🗃️ restructure API layer into domain folders and add vitest coverage
- move 110+ flat API endpoints into domain-specific subdirectories (e.g.,
  auth, courses, exams, notes, etc.)
- add index.ts exports to each domain folder for clean namespace imports
- update 70+ components and pages to use the new domain-based API import
  paths
- add comprehensive vitest unit tests (~150 tests) for all API endpoints
  using fetch mocking
- update AGENTS.md rulebook to mandate domain-based folder structure for
  future API additions
- migrate existing bun:test test files in src/lib/ to vitest for consistency

2026-07-19

fix: 🐛 marks report DataTable columns now memoized with createMemo - MarksReportView columns wrapped in createMemo so stable references passed to DataTable, preventing createSolidTable from looping on non-memoized column objects each renderBurak Boduroğlu · 62e3ded
fix: 🐛 marks report DataTable columns now memoized with createMemo
- MarksReportView columns wrapped in createMemo so stable references
  passed to DataTable, preventing createSolidTable from looping on
  non-memoized column objects each render
feat: ✨ align backend features and unify data tablesBurak Boduroğlu · 1e2bd98
feat: ✨ align backend features and unify data tables

- add course kind, capacity, draft exam, image metadata, and Pomodoro UI wiring

- move list/table screens to shared TanStack DataTable with search, sorting, column visibility, and pagination

- remove page-level table primitives from app screens and document DataTable rule

- make student, attendance, staff-work, course, exam, term, and report tables use the same DataTable behavior

- fix report lookup table loading without input-triggered fetches or invalid limit params

- update Turkish sidebar labels for Notlar, Yoklamalar, and Mesailer

2026-07-15

refactor: ♻️ staff-work, student-marks, student-attendance pages use search-table + SidePanel pattern - staff-work: DataToolbar search + paginated user table + SidePanel for work entries - student-marks/student-attendance: same pattern with compact report views in SidePanel - marks-report-view + attendance-report-view: compact prop for side-panel rendering - side-panel: size prop (default/wide/xl), improved mobile overflow and spacing - debounced: shared createDebounced utility - i18n: lookup.searchHint, work.userNotFound TR/ENBurak Boduroğlu · 54f8f1c
refactor: ♻️ staff-work, student-marks, student-attendance pages use search-table + SidePanel pattern
- staff-work: DataToolbar search + paginated user table + SidePanel for work entries
- student-marks/student-attendance: same pattern with compact report views in SidePanel
- marks-report-view + attendance-report-view: compact prop for side-panel rendering
- side-panel: size prop (default/wide/xl), improved mobile overflow and spacing
- debounced: shared createDebounced utility
- i18n: lookup.searchHint, work.userNotFound TR/EN
feat: ✨ exam weight badge from settings, allowRejoin toggle, beforeLoad guards complete - exam-weight: resolve weight from GET /settings exam_kinds by kind name fallback - exam-card + exam-detail + course-detail: pass settings exam_kinds to examWeight - marks-report-view: resolve weight from settings for report entries - exam-form: allowRejoin checkbox with help text - routers: beforeLoad guards on exam-room (student), live (teacher+), settings/terms (manager+) - exam-detail: exam-room CTA uses isStudent() instead of !isTeacherPlus() - i18n: exams.allowRejoin, exams.allowRejoinHelp - docs: mark all backlog items as doneBurak Boduroğlu · 8dda6ac
feat: ✨ exam weight badge from settings, allowRejoin toggle, beforeLoad guards complete
- exam-weight: resolve weight from GET /settings exam_kinds by kind name fallback
- exam-card + exam-detail + course-detail: pass settings exam_kinds to examWeight
- marks-report-view: resolve weight from settings for report entries
- exam-form: allowRejoin checkbox with help text
- routers: beforeLoad guards on exam-room (student), live (teacher+), settings/terms (manager+)
- exam-detail: exam-room CTA uses isStudent() instead of !isTeacherPlus()
- i18n: exams.allowRejoin, exams.allowRejoinHelp
- docs: mark all backlog items as done
feat: ✨ standardize admin table viewsBurak Boduroğlu · 97ee2cf
feat: ✨ standardize admin table views

- let the shared data toolbar support filter-only layouts

- move admin users search, loading, empty, and table layout to shared primitives

- align user table columns with fixed widths, truncation, and centered role badges

- convert marks and attendance reports to shared table frames with mono numeric columns

- reuse shared table frames in roster, work log, event attendance, exam results, and live monitor tables

2026-07-14

fix: 🐛 move exam weights to exam kindsBurak Boduroğlu · 3f49c18
fix: 🐛 move exam weights to exam kinds

- remove per-exam weight input and stop sending weight in exam create/update payloads

- accept exam kind weight fields from API and display them next to exam kind labels

- update course, exam, and marks views to tolerate missing per-exam weight

- refresh guide/help copy for exam-kind-based weighting

2026-07-13

fix: 🐛 stabilize exam links and marks lookupBurak Boduroğlu · d8b8bf2
fix: 🐛 stabilize exam links and marks lookup

- bind exam route params lazily in cards, course detail, dashboard, and marks report links

- remove the dropdown picker from student marks lookup and restore direct user id entry

- let course, event, and exam edit forms use the full available width

2026-07-12

style: 💄 polish account, marks, and admin surfacesBurak Boduroğlu · 217fc08
style: 💄 polish account, marks, and admin surfaces

- tighten marks report cards, table wrappers, badges, and empty states

- refine student mark lookup spacing, error display, and result context

- polish admin user table container, role controls, and empty state

- align profile form controls, save action, and account detail cards

- improve login and register card spacing on smaller screens
feat: ✨ move student mark lookup into managementBurak Boduroğlu · 7a6c140
feat: ✨ move student mark lookup into management

- remove student lookup from the report card page

- add a teacher-only student marks lookup page under management

- protect the new lookup route from student access

- add the management sidebar item for teacher and higher roles

- reuse the marks report view across own and searched reports

- fix sidebar label line height for Turkish text

- align the student lookup input and submit button heights