Page MenuHomePhabricator

[web] Fix thread gallery for encrypted media
ClosedPublic

Authored by bartek on May 26 2023, 1:19 AM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 21 2024, 9:17 AM
Unknown Object (File)
Feb 21 2024, 12:58 AM
Unknown Object (File)
Feb 21 2024, 12:33 AM
Unknown Object (File)
Feb 20 2024, 4:55 PM
Unknown Object (File)
Jan 11 2024, 12:20 PM
Unknown Object (File)
Dec 16 2023, 1:41 AM
Unknown Object (File)
Dec 15 2023, 11:04 PM
Unknown Object (File)
Dec 13 2023, 11:06 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