diff --git a/src/components/open-shifts/open-shifts-browse-page.tsx b/src/components/open-shifts/open-shifts-browse-page.tsx index 38219a61c8..c00c69d5ba 100644 --- a/src/components/open-shifts/open-shifts-browse-page.tsx +++ b/src/components/open-shifts/open-shifts-browse-page.tsx @@ -20,6 +20,7 @@ import { rosterCoveredUntil } from "@/lib/open-shifts/roster-check"; import { perthDateOf, perthTimeOf } from "@/lib/roster/shifts/perth-time"; import { OpenShiftsCalendar } from "./open-shifts-calendar"; +import { UrgentDot } from "./urgent-dot"; import { OpenShiftsFitsYou, OpenShiftsRequestsStrip, fitsYou } from "./open-shifts-for-you"; import { clearSavedFilters, readSavedFilters, saveFilters } from "./open-shifts-saved-filters"; import { useSignedOut } from "@/components/mode-kit/use-signed-out-sample"; @@ -315,9 +316,9 @@ export function OpenShiftsBrowsePage() {
  • Includes an urgent shift
  • diff --git a/src/components/open-shifts/open-shifts-calendar.tsx b/src/components/open-shifts/open-shifts-calendar.tsx index fa80baf1e3..96312cc08f 100644 --- a/src/components/open-shifts/open-shifts-calendar.tsx +++ b/src/components/open-shifts/open-shifts-calendar.tsx @@ -1,21 +1,22 @@ "use client"; -import { ChevronLeft, ChevronRight, TriangleAlert } from "lucide-react"; +import { ChevronLeft, ChevronRight } from "lucide-react"; import { useState } from "react"; +import { UrgentDot } from "./urgent-dot"; import { cn } from "@/components/ui-primitives"; import { addDaysToDate } from "@/lib/roster/shifts/perth-time"; /** * The month on Browse. Each date in the 14-day window carries the number of * shifts that match the filters (the same rows as the list below it); a date - * with an urgent one carries a small warning mark, and a ring on the date + * with an urgent one carries a small amber dot, and a ring on the date * means the reader is rostered that day. Past dates and dates outside the * window carry no number. * * Drawn like the Roster month (mockup `.rost-mc rost-oc`, work-mode redesign - * 6 Oct 2026): a filled tile for the chosen day, a count pill per day (amber, - * with the warning mark, when it includes an urgent shift) and a ring on the + * 6 Oct 2026): a filled tile for the chosen day, a count pill per day (with an + * amber dot, the shared "needs attention" shape, when it includes an urgent shift) and a ring on the * date when you're rostered. The meanings never rest on colour alone: the * mark, the number and each day's spoken label carry them too. */ @@ -173,14 +174,10 @@ export function OpenShiftsCalendar({ ) : (