about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/components/media_gallery.js
AgeCommit message (Collapse)Author
2020-08-17Fix WebUI crash in edge case when media display size causes scrollThibaut Girka
Fixes #1406
2020-07-10[Glitch] Replace repetitive blurhash code with component (#14267)Sasha Sorokin
Port 61c07c37317f01c1ab4981826704750fe9937fe7 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-02[Glitch] Fix audio/video/images/cards not reacting to window resizes in web UIEugen Rochko
Port bb9ca8a587ee5a3ec8778e72828aca0ba8871327 to glitch-soc Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh> Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh> Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-05-28[Glitch] Change wording from “Hide media” to “Hide image/images” in ↵Mélanie Chauvel
Web UI Port 40d81620b00f6c4ed30b78f95b443a08e62ae8fa to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-03-08[Glitch] Change the tooltip "Toggle visibility" to "Hide media" in web UIMélanie Chauvel (ariasuni)
Port 5e4b6496557b5ef167518dbc6015307158e30ccf to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-20[Glitch] Change reported media attachments to always be hidden in admin UIEugen Rochko
Port 1ded3bb752916fe87755d80a832af39431a42438 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-27[Glitch] Add noopener and/or noreferrerBSKY
Port fccf83e1f2ecd4e23f7b1faee5330976d17da7b8 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-09Move “export” before decoratorsThibaut Girka
As this is what upstream does. See also https://github.com/tc39/proposal-decorators/issues/69
2019-09-05[Glitch] Fix uncached media in web UI not being clickableEugen Rochko
Port 34adc8784a3f165a4bd5719a067093f703f499e9 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-05[Glitch] Add "not available" label on unknown media attachmentsEugen Rochko
Port d3442894310022062debc4c6ed6b117f8bc3904b to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-26[Glitch] Add option to disable blurhash previewsThibG
Port 3086c645fde2345d34e401bdf3e2f19f19da3294 to glitch-soc
2019-06-24[Glitch] Add media description as title to links of unknown media attachmentsEugen Rochko
Port front-end changes from 49ebda4d49af50b375126e4a8285686fb6448a60 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-27[Glitch] Add keyboard shortcut to hide/show mediaThibaut Girka
Port a472190729782f31731674c626c07af483fe9c7f and 988342a56cb58da9ac660eec3e55c3bcbbd6269b to glitch-soc
2019-05-04[Glitch] Make the "mark media as sensitive" button more obvious in web UIEugen Rochko
Port 05ef3462ba0af7b147a7cfa8de2735e99dc59ac5 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-04[Glitch] Change account gallery in web UIEugen Rochko
Port 3f143606faa6181ff2745b6bd29ac8ea075088bf to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-04[Glitch] Add blurhashEugen Rochko
Port front-end changes from fba96c808d25d2fc35ec63ee6745a1e55a95d707 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-04-16Fix opening/closing gifv sometimes making the timeline scrollThibaut Girka
2019-03-11Remove leftover console.logThibaut Girka
2019-03-11add local setting to auto reveal media behind cwash lea
2019-02-10Avoid two-step rendering of statuses as much as possibleThibaut Girka
Cache width shared by Video player, MediaGallery and Cards at the ScrollableList level, pass it down through StatusList and Notifications.
2019-01-10[Glitch] Stop gifv timeline preview explicitly when open the media galleryThibaut Girka
Port cf3c0fc38cd2650a421f46a5f221d1d645ef6c7b to glitch-soc
2018-11-25Render placeholder instead of image when MediaGallery container width isn't ↵Thibaut Girka
known
2018-11-15In detailed status view, take displayMedia setting into account when ↵Thibaut Girka
changing media Fixes #819
2018-10-21Update mediaGallery component's width when opening CWsThibaut Girka
2018-10-01[Glitch] Add support for new display_media settingThibaut Girka
Port f7a6f9489da9b2a1820366654df47b8a52f5c5bc to glitch-soc [API] [vanilla required] [glitch-soc optional] initial_state show_sensitive_media boolean changed to show_media string with options "default", "hide_all", "show_all"
2018-09-21Prevent clicks on video from initiating selectionsThibaut Girka
2018-09-04Disable focus points for letterboxed mediaThibaut Girka
2018-09-04Media gallery styling closer to upstream'sThibaut Girka
2018-09-04[Glitch] Do not override ctrl/cmd+click in media galleryThibaut Girka
2018-08-27[Glitch] Add missing video descriptionsThibaut Girka
Port ac092d03e7a781d27aff9cb9ea4637be9c5f2a2a to glitch-soc
2018-07-10[Glitch] Fix Chrome issue with sizes="0px"Thibaut Girka
2018-05-21Fix width only being set for standalone mediaThibaut Girka
2018-05-21[Glitch] Use real container width in MediaGallery srcSetThibaut Girka
Port 22e067bf5c30a5aa7aec4b3c17dc112cacbe7873 to glitch-soc
2018-05-07Hide media in report modal regardless of whether they are marked sensitiveThibaut Girka
The rationale behind this is that if the user wants to report violent media, they might not want to see it repeatedly. The “sensitive” property is still kept, displaying different messages for hidden media depending on whether they are marked as sensitive.
2018-04-22Merge pull request #435 from ThibG/glitch-soc/features/public-modalsbeatrix
[Glitch] Show media modal on public pages
2018-04-20[Glitch] Show media modal on public pagesThibaut Girka
Port ff7941e652af1d54d9c991254556e7932a8b183c to glitch-soc
2018-04-19Only compute height dynamically for standalone mediaThibaut Girka
This prevents changing the status' height and triggering jumps in the TL
2018-04-19[Glitch] Center thumbnails on focus pointThibaut Girka
Port the display part of the following commits to glitch-soc: * 90f12f2e5a41115a9a756f9dd38054736080d4f9 * b170627ceb8838c358aef1fcca9673ce4aa61ab8 * 11697d68942db7b97a4c7384e4fb4148a97b9122 * 56eb5c3f344f0342ac6f26a05748bc21c585a729
2018-04-19Use javascript to set MediaGallery height automaticallyThibaut Girka
2018-04-19Revert some glitch-specific refactoringThibaut Girka
In order to keep my sanity when porting changes between glitch-soc and upstream.
2018-04-14[Glitch] Fix media button typeThibaut Girka
Port ecdac9017efceb77da155bf85d5e7d6084382da2 to glitch-soc
2018-04-14[Glitch] Handle preference to always display sensitive mediaThibaut Girka
Port the UI part of 76f3d5d16be2fb97d2252909589510165ec05e12 to glitch-soc
2018-01-08Add missing commakibigo!
2018-01-08Show SENSITIVE tag on sensitive images (#267)kibigo!
2017-12-03Rename themes -> flavours ? ?kibigo!