-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enhance species settings functionality with caching and improve…
…d predictions - Introduced caching for species data using localStorage to optimize loading times and reduce unnecessary API calls. - Updated the `init` and `loadSpeciesData` methods to handle species data initialization and caching based on the app version. - Refactored the `updatePredictions` method to utilize cached data, improving responsiveness when filtering species. - Added a new `filteredSpecies` array to manage included species more effectively. These changes improve the performance and user experience of the species settings component.
- Loading branch information
Showing
1 changed file
with
74 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters