When switching between facilities, the housing unit dropdown can take up to 20 seconds to update. Anything that was previously selected before the switch is not saved. This is disruptive to user workflow and can result in data loss.
Steps to reproduce
List any steps to reproduce behavior
Select a facility and housing unit.
Select a different facility and attempt to select a housing unit right after.
You will see the housing units for Facility A instead of Facility B until it updates.
If you attempt to save before Housing Units B shows up, the housing unit will not be saved.
If you save after selecting the intended facility and housing unit, it can take up to 20 seconds to process.
When Facility A is selected, Housing Units A should update soon after (tentative goal of 3 seconds load time?). When switching to Facility B, we should only see Housing Units B.
Checklist
[x] Indicate bug severity on the right
Additional context
Add any other context or screenshots about the feature request here.
Describe the bug
When switching between facilities, the housing unit dropdown can take up to 20 seconds to update. Anything that was previously selected before the switch is not saved. This is disruptive to user workflow and can result in data loss.
Steps to reproduce
List any steps to reproduce behavior
Screen recording examples here: https://github.com/PublicDataWorks/complaint-manager/assets/167580943/e4cec6cb-1ccf-485a-aa44-021cdf6cbf3b https://github.com/PublicDataWorks/complaint-manager/assets/167580943/1ae4b5ce-daa1-4807-8437-d38b20a865b5 https://github.com/PublicDataWorks/complaint-manager/assets/167580943/829baefe-3f95-4de8-b268-fed9312e2156
Expected behavior
When Facility A is selected, Housing Units A should update soon after (tentative goal of 3 seconds load time?). When switching to Facility B, we should only see Housing Units B.
Checklist
Additional context Add any other context or screenshots about the feature request here.