ShelterTechSF / askdarcel-web

The "Ask Darcel" web app.
GNU General Public License v3.0
28 stars 22 forks source link

1326 Misc search enhancements including ability to expand/collapse re… #1340

Closed schroerbrian closed 7 months ago

schroerbrian commented 7 months ago

…sults and UI improvements

While reviewing this, I realized there is one point of naming confusion – the pre-existing expandList functionality, which allows mobile users to pop up the search results component over the map. For the purposes of this feature, the search results enhancements, the naming convention I've chose to represent expanded or collapsed search results is expandSearchResults, (with some variation depending on element etc).

To rectify possible confusion within the SearchResults component, I renamed expandList to overlayMapWithSearchResults. There are instances of expandList in the other components, but, given these components do not contain references to the expandSearchResults feature, and mostly to keep this PR less complicated, I didn't change the var nams there. They can be changed at a later time.

Note: there were a couple features that are part of this ticket that I did not implement – the sidebar improvements and displaying the selected eligibilities within service results. I created another ticket to handle those here

Screen Shot 2024-04-18 at 12 28 27 PM

Screen Shot 2024-04-17 at 4 47 19 PM