Thibaut Girka
5a9fc749c3
Fix unsightly re-layout delay for media previews
2020-11-04 18:53:52 +01:00
Thibaut Girka
d4b65193c7
Fix WebUI crash in edge case when media display size causes scroll
...
Fixes #1406
2020-08-17 15:46:18 +02:00
Sasha Sorokin
042c32ea3b
[Glitch] Replace repetitive blurhash code with component ( #14267 )
...
Port 61c07c37317f01c1ab4981826704750fe9937fe7 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-10 16:59:53 +02:00
Eugen Rochko
06309129be
[Glitch] Fix audio/video/images/cards not reacting to window resizes in web UI
...
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-07-02 17:31:09 +02:00
Mélanie Chauvel
0b01492276
[Glitch] Change wording from “Hide media” to “Hide image/images” in Web UI
...
Port 40d81620b00f6c4ed30b78f95b443a08e62ae8fa to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-05-28 14:08:05 +02:00
Mélanie Chauvel (ariasuni)
669cf49c54
[Glitch] Change the tooltip "Toggle visibility" to "Hide media" in web UI
...
Port 5e4b6496557b5ef167518dbc6015307158e30ccf to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-03-08 20:45:36 +01:00
Eugen Rochko
008063d562
[Glitch] Change reported media attachments to always be hidden in admin UI
...
Port 1ded3bb752916fe87755d80a832af39431a42438 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-20 15:30:45 +01:00
BSKY
59946f9231
[Glitch] Add noopener and/or noreferrer
...
Port fccf83e1f2ecd4e23f7b1faee5330976d17da7b8 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-27 14:36:25 +01:00
Thibaut Girka
f2b307af25
Move “export” before decorators
...
As this is what upstream does.
See also https://github.com/tc39/proposal-decorators/issues/69
2019-09-09 18:36:43 +02:00
Eugen Rochko
b86292af33
[Glitch] Fix uncached media in web UI not being clickable
...
Port 34adc8784a3f165a4bd5719a067093f703f499e9 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-05 14:02:04 +02:00
Eugen Rochko
23c513846a
[Glitch] Add "not available" label on unknown media attachments
...
Port d3442894310022062debc4c6ed6b117f8bc3904b to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-05 13:06:41 +02:00
ThibG
4175f13155
[Glitch] Add option to disable blurhash previews
...
Port 3086c645fde2345d34e401bdf3e2f19f19da3294 to glitch-soc
2019-06-26 23:19:26 +02:00
Eugen Rochko
d7eb580053
[Glitch] Add media description as title to links of unknown media attachments
...
Port front-end changes from 49ebda4d49af50b375126e4a8285686fb6448a60 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-24 16:00:42 +02:00
Thibaut Girka
b4d4138cf9
[Glitch] Add keyboard shortcut to hide/show media
...
Port a472190729782f31731674c626c07af483fe9c7f and 988342a56cb58da9ac660eec3e55c3bcbbd6269b to glitch-soc
2019-05-27 19:43:15 +02:00
Eugen Rochko
f59973cc85
[Glitch] Make the "mark media as sensitive" button more obvious in web UI
...
Port 05ef3462ba0af7b147a7cfa8de2735e99dc59ac5 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-04 20:41:21 +02:00
Eugen Rochko
a5da59f140
[Glitch] Change account gallery in web UI
...
Port 3f143606faa6181ff2745b6bd29ac8ea075088bf to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-04 18:54:57 +02:00
Eugen Rochko
ccf4f3240a
[Glitch] Add blurhash
...
Port front-end changes from fba96c808d25d2fc35ec63ee6745a1e55a95d707 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-04 18:07:44 +02:00
Thibaut Girka
fbec0edf08
Fix opening/closing gifv sometimes making the timeline scroll
2019-04-16 22:20:23 +02:00
Thibaut Girka
a1c6e6de1b
Remove leftover console.log
2019-03-11 14:39:45 +01:00
ash lea
f534f4869e
add local setting to auto reveal media behind cw
2019-03-11 12:14:45 +01:00
Thibaut Girka
049c9a3b97
Avoid two-step rendering of statuses as much as possible
...
Cache width shared by Video player, MediaGallery and Cards at the
ScrollableList level, pass it down through StatusList and Notifications.
2019-02-10 22:54:25 +01:00
Thibaut Girka
e03813cf0a
[Glitch] Stop gifv timeline preview explicitly when open the media gallery
...
Port cf3c0fc38cd2650a421f46a5f221d1d645ef6c7b to glitch-soc
2019-01-10 21:00:33 +01:00
Thibaut Girka
0d3612482e
Render placeholder instead of image when MediaGallery container width isn't known
2018-11-25 11:29:56 +01:00
Thibaut Girka
86527024aa
In detailed status view, take displayMedia setting into account when changing media
...
Fixes #819
2018-11-15 16:38:50 +01:00
Thibaut Girka
dfa5b0576f
Update mediaGallery component's width when opening CWs
2018-10-21 16:09:07 +02:00
Thibaut Girka
6ad7606909
[Glitch] Add support for new display_media setting
...
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-10-01 16:48:55 +02:00
Thibaut Girka
925c185ef9
Prevent clicks on video from initiating selections
2018-09-21 12:56:13 +02:00
Thibaut Girka
8622dccaf1
Disable focus points for letterboxed media
2018-09-04 13:31:55 +02:00
Thibaut Girka
be644e3b7c
Media gallery styling closer to upstream's
2018-09-04 13:31:55 +02:00
Thibaut Girka
8183d2ed55
[Glitch] Do not override ctrl/cmd+click in media gallery
2018-09-04 13:31:55 +02:00
Thibaut Girka
937cd03a9a
[Glitch] Add missing video descriptions
...
Port ac092d03e7a781d27aff9cb9ea4637be9c5f2a2a to glitch-soc
2018-08-27 20:21:23 +02:00
Thibaut Girka
33c1607c83
[Glitch] Fix Chrome issue with sizes="0px"
2018-07-10 10:53:36 +02:00
Thibaut Girka
d0b2f71501
Fix width only being set for standalone media
2018-05-21 18:25:41 +02:00
Thibaut Girka
3ad3cee44c
[Glitch] Use real container width in MediaGallery srcSet
...
Port 22e067bf5c30a5aa7aec4b3c17dc112cacbe7873 to glitch-soc
2018-05-21 17:55:07 +02:00
Thibaut Girka
658ac4396c
Hide media in report modal regardless of whether they are marked sensitive
...
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-05-07 15:00:55 +02:00
beatrix
e88ce27855
Merge pull request #435 from ThibG/glitch-soc/features/public-modals
...
[Glitch] Show media modal on public pages
2018-04-22 12:07:29 -04:00
Thibaut Girka
7a68079b3f
[Glitch] Show media modal on public pages
...
Port ff7941e652af1d54d9c991254556e7932a8b183c to glitch-soc
2018-04-20 15:58:36 +02:00
Thibaut Girka
779aa707ec
Only compute height dynamically for standalone media
...
This prevents changing the status' height and triggering jumps in the TL
2018-04-19 11:16:18 +02:00
Thibaut Girka
dcc1c10937
[Glitch] Center thumbnails on focus point
...
Port the display part of the following commits to glitch-soc:
* 90f12f2e5a41115a9a756f9dd38054736080d4f9
* b170627ceb8838c358aef1fcca9673ce4aa61ab8
* 11697d68942db7b97a4c7384e4fb4148a97b9122
* 56eb5c3f344f0342ac6f26a05748bc21c585a729
2018-04-19 11:16:18 +02:00
Thibaut Girka
f1e25b672a
Use javascript to set MediaGallery height automatically
2018-04-19 11:16:18 +02:00
Thibaut Girka
a95f8271be
Revert some glitch-specific refactoring
...
In order to keep my sanity when porting changes between glitch-soc and upstream.
2018-04-19 11:16:18 +02:00
Thibaut Girka
c5dd4ed1d5
[Glitch] Fix media button type
...
Port ecdac9017efceb77da155bf85d5e7d6084382da2 to glitch-soc
2018-04-14 12:30:55 +02:00
Thibaut Girka
dfe8abb8cd
[Glitch] Handle preference to always display sensitive media
...
Port the UI part of 76f3d5d16be2fb97d2252909589510165ec05e12 to glitch-soc
2018-04-14 12:27:14 +02:00
kibigo!
60433d03f5
Add missing comma
2018-01-08 18:38:28 -08:00
kibigo!
5d2ef7a616
Show SENSITIVE tag on sensitive images ( #267 )
2018-01-08 18:25:29 -08:00
kibigo!
bc4fa6b198
Rename themes -> flavours ? ?
2017-12-03 23:26:40 -08:00