bikebrigade / dispatch

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

Show public campaigns as well as opportunities in the the calendar #330

Closed mveytsman closed 2 months ago

mveytsman commented 2 months ago

This updates the calendar at https://www.bikebrigade.ca/deliveries to show public Campaigns as well as Opportunities.

The idea is that dispatchers will no longer need to update the opportunities with signup links - any public campaigns will just show up on https://www.bikebrigade.ca/deliveries with the correct link within the portal.

We're demoing the portal to dispatchers on Tuesday so I'm pushing this now, but there are two outstanding tasks for later:

mveytsman commented 2 months ago

@teesloane I fixed this issue (looks like we had it in prod too 🙃 ) and did the testing you were trying to do!

mveytsman commented 2 months ago

I added some alerting when editing opportunities:

When you go to the opportunity page:

CleanShot 2024-04-22 at 19 46 33@2x

If you try to edit an opportunity for a public campaign:

CleanShot 2024-04-22 at 19 46 29@2x
sereprz commented 2 months ago

This is great! Small suggestion - I would replace Alert with Warning if it takes less than 5 min

mveytsman commented 2 months ago

How did you know that this is in 20 different files 😁 https://github.com/bikebrigade/dispatch/pull/330/commits/67c73ac6e7e29c98b6c1b181bf960a0f74b65561

anyways will do :)