Skip to content

Availability · Search params & storage

10 modules · 45 exports · 1 repository · 8 e2e tests · 1 route

The state Availability keeps in the URL and in the browser's storage. Every param has a default and never fails to decode, see Search params, and each definition should have an assertRoundTrips test. The definitions of the whole app are listed in the reference.

Search params

URL scheduleWeekSearchParams

app/features/availability/availability-search-params.ts:5

ParamValueDefaultLoaderDescription
week v.picklist(["current", "next"])"current"false
view v.picklist(["heatmap", "grid"])"heatmap"false

Used in MySchedule.tsxScheduleNudge.tsxScheduleWeekDialog.tsxt.$customUrl.schedule.tsxevents.tsx