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

Display same series images in image preview #373

Closed
sivaschenko opened this issue Aug 18, 2019 · 0 comments
Closed

Display same series images in image preview #373

sivaschenko opened this issue Aug 18, 2019 · 0 comments

Comments

@sivaschenko
Copy link
Member

sivaschenko commented Aug 18, 2019

Story

#324 [Story 29] User sees images from the same series as the currently viewed image

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 series" section with the same series images is displayed

image

Technical Details

  • New instance of \Magento\AdobeStockClientApi\Api\SearchParameterProviderInterface has to be introduced to handle search_parameters[serie_id] request parameter
  • A search request for images with serie_id set to the id of current image should be performed asynchronously when image preview is expanded
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