Page MenuHomePhabricator

Add thumbnail to image suggestions notification UI
Open, Needs TriagePublic

Assigned To
None
Authored By
CBogen
Feb 9 2022, 2:36 PM
Referenced Files
F34948650: Mobile_with_thumbnail.png
Feb 11 2022, 4:47 PM
F34948651: Desktop_with_thumbnail.png
Feb 11 2022, 4:47 PM
F34946814: Desktop (2).png
Feb 9 2022, 6:11 PM
F34946690: Desktop (1).png
Feb 9 2022, 2:49 PM
F34946691: Mobile (1).png
Feb 9 2022, 2:49 PM
F34946676: Desktop.png
Feb 9 2022, 2:36 PM
F34946677: Mobile.png
Feb 9 2022, 2:36 PM

Description

As a user receiving image suggestions notifications, I want to quickly be able to see what image is being suggested, so that I know at first glance if it's something I want to review and easily understand the purpose of the notification.

In T292310 we are creating the UI for the image suggestions notifications, but that task does not include adding a thumbnail in the notification as seen in the design. This task is to add the thumbnail to the notification.

Acceptance Criteria

  • The notification contains a small thumbnail of the media being suggested, as seen in the below design
  • If the media being suggested is not an image, it should still look like a generic thumbnail (e.g. no play icon if it's a video)

Note: Per @matthiasmullie "Echo does not have support for thumbnails; IMO it’s very useful for this purpose, but we’ll also have to build such support in Echo. And we’ll have to address potential differences in width and overall style between a thumbnail and the current icons for other types of notifications."

Desktop_with_thumbnail.png (405×588 px, 25 KB)

Mobile_with_thumbnail.png (486×435 px, 26 KB)