-
Notifications
You must be signed in to change notification settings - Fork 120
Persist state of Apply circular mask square crop checkbox in localStorage #4541
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great! @paperboyo the code monkey!!
few tiny suggestions
Co-authored-by: Tom Richards <tom.richards@guardian.co.uk>
Co-authored-by: Tom Richards <tom.richards@guardian.co.uk>
Nah, I was the inflatable one in this relationship (thanks for looking!): |
Seen on auth, usage, image-loader, metadata-editor, thrall, leases, cropper, collections, media-api, kahuna (merged by @paperboyo 8 minutes and 45 seconds ago) Please check your changes! |
Co-authored with copilot.
What does this change?
We provide an option to apply a circular mask (only for 1:1 square crops) to easier visualise potential circular framing by platforms. Because not all crops will be presented as circles, the default value of that is off and we don’t want to change that. But some users who mostly crop for these contexts report having to check this checkbox repeatedly.
This change persists the state of this checkbox in browser’s localStorage.
How should a reviewer test this change?
Go to crop, choose
Square (1:1)
option. Observe that default Apply circular mask is OFF. Switch it ON/OFF reloading browser to check if it’s now persisted.How can success be measured?
Users don’t need to click something multiple times a day.
Who should look at this?
@guardian/newsroom-resilience
Tested? Documented?