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: spreadsheetification of lottery export #4228

Closed YazeedLoonat closed 3 months ago

YazeedLoonat commented 3 months ago

This PR addresses #4056

Description

This converts the raw rank application lottery export from a csv expor to a spreadsheet export

How Can This Be Tested/Reviewed?

Unit tests were added but you can test this on the front end by:

Author Checklist:

Review Process:

netlify[bot] commented 3 months ago

Deploy Preview for partners-bloom-dev ready!

Name Link
Latest commit 0bd330d5b4d74ffec40211b9235b7babe1897352
Latest deploy log https://app.netlify.com/sites/partners-bloom-dev/deploys/66abfa14d1fddb000823a0a5
Deploy Preview https://deploy-preview-4228--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 3 months ago

Deploy Preview for bloom-exygy-dev ready!

Name Link
Latest commit 0bd330d5b4d74ffec40211b9235b7babe1897352
Latest deploy log https://app.netlify.com/sites/bloom-exygy-dev/deploys/66abfa1481aaf600083b3881
Deploy Preview https://deploy-preview-4228--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.

ColinBuyck commented 3 months ago

Talked offline about the adding application weirdness with @YazeedLoonat and the steps I took were to

  1. run lottery
  2. get export
  3. add application
  4. try to get export again (500 response)

I am assuming that blocking this flow is part of upcoming FE work but I suggested that the error should be better handled at some point

YazeedLoonat commented 3 months ago

@ColinBuyck from convo in the slack channel it seems like this wasn't really accounted for but with the toasts being readded when it errors it does let the UI know. Lemme know if thats enough for now

@ludtkemorgan left a few comments back based on your comments, but for your top level comment there is a ticket to switch the application export to be a spreadsheet export as well so I think it'd be work to switch the csv export up when it seems likely it'll go away so leaving that in place here.

Although maybe in that ticket we can do some investigation

ludtkemorgan commented 3 months ago

Looks good. I'm putting this comment down here so we hopefully don't forget, but there are a few changes in the columns outputted on application export in Doorway. And since this is a big refactor when we pull it over to Doorway we'll need to remember to add those new fields to both application and lottery exports