+
Skip to content

Conversation

paperboyo
Copy link
Contributor

@paperboyo paperboyo commented Oct 10, 2025

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.

image

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?

  • locally by committer
  • locally by Guardian reviewer
  • on the Guardian's TEST environment
  • relevant documentation added or amended (if needed)

@paperboyo paperboyo requested a review from a team as a code owner October 10, 2025 12:22
Copy link

github-actions bot commented Oct 10, 2025

Copy link
Contributor

@twrichards twrichards left a 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

paperboyo and others added 2 commits October 10, 2025 17:22
Co-authored-by: Tom Richards <tom.richards@guardian.co.uk>
Co-authored-by: Tom Richards <tom.richards@guardian.co.uk>
@paperboyo
Copy link
Contributor Author

great! @paperboyo the code monkey!!

Nah, I was the inflatable one in this relationship (thanks for looking!):

image

@gu-prout
Copy link

gu-prout bot commented Oct 13, 2025

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载