-
Notifications
You must be signed in to change notification settings - Fork 0
Add a way to stop instant optimization (premium) #36
Description
When uploading a media file, it will be optimized instantly. We need to figure out a way to allow the user to disable instant optimization temporarily for their current instance
Proposed way
Let's create a new option for "Show disable instant optimization button" in our settings.
When enabled, whenever Cimo is loaded (all pages in the backend and whenever it's loaded/there's a form in the frontend), show a small floating toggle near the corner of the screen that the user can untick to disable the image optimization.
Disabling this should only be for the current window, so when the user visits another page the setting should be back to the initial state.
We can add another option in the admin to make the setting persistent to the current user (by using localStorage) so when visiting multiple pages, the toggle would retain its state.
The design of the floating toggle should be simple and should blend with any web page.