HomePhabricator

Quick View: Add search result page images to quickview on Special:Search

Description

Quick View: Add search result page images to quickview on Special:Search

  • The header image in the quick view should be the same image used in the thumbnail/Go bar (see T306883).
  • The width of an image box should be the width of the quick view component.
    • The height of the image box should be fixed for landscape image.
  • The height of the image box should be variable for portrait image.
    • The height should not go beyond a maximum height as specified in figma for Portrait image.
  • If the width of the quick view component shrinks on small screens then the height will adjust to retain its proportion.
  • The image should fill the image box and align to the top of the image similar to the rules prescribed for thumbnails.
  • When the image is not present do not show anything. The contents below the image area should take its place.
  • Implement a Close button
  • Add Unit test

Bug: T307058
Change-Id: I3a8f8a54c99b31a702d1d22fb8348d3cc7e2f7d5

Details

Provenance
SimoneThisDotAuthored on Sep 13 2022, 8:12 AM
Parents
rESVUacd1d7b3968e: Add table of contents to special:search page quickview panel
Branches
Unknown
Tags
Unknown
References
refs/changes/73/831873/9
ChangeId
I3a8f8a54c99b31a702d1d22fb8348d3cc7e2f7d5