-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: useCachedQueryProvider to ensure required data is loaded for r…
…endering (#2940) By using the CachedQueryProvider we get the following benefits: * Remove SystemSettingsProvider and UserSettingsProvider * Loading status is handled so maps components don't need to check if systemSettings or userSettings are loaded * Stores the basemaps and layerTypes in its state so they can be removed from maps redux (these lists don't change during the user session) Notes: * Cypress tests have been added that check some of the systemSettings and userSettings * The only change in most of the 'Select' components is that the nameProperty comes from the CachedQueryProvider instead of the User/SystemSettingsProvider * AppWrapper and App are simplified since 'loading' doesn't need to be checked
- Loading branch information
1 parent
02b5f73
commit 921863a
Showing
51 changed files
with
654 additions
and
580 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
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
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
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
Oops, something went wrong.