bloom-housing / bloom

Bloom is Exygy’s affordable housing platform. Bloom's goal is to be a single entry point for affordable housing seekers and a hub for application and listing management for developers.
https://bloomhousing.com
Apache License 2.0
33 stars 25 forks source link

feat: rerun and release lottery modals #4166

Closed emilyjablonski closed 4 months ago

emilyjablonski commented 4 months ago

This PR addresses #4142

Description

This PR adds the card content and modals an admin would see after they have run a lottery. The modals include re-running and releasing a lottery to partners.

How Can This Be Tested/Reviewed?

On a closed listing that has a lottery, go to the lottery tab. The state in this PR is after a lottery has run. You can test that by manually updating the lotteryLastRunAt field to anything but null, or adding listing.lotteryLastRunAt = new Date() to the lottery.tsx file.

Ensure the main card content looks as expected, and that when you click on each button, the modals look as expected (Re-run modal Figma, Release modal Figma)

I confirmed the mobile experience with Em.

Author Checklist:

Review Process:

netlify[bot] commented 4 months ago

Deploy Preview for partners-bloom-dev ready!

Name Link
Latest commit cc722645214ac712b49b21fbab65a22d242dd8f0
Latest deploy log https://app.netlify.com/sites/partners-bloom-dev/deploys/6684267a65b4dc0008fa52ce
Deploy Preview https://deploy-preview-4166--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 4 months ago

Deploy Preview for bloom-exygy-dev ready!

Name Link
Latest commit cc722645214ac712b49b21fbab65a22d242dd8f0
Latest deploy log https://app.netlify.com/sites/bloom-exygy-dev/deploys/6684267a62908c0008068e74
Deploy Preview https://deploy-preview-4166--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 4 months ago

@ColinBuyck Good call on the buttons! I think the font weight is a theming token that'll get picked up in Dway but will double check w Em on the core styling, and then the icon is different since we've since icon libraries since the OG designs.