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

Lotteries - Public lottery view (applicant data) #4224

Open emilyjablonski opened 3 months ago

emilyjablonski commented 3 months ago

Related to #4054

Includes "x applications were submitted for y units" and "out of x applicants on this list" as these may require backend changes to fetch that data in a performant way

We also need a way to fetch an application's rank and its preferences ranks, this could be a new lottery service call

sarahlazarich commented 2 months ago

Extra Complexity is that in order to know those numbers, we need to get a count of all of them If we need to do that every time someone loads that page, it could be a lot the "Blue Box" number is easier, but the other ones we'll need to know the total list count

App number - will not include duplicates, # of applications included in the raw rank lottery Will be the new BE endpoint need to figure out how to do that Could we just store it when we do the lottery? We could! In a json or something

This is BE One endpoint that would get all those numbers, FE would just get them Even if we just store it we'll still need to query the applicant permission table Do thr FE as a part of https://github.com/bloom-housing/bloom/issues/4054 with no data

emilyjablonski commented 2 months ago

QA Notes Submit an application to a listing and claim a preference. Run and release the lottery. Ensure that the rankings and the total number of applications and number of applications that claimed that preference are correct.

sarahlazarich commented 1 month ago

done!