Action Page Representative search - Revamp search system
Currently our way of performing the representative search is very heavy and displays representatives even if the search isn't complete, without mentioning it to the user
From the moment where the user clicks on "valider", we update the data source on each clic (excluding the choice of plateforms)
Furthermore, the search result is loaded 3 times, once for each platform
This creates issues, especially when the user gets to the result step and it hasnt had time to filter, for example :
- The user still see's senators when he/she has chosen rep's
- The user still see's the unfiltered view
- The display has loaded, but when choosing the representatives it loads the email (or tweet) of the unfiltered view
Objective
- Reduce the number of calls to the server, especially unfiltered ones
- Avoid being able to display wrong info, better to show a loading message