-
Notifications
You must be signed in to change notification settings - Fork 221
Product Gallery: Fix limited images displayed in the dialog #11716
Conversation
The release ZIP for this PR is accessible via:
Script Dependencies ReportThere is no changed script dependency between this branch and trunk. This comment was automatically generated by the TypeScript Errors Report
🎉 🎉 This PR does not introduce new TS errors. |
Size Change: +21 B (0%) Total Size: 1.54 MB
ℹ️ View Unchanged
|
a848a97
to
9766c0a
Compare
84b59f2
to
1f0918e
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.
Very good work, @roykho 🙏 . This PR indeed allows for all thumbnails to be navigated with the Next/Previous button.
One super minor issue I have noticed, is that when navigating through thumbnails in the Dialog, this also updates the Large Image in the regular gallery, so you can end up in a situation where it's displaying an image without a thumbnail in the regular gallery. But I don't think this is such a big issue.
The Pager
block needs also fixing in the Dialog - I'll open a separate issue for it.
![Moto_Guzzi_v7_–_newproductgallery](https://private-user-images.githubusercontent.com/905781/281892947-96c1b2cd-07cd-4bdf-8438-82c692736530.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NTk3MDUsIm5iZiI6MTczODk1OTQwNSwicGF0aCI6Ii85MDU3ODEvMjgxODkyOTQ3LTk2YzFiMmNkLTA3Y2QtNGJkZi04NDM4LTgyYzY5MjczNjUzMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwN1QyMDE2NDVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03ZmJiNjhjYjk0YmM3NzFiNjkxNTBlNmI4NjEyMDBhNzAzNWQxZDYwMTliOWNkOTc5NDQ5Yjg0ZWNhNzNkNmNmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.fWkXNze5FjFXEh078e8bYX-Rvk51UJQWSkcQ6lj4wAk)
Yes and there is an issue with the e2e test to ensure they're the same. However in my opinion I don't think they need to be the same. In fact I would call a
I think in the design, we actually want to remove this pager feature in the dialog only. As it is not there in the design so perhaps in your issue, we can suggest to remove it? |
What
Fixes #11291
The available thumbnails in the dialog were not able to be navigated.
Why
So users can see all the available thumbnails in the dialog.
Testing Instructions
Please consider any edge cases this change may have, and also other areas of the product this may impact.
Screenshots or screencast
WooCommerce Visibility
Required:
Checklist
Required:
[type]
label or a[skip-changelog]
label.Conditional:
[skip-changelog]
label is not present).Changelog