-
-
Notifications
You must be signed in to change notification settings - Fork 202
Persist DevIndex Animation Settings and Batch LocalStorage Reads #9301
Copy link
Copy link
Closed
Labels
Description
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.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. - 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
localStoragewhen changed.
Reactions are currently unavailable