Skip to content
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

"More from this model" image preview section #397

Closed
sivaschenko opened this issue Aug 30, 2019 · 2 comments
Closed

"More from this model" image preview section #397

sivaschenko opened this issue Aug 30, 2019 · 2 comments

Comments

@sivaschenko
Copy link
Member

sivaschenko commented Aug 30, 2019

Story

#324 [Story 30] User sees images with the same model as the currently viewed one

Preconditions

  1. Install Magento with Adobe Stock Integration
  2. Configure the integration in Stores -> Configuration -> System -> Adobe Stock Integration fieldset

Steps to reproduce

  1. Login to admin panel
  2. Open Magento Media Gallery (i.e. go to Cms -> Pages, edit the page and insert image)
  3. Click "Search Adobe Stock" button to open images grid
  4. Click on any image

Expected result

Image preview is expanded, "More from this model" section with the same series images is displayed (possible to switch tabs between "More from this series" and "More from this model")

image

Technical Details

  • Update configuratioin of \Magento\AdobeStockClient\Model\SearchParametersProvider\SimpleFilters to introduce the search_parameters[model_id] request parameter
  • I think \Magento\AdobeStockImageAdminUi\Controller\Adminhtml\Preview\Series controller can be reused to load same model images as well (do reduce number of requests to server)
@konarshankar07
Copy link
Contributor

@sivaschenko ,
Sorry, I mistakenly assign to me can you please put back in ready for development.
Thanks

@konarshankar07
Copy link
Contributor

konarshankar07 commented Aug 31, 2019

Please ignore the above comment. I'll start working on this ticket
Thanks

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

No branches or pull requests

2 participants