Geo Primary Verification List: Avoid full page reload when switching models
Why are we doing this work
This work will be behind feature flag geo_primary_verification_view
This issue is focused on refactoring the list page such that we load the data asynchronously when changing the selected models instead of doing a fullpage reload.
Relevant link
Raised in !209761 (comment 2848559523)+
Implementation Guide
- Remove the
model_class_datafrom the HAML template - Rename the
modelClassprops todefaultModelinee/app/assets/javascripts/admin/data_management/components/app.vue. - Create a data property for
activeModelinee/app/assets/javascripts/admin/data_management/components/app.vue - Update relevant code to use the
activeModelinstead of themodelClass. - Update the
handleListboxChangeto update theactiveModeland refetch the data.
Edited by 🤖 GitLab Bot 🤖