Status: v1.0 · 2026-11-19 · design source: the “ShiftCircle UI Design” canvas (a private Claude design artifact owned by the project lead). The six screen files in screens/ are exact copies of that canvas at version 1795140897-e19c.
| File | What it is |
|---|---|
screens/Main.dc.html |
Supervisor · Planning board |
screens/MySchedule.dc.html |
Employee · My schedule (with overtime offer and shift planner) |
screens/Overtime.dc.html |
Supervisor · Overtime board |
screens/Rules.dc.html |
Rules admin · Decision table and publish checks |
screens/Reports.dc.html |
Reports · Planned vs actual, overtime, hours by pay code |
screens/WallDisplay.dc.html |
TV wall display · Today’s coverage (1920×1080) |
screens/canvas.json |
Canvas layout index (artboard sizes and order) |
About the file format: each .dc.html is a “Design Component”: plain HTML markup plus a small class Component extends DCLogic script whose renderVals() returns the sample data. They’re meant for the design canvas runtime (support.js, not included), so they won’t render on their own in a browser. Treat them as an exact, readable reference for layout, copy, colours, sample data and interactions. Build the real screens in React (§7). Reading tips: <sc-for list=""> = a loop, <sc-if value=""> = a condition, `` = a value from renderVals(), <helmet><style> = the screen’s CSS.
Shift times changed after the mockups were drawn: the mockups show 12 h shifts as 07–19 / 19–07 (D12 / N12); the defaults are now 00–12 / 12–24 (A12 / P12) and 16 h shifts (20:00–12:00) are regular shifts (ADR-015). Overtime is a pay-period status, not a shift type (ADR-016), so the mockups’ “OT” chips should read “extra”. Use the new times and chip codes when building. The sample data in these screens is illustrative. Where it differs from the generator configuration in docs/10-testing.md (e.g. unit staffing numbers), the generator configuration wins.
Screenshots of the built screens (planning board views, filters, export and gap panel; quarter plan readability and the planned-leave dialog) are in docs/user-guide/img/, taken at 1440×900 from the demo stack on 24 Nov 2026 and used in the supervisor and planner guides.
Colours, font and button conventions follow the Government of Saskatchewan’s published digital design standard for saskatchewan.ca (“Saskatchewan.ca Elements” v4.0, 2021). No government logo, wheat sheaf or coat of arms is used, because those would present the prototype as an official service. Every screen’s footer says “Not an official Government of Saskatchewan service · fictional, synthetic data only”. A pilot would get the approved header and logo from the ministry’s digital team.
| Token | Hex | Standard name | Used for |
|---|---|---|---|
brand.primary |
#046A38 |
Football Green | Top bar, active nav item, pass/approved states (text) |
brand.accent |
#FBDD40 |
Canola | Primary (yellow) button, 4px rule under the top bar, logo ring, “short” state on wall display |
brand.link |
#00558C |
Midnight Sky | Links, secondary button text/border, night shifts, “next shift” card, chart “actual” |
brand.linkHover |
#003D66 |
(darker Midnight Sky) | Link hover |
support.lentils |
#64A70B |
Lentils | Overtime offer border/accent, overtime bars |
support.buffaloGrass |
#A4D65E |
Buffalo Grass | Overtime shift chip |
support.flax |
#B9D9EB |
Flax | Chart “scheduled” bars; evening tint base |
text.primary |
#333333 |
Graphite | Body text, headings |
text.secondary |
#555B61 |
(between Graphite and Smoke) | Labels, help text (≥ 4.5:1 on white and on Cloud) |
text.muted |
#666666 |
Smoke | Off-days, disabled-looking labels |
border |
#E1E3E6 |
Seagull | Card and table borders |
border.input |
#8E959C |
— | Form control borders (≥ 3:1 non-text contrast) |
bg.page |
#F5F5F5 |
Cloud | Page background |
bg.surface |
#FFFFFF |
— | Cards, tables, nav |
footer.bg / footer.text |
#2C3136 / #CCCCCC |
Short footer | Footer bar |
status.block |
bg #FDE8E8, text #A30000 |
— | Blocked (rule failure). Deviation: the standard’s error red #EE0000 is under 4.5:1 on white, so text uses #A30000. |
status.warn |
bg #FDF1B0, text #5A4500 |
Canola tint | Warning, “approaching overtime”, coverage gap |
status.pass |
bg #E3F0E8, text #046A38 |
Green tint | Pass, eligible, locked/approved |
status.info |
bg #EEF0F2, text #444A50 |
— | Info, skipped (neutral), over-staffed |
status.under |
bg #E8F1F8, text #00558C |
— | “Under” overtime threshold, coverage OK |
status.ot |
bg #FDE2D4, text #8A2C00 |
Overtime orange | “In overtime” (and the Overtime board’s “Offers sent”). Orange since PR-A (A4): the old green read as “good”. |
Rule from the standard: Living Skies #41B6E6 and Canola can’t be used together. Because Canola is the main button colour, Living Skies isn’t used.
| Shift | Chip | Colours |
|---|---|---|
| Day 8 h (07–15) | D |
bg #FDF1B0, text #333333 |
| 12 h afternoon–evening (12–24) | P12 |
bg #D5E8F3, text #00558C |
| Evening 8 h (15–23) | E |
bg #D5E8F3, text #00558C |
| Night 8 h (23–07) / 12 h overnight–morning (00–12) | N / A12 |
bg #00558C, text #FFFFFF |
| 16 h shift (20:00–12:00), historical only (L16 retired, ADR-029) | L16 |
bg #E1E3E6, text #333333, 1px border #8E959C |
| Extra shift picked up beyond the roster | E · extra, L16 · extra |
bg #A4D65E, text #1F2A0A |
| Overtime offered (pending) | E · offer |
white, 2px dashed #64A70B, text #2F5206 |
| Proposed but blocked | ! D proposed |
white, 2px dashed #C40000, text #A30000 |
| Sick | Sick |
white, 1px dashed #C2410C, text #9A3412 |
| Vacation | Vac |
bg #E3F0E8, text #046A38 |
| Other absence (FR-51) | Other |
bg #EEF0F2, text #444A50 |
| Off | Off |
no fill, text #666666 |
| Worked (actual recorded) | prefix ✓ |
— |
Overtime is shown per officer, not per shift: the pay-period hours with the Under / Approaching / In overtime pill (threshold 80 h by default, P-01).
sans-serif. Weights 300, 400, 600, 700.font-variant-numeric: tabular-nums) for all figures.| Variant | Style | Rule |
|---|---|---|
| Primary (yellow) | bg #FBDD40, text #00558C; hover bg #00558C, text white |
One per screen, for the main action |
| White | white bg, #00558C text and 1px border; hover bg #E8F1F8 |
Secondary actions |
| Danger outline | white bg, #A30000 text, #C40000 border |
Emergency override only |
#046A38, 4px Canola bottom border): ShiftCircle mark (Canola ring with a white dot; our own mark, not a government symbol) and name; facility line “Prairie Provincial Correctional Centre · prototype, fictional data”; the current date/time; a role chip, e.g. “Supervisor · M. Ellis (mock sign-in)”.#2C3136, text #CCCCCC): “ShiftCircle prototype · AI Solutions Architect assessment” and “Not an official Government of Saskatchewan service · fictional, synthetic data only”.flex: 999 1 560px), so on tablets and phones the nav stacks above the content. Wide tables sit in horizontally scrolling boxes. KPI tiles wrap (min ~170px). The wall display is a fixed 1920×1080 layout.screens/Main.dc.html/planning?unit=&week=&view=&density= · API: GET /schedule, POST /rule-checks, POST/PATCH/DELETE /assignments, POST /schedule-periods/{id}/publish?view=period|month; Week, the default, writes no param) and Comfortable / Compact (?density=; a week opens comfortable, a pay period or month compact). ?week= (a Monday) stays the focus, so switching views keeps the dates and the planner’s links still work; a malformed ?week= falls back to the demo week. Pay periods are 14 days from 12 Oct 2026; a month is at most 31 days (the API limit).schedule_period (always in Week; in Pay period only where the data has 14-day periods, as a committed 2027 plan does). Otherwise the header says “Spans two roster weeks” / “Spans several roster periods: open the Week view to see and publish each one” instead of a state.scheduled / required plus actual or “short 07–12” / “+1 over”, as heat: blue met, yellow 1 under, orange 2+ under, grey over (compact shows only 3/5). Officer rows = shift chips (§3.2); an empty day reads “Off” (compact “·”). Footer row = On duty · hours per day (shifts by their start day; offers and blocked proposals not counted). Key/legend below. The quarter planner’s Roster tab uses the same grid.GET /schedule does not send today, so the board reads 8 h or 12 h from the shifts on screen), Works (days / evenings / nights, from the shifts on screen), Qualification, and Sort (board order, pay-period hours either way, name, rotation). Kept in the address as ?q=&ot=&rot=&works=&qual=&sort=; the defaults write nothing and leave the board as it was. A rotation or qualification no row has reads as All, and changing unit resets the qualification. When filtered, the footer reads “On duty · hours, officers shown” and the coverage rows say “whole unit”. Export: CSV for Excel (this view or the whole unit; UTF-8 with a BOM, CRLF, coverage as “4 of 5”, formula guard on cells starting with whitespace, = + - @ or their full-width forms), copy this view as tab-separated text, and print or save as PDF (landscape; a “Printed: n of m officers” line, the roster, the key and the app footer with the full disclaimer). A month is too wide for one page, so Print is offered for a week or a pay period only.GET /schedule. The selected day is marked in the header and the free officers’ cells are tinted. “Check & assign” runs the same rule preview and panel as an empty cell; a Block shows its reasons and no assign. “Find eligible officer in other units” opens the Overtime board for the slot. The planner’s read-only board has no fill buttons.screens/MySchedule.dc.html/me/schedule · API: GET /me/schedule, GET /me/offers, POST /offers/{id}/accept|decline, POST /proposals/preview, POST /proposals, GET /me/proposals, POST /proposals/{id}/withdraw (docs/07 §4.4; since v1.3 P3 the Propose card no longer calls POST /rule-checks)./me/propose redirects to /me/schedule#propose.screens/Overtime.dc.html/overtime?shift= · API: GET /open-shifts, GET /open-shifts/{id}/candidates, POST /open-shifts/{id}/offers, POST /open-shifts/{id}/assignscreens/Rules.dc.html/rules/{version}/{table} · API: GET /rule-sets…, PUT …/rows, POST …/build|submit|approve|publishscreens/Reports.dc.html/reports/{coverage|hours|overtime} · API: GET /reports/*, GET /pay-periods/{id}/payroll-exportemployeeId, hours report only) and is not on the screen. “Export CSV” respects the chosen range and unit.aria-label summary; the build should also offer the data table).screens/WallDisplay.dc.html/display (signed in as the DISPLAY device account) · API: GET /display/today every 60 s#1E2327, cards #2C3136. Large clock and date; title “Today’s coverage” with the current block.n / required at 112px, next block’s count.Build status (23 Nov 2026): Sign-in, Time & attendance and the tablet layouts are built. Shift types is built as the rule table SHIFT_LENGTHS (allowed lengths), not as a shift-template editor. Rule version review and My hours are placeholder pages (the Proposals inbox is built in v1.3 P4) that say they are not built yet (docs/10-testing.md §8).
| Screen | Route | Notes |
|---|---|---|
| Shift types (setup) | /rules/{version}/shift-types |
Grid of shift templates (code, label, start, length, regular/overtime-only, chip style, active, effective date). Edited in a rule-set draft and published through the same build → approve flow (ADR-015). Shows a warning if a change would alter rest outcomes on the published roster (dry run). |
| Sign-in (mock) | /login |
List of demo users with roles; clear “mock sign-in, demo only” banner |
| Time & attendance | /time?period= |
Pay-period picker; table of scheduled vs actual per officer per day; mark worked / adjust times / absence type; “Lock pay period” (yellow) with confirmation; unlock needs a reason |
| Proposals inbox | /proposals |
Supervisor list of employee proposals; per-item accept/decline with rule results. As built (v1.3 P4): the Overtime board’s two-pane pattern; Waiting / All and Unit filters; each shift with rules when sent and now (changed results highlighted, “Was …, now …”), “Would be overtime: N h”, the open-shift match and overtime-order place; Approve / Decline radios, a comment (required to decline), the warning acknowledgement and a separate “outside the overtime order” acknowledgement; a 422 shows the fresh results inline; no Emergency override (owner Q3); own proposals read-only. “Proposals (n)” in the nav for SUPERVISOR (under Overtime) and PLANNER (under Quarter plan). |
| Rule version review | /rules/{version}/review |
Approver’s before/after diff, build and dry-run report, Approve / Reject with comment |
| Tablet layouts | — | Same screens; nav stacks; verify roster scroll and 44px targets at 768px |
shape.borderRadius 2 for buttons via component overrides, chip and pill variants). Don’t hard-code hex values in components.AppShell (top bar, nav, footer), ShiftChip, StatusPill, RuleResultList, CoverageCell, KpiTile, RosterGrid, RankedCandidateTable, DecisionTableEditor, PublishChecklist, CoverageChart.docs/07-api-spec.md §5; the preview → save → 422 → acknowledge/override flow should be one reusable hook (useRuleCheckedMutation).Accessibility: real buttons, links and labelled inputs; status never shown by colour alone; focus visible; tables have header cells; target WCAG 2.1 AA. Run axe in tests (see docs/10-testing.md).
Closed on its closed days; Reports → Coverage lists the closure under the chart; the wall display says <unit> is closed today with the api’s reopening line; the Quarter plan shows Shifts in closed units and a Staffing tile/panel. No shift or history is deleted by a closure.