Once the form is submitted, we should build this object:
{
age: 0,
sex: 1,
location: 1,
species: 1
}
Modify store/index.js
Create a property in the state, to store the app's filters (animalSearchFilters)
Create an action, updateFilters
Create a mutation. This mutation should do two things:
Mandatory: update the animalSearchFilters with the new filters
Optional: Try to use Capacitor Storage to store the filters in the mobile's storage. We'll have to figure out later where to retrieve the filters once the app is loaded.
Crete the search animals view according to the wireframe
At this moment, display only these options:
For each select option, the default value should be 'Any'. Only species field and location are required.