bikebrigade / dispatch

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

Riders Needed! section does not link to campaign sign-up across week boundaries #369

Open mveytsman opened 1 month ago

mveytsman commented 1 month ago

Bug from Jon his description below

Describe the bug

On Sunday May 19th, from the Home screen I saw the callout for "Riders Needed! | 2 Unassigned deliveries | Through Ruff Times are looking for riders for the next 48 hours." When I clicked on the "Sign up for Deliveries" link, it redirected me to a page that said "No campaigns set up yet for the week of May 13." I expected to be redirected to a page that allowed me to sign up for Through Ruff Times' campaign on Tuesday May 21st. My understanding is that the "Riders Needed!" callout will show all the campaigns in the next 48 hours with unclaimed rides, but that it links to a page which groups campaigns by week and shows only the current week. Since the campaign date of Tuesday May 21st is in a different week than today, Sunday May 19th, nothing comes up.

Steps to Reproduce

I think the bug is sensitive to the day of the week. Ensure you are looking at the view on a Sunday with a scheduled Tuesday campaign that has unclaimed deliveries.

  1. Open https://dispatch.bikebrigade.ca/home
  2. Under the "Riders Needed!" callout, click on the Sign up for deliveries button

Image