Skip to content

rostering-native-my-availability

My availability in the app (stage 45 step 7): the times I said I cannot work, adding leave or another one-off time, or a regular time off (every week on chosen days), and ending one. Nobody approves it; only I and whoever rosters see it. When it covers shifts I am on, they stay mine and this offers them in one step. Dates and times are typed as the host takes them (a date YYYY-MM-DD, a time HH:MM, in the business’s zone): no date picker module is needed, and the host says what is wrong with what was typed. What I write about my time off is forgotten once the call is over (forgetAfter) and when the screen closes; my list with its notes is kept in the app’s cache no longer than it is shown.

Skin native
Pack rostering
Add it cos add rostering-native-my-availability
Files my-availability-screen.tsx, LICENSE
Depends on native-base
Packages @composable-os/pack-rostering

Through its hooks; the host decides what each caller may do.

Source: packs/rostering/blocks/rostering-native-my-availability.