We want to persist the user's choices for the animation checkboxes in DevIndex so that users with low-end devices can permanently disable them.
To avoid sending multiple worker messages on startup, we will:
- Enhance the
Neo.main.addon.LocalStorage.readLocalStorageItem method to accept an array of strings for opts.key. If an array is provided, it will return an object containing all requested key-value pairs.
- In
DevIndex.view.ViewportController, update the startup logic to fetch ['devindexTheme', 'devindexSlowHeaderVisuals', 'devindexAnimateGridVisuals'] in a single call and apply them.
- Update the DevIndex checkbox handlers to persist their state to
localStorage when changed.
We want to persist the user's choices for the animation checkboxes in DevIndex so that users with low-end devices can permanently disable them.
To avoid sending multiple worker messages on startup, we will:
Neo.main.addon.LocalStorage.readLocalStorageItemmethod to accept an array of strings foropts.key. If an array is provided, it will return an object containing all requested key-value pairs.DevIndex.view.ViewportController, update the startup logic to fetch['devindexTheme', 'devindexSlowHeaderVisuals', 'devindexAnimateGridVisuals']in a single call and apply them.localStoragewhen changed.