There were requests from multiple users that
they use squoosh for compression but for each
iteration side settings resets to default
causing issues and there is no way to save and
import side settings.
There will be two buttons adjacent to copy-over
save side settings : This will save side encoder
and latest settings to localstorage of browser
import side settings : This will import side encoder
and latest settings from localstorage of browser and
replace the existing settings
Also if there are saved settings in locaStorage then
whenever user loads the app it will take that settings
and populate the side so user do not have to repeatedly
enter same settings for similar compression operation
subject to user has saved side settings
Update:1
Import settings button remains disabled if there
is nothing to import
Whenever the side setting is saved there will be
event fired and eventually listened to enable import
button
All 2 operations show notifications now
Import notification has undo option
Unfortunately, due to a few people leaving the team, and staffing issues resulting from the current economic climate (ugh), I'm deprecating the CLI and libsquoosh parts of Squoosh. The web app will continue to be supported and improved. I know that sucks, but there simply isn't the time & people to work on this. If anyone from the community wants to fork it, you have my blessing.
This pulls in TypeScript 4.4, which ships ResizeObserver in the DOM
types, as well as sets caught errors to `unknown`, requiring explicit
checks for `AbortError`.
* Paste button
* Logo and animated blobs
* Predictable initial blob position
* Initial blob shape
* Update canvas on resize if not updating every frame
* lol
* Get styles from CSS
* Background blobs
* Fade into the center
* Get initial focus
* Pause time while page is hidden
* Footer
* Optimise amount of initial CSS
* More CSS optimisation
* Install button
* Home page with demo loading
* Tweak size
* Replace thumbnails
* Responsive demo section
* Responsive main section
* Remove debug stuff
* Fix prerender SVG size
* Changes from feedback
* Blob nudges (#872)
* more smaller blobs
* less blobs that are practically invisible
* more dynamic speed range and stronger gravity
* Reverting resize observer change
The content rect is different to getBoundingClientRect
Co-authored-by: Adam Argyle <atom@argyleink.com>