-
Notifications
You must be signed in to change notification settings - Fork 123
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
update image flag colour when leased #4413
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.
lgtm 👍
Seen on usage, kahuna, media-api (merged by @andrew-nowak 7 minutes and 33 seconds ago) Please check your changes! |
Seen on image-loader, metadata-editor, thrall, cropper, collections (merged by @andrew-nowak 7 minutes and 38 seconds ago) Please check your changes! |
Seen on leases (merged by @andrew-nowak 7 minutes and 49 seconds ago) Please check your changes! |
1 similar comment
Seen on leases (merged by @andrew-nowak 7 minutes and 49 seconds ago) Please check your changes! |
Seen on auth (merged by @andrew-nowak 8 minutes and 37 seconds ago) Please check your changes! |
What does this change?
Follow on from #4404 - update the image's flag immediately when it's been leased. This was an oversight when the colouring was first added - we set it when the image is loaded, but don't reset when it's been updated. We now correct this mistake.
How should a reviewer test this change?
Deploy to TEST. From the search page, select an image (without entering it - use the tickbox and open up the info panel on the right). Set it to some usage rights such as social media, so the image is restricted but not blocked. Add a lease. Does the image's flag turn the leased teal colour, without having to reload the page?
How can success be measured?
Who should look at this?
Tested? Documented?