bikebrigade / dispatch

Bike Brigade's dispatching software! 🚴
https://bikebrigade.ca
Apache License 2.0
75 stars 9 forks source link

Add the ability for riders to sign up as backup-riders #379

Open mveytsman opened 5 months ago

mveytsman commented 5 months ago

In the spreadsheets riders can list themselves as backup riders, we don't currently support this in the rider portal.

We have a CampaignRiders table which associates riders with campaigns already - but in order to add a backup riders feature we'll probably need to add some sort of boolean flag to it to indicate that the user signed up as a backup rider.

There's also going to be an annoying state machine here If I assign myself to a task, then unassign myself I don't become a backup rider If I sign up as a backup rider first, then assign myself to a task, then unassign myself am I expecting to be back as a backup rider?

(My gut is there's a very simple way to model this and have the UX for it but I don't see it yet)

cc @sereprz and @teesloane who we were discussing this with just now.

teesloane commented 2 months ago

Considerations

Front End Work

Backend Work

Nice to have someday