-
-
Notifications
You must be signed in to change notification settings - Fork 708
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
[BUU] See product images #11942
[BUU] See product images #11942
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
3ee62dc
to
40f7d83
Compare
40f7d83
to
923388d
Compare
923388d
to
a09f1c8
Compare
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.
Nice one !
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.
Nice.
@dacook @mariocarabotta one question here: the button "edit" appears as soon as we hover the line. does this mean that we will be able to edit the image by clicking anywhere on the line? Currently the button works only when we click on it. If in the end we keep only the click on the button, maybe we should always display it instead of displaying it on hover? Or can we display it only when hovering the image? |
a09f1c8
to
841226f
Compare
Rebased to resolve conflict. |
That's the behavior on the old page FYI. It's not perfect but maybe we can keep it for now? |
@mariocarabotta , Rachel suggests we change the hover behaviour, so that we display the "Edit" button only when hovering the image (not the whole row). I'm happy with that, what do you think? |
sounds good! |
@dacook also I'm thinking about people using it on mobile, probably better to make the whole image clickable for editing - basically the edit button is more of a hint for new users for learning that you can edit the image by clicking on it |
841226f
to
eca32d4
Compare
With a new 'mini' button style. For now, it's just a shortcut to the image edit page.
eca32d4
to
1f61b03
Compare
Thanks for confirming Mario. I've found it will be simpler to fix this in the next PR so will merge this one. Have rebased again, with columns set properly. |
What? Why?
Displays each product's image, and provides a shortcut to the edit page.
Sorry it should have been two separate commits, I hope it's ok to review as-is.
What should we test?
Viewing images
Given that I am in
/admin/products
And I have products with an image
When my catalogue has loaded
Then I see the illustration for products
Interim scenario: Updating an image
Given that I am hovering on a product
When I select to edit its image
Then I see the image edit page and can update it.
Note that products without images don't have any new options yet. This will be expanded upon in the next part.
Release notes
Changelog Category (reviewers may add a label for the release notes):
The title of the pull request will be included in the release notes.
Dependencies
Documentation updates