bikebrigade / dispatch

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

Add concept of `private` campaigns #324

Closed mveytsman closed 5 months ago

mveytsman commented 5 months ago

Added public flag to campaigns

It's defaulting to false for now as we are not opting in all campaigns for the portal just yet. Duplicating campaigns will duplicate its public/private state.

cc @sereprz - we should opt in the campaigns we're currently testing with, and make sure dispatchers know about this when you do the demo!

https://github.com/bikebrigade/dispatch/assets/34720/a6a42993-d177-4ed2-8341-6864a0b79d0a

Closes #300

sereprz commented 5 months ago

Noted! The flag can only be turned on by us am I right? I think we'll turn them on one-two at a time and I'm hoping to have a schedule for which campaigns go live when in the next week

mveytsman commented 5 months ago

Any dispatcher can change the flag - and it carries in duplicating so if they follow the duplication workflow they will be able to carry forward the public/private status

mveytsman commented 5 months ago

In conversation with @sereprz we're leaning towards making this setting be on Program instead of Campaign as it's a feature of a program (e.g. meals on wheels) not the campaign that it's not open to anyone to sign up

mveytsman commented 5 months ago

Closing in favour of #328