GET dashboard/balance in attik-backend/src/routes/dashboard.ts returns per-inspector totalAvailable, usedSlots, and percentFilled using synthetic/historic slots (createSyntheticSlotArrayForDateRange, calcAvailableSlots, calcFilledSlots under attik-backend/src/util/functions/slots/). Used slots currently treat both inspections and charge-backed events as filling a slot (calcFilledSlots.ts); available is counted per slot with no grouping. There is no company-level mode switch, per-inspector slot grouping, or inspector-level denominator override on inspectorSchema yet.attik-frontend/src/app/tools/settings/inspectors/[id]/ (InspectorForm). Widget: attik-frontend/src/components/dashboard/inspectorBalance/ (InspectorWorkBreakdown.tsx, InspWorkBar.tsx), mounted from attik-frontend/src/app/tools/page.tsx.Repro / UX context
Screen Recording 2026-05-08 at 8.07.33 AM.mov
Screen Recording 2026-05-08 at 8.08.18 AM.mov
attik-frontend/src/components/dashboard/inspectorBalance/ (InspectorWorkBreakdown.tsx, InspWorkBar.tsx): gray capacity bar, visible totals, team filter priority, responsive/tooltip improvements per original request.attik-frontend/src/app/tools/page.tsx as needed for filter ordering and breakpoints.inspections only | events only | blended (inspections + inspection events).attik-frontend/src/app/tools/settings/inspectors/[id]/, InspectorForm): manual denominator override; when set, dashboard should reflect that the override replaces computed capacity (not added to it).GET dashboard/balance in attik-backend/src/routes/dashboard.ts to apply company mode, per-inspector slot grouping, and inspector denominator override before returning totalAvailable, usedSlots, and percentFilled.attik-backend/src/util/functions/slots/createSyntheticSlotArrayForDateRange.ts, calcAvailableSlots.ts, calcFilledSlots.ts.attik-backend/src/models/inspectorSchema.ts and inspector update routes.calcFilledSlots event filters (charge-backed events vs blocks, etc.).attik-frontend/src/components/dashboard/inspectorBalance/InspectorWorkBreakdown.tsxattik-backend/src/routes/dashboard.ts (GET /balance)attik-backend/src/util/functions/slots/calcFilledSlots.tsattik-backend/src/models/inspectorSchema.tsattik-frontend/src/app/tools/settings/inspectors/[id]/Requested changes to the inspector balance widget to better support capacity planning, especially in larger markets:
Additional related context from duplicate reports:
Please authenticate to join the conversation.
Completed
Main App
2 months ago
Linear
Get notified by email when there are changes.
Completed
Main App
2 months ago
Linear
Get notified by email when there are changes.