bloom-housing / bloom

component-based web framework for affordable housing management
Apache License 2.0
34 stars 24 forks source link

feat: disable lottery upload if using system lottery #4213

Closed emilyjablonski closed 2 months ago

emilyjablonski commented 2 months ago

This PR addresses #747

Description

When the lottery toggle is on, on a closed listing with a lottery type, if a user is opted into the system lottery they cannot "post results" in the button list, but if a user is opted out they are able to post results.

How Can This Be Tested/Reviewed?

When the lottery toggle is on, on a closed listing with a lottery type, if a user is opted into the system lottery ensure they cannot see the post results button. Opt out of the lottery and save, and when re-entering the edit state the post results button should be available. You will have to save in between states.

Author Checklist:

Review Process:

netlify[bot] commented 2 months ago

Deploy Preview for partners-bloom-dev ready!

Name Link
Latest commit f9c66a1640ec6583bbcf18e8e801ed4f6834c32c
Latest deploy log https://app.netlify.com/sites/partners-bloom-dev/deploys/669ae8d7d477b40008947967
Deploy Preview https://deploy-preview-4213--partners-bloom-dev.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] commented 2 months ago

Deploy Preview for bloom-exygy-dev ready!

Name Link
Latest commit f9c66a1640ec6583bbcf18e8e801ed4f6834c32c
Latest deploy log https://app.netlify.com/sites/bloom-exygy-dev/deploys/669ae8d7c064780008b0dbcf
Deploy Preview https://deploy-preview-4213--bloom-exygy-dev.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

emilyjablonski commented 2 months ago

https://github.com/bloom-housing/bloom/issues/4216 Ticket for the above