Page MenuHomePhabricator

[web] Fix thread gallery for encrypted media
ClosedPublic

Authored by bartek on May 26 2023, 1:19 AM.
Tags
None
Referenced Files
F2623175: D7995.id27290.diff
Fri, Sep 6, 10:05 PM
F2623174: D7995.id27085.diff
Fri, Sep 6, 10:05 PM
F2623144: D7995.id.diff
Fri, Sep 6, 10:04 PM
Unknown Object (File)
Mon, Sep 2, 3:50 PM
Unknown Object (File)
Sun, Sep 1, 10:00 PM
Unknown Object (File)
Jul 30 2024, 4:43 AM
Unknown Object (File)
Jul 30 2024, 12:00 AM
Unknown Object (File)
Jul 29 2024, 8:39 PM
Subscribers

Details

Summary

This diff fixes ENG-3946.
Added proper source mapping depending on media type and replaced <img> with GalleryItem component added in D7994.

Also fixed filtering condition for encrypted media.

Depends on D7994

Test Plan

Open media gallery for encrypted and non-encrypted media. Check that all images are displayed properly. Throttle network, then check thumbhashes are displayed while images are loading.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable