Commit graph

38 commits

Author SHA1 Message Date
80532116af Use Tabler Icons for attachment icons
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-06 14:34:38 +02:00
Alex Gleason
7982c2c1f2
Toggle visiblity --> Hide 2022-04-25 17:33:29 -05:00
7d2a62b181 ReplyMentions component to ts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-10 10:48:56 +02:00
Justin
6e62f894e3 Fix sensitive content bugs 2022-04-04 16:51:29 -04:00
Alex Gleason
51fc8402f2
MediaGallery: use original image 2022-03-28 18:00:21 -05:00
Alex Gleason
03a5ef6d41
Fix (most) PropType errors 2022-03-23 12:14:42 -05:00
Justin
122ee00f58 Improve design of sensitive media 2022-03-22 11:13:42 -04:00
Alex Gleason
5cd894ab02
Truth Social 2022-03-21 13:14:26 -05:00
06b8b407c5 AttachmentThumbs: sensitive tag
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-06 23:39:13 +01:00
Alex Gleason
63fa3e7154
Status: normalize media attachments 2022-02-11 17:58:18 -06:00
Alex Gleason
c4bf347dae
MediaGallery: fall back on url when preview_url isn't provided 2022-02-07 12:26:11 -06:00
Alex Gleason
6323c7d70e
eslint: enforce gaps between groups with import/order 2022-01-10 16:25:06 -06:00
Alex Gleason
966ca91e1a
eslint: alphabetize imports with import/order 2022-01-10 16:17:52 -06:00
Alex Gleason
2a0e2001d6
eslint: enforce import/order 2022-01-10 16:01:24 -06:00
Alex Gleason
efd583473a
MediaGallery: only display eye icon when marked as sensitive 2021-10-15 18:30:14 -05:00
Alex Gleason
583aa6fd60
MediaGallery: fix audio attachment thumb crash 2021-10-12 13:46:09 -05:00
Alex Gleason
92fc853642
AttachmentThumbs: display compact media thumbs instead of AttachmentList 2021-10-08 13:17:37 -05:00
Alex Gleason
f23a6b0890
Replace a lot more icons with SVG icons 2021-09-27 20:47:44 -05:00
Alex Gleason
a310197a5a
eslint: prefer-const, no-loop-func, no-const-assign, no-var 2021-08-03 12:36:11 -05:00
Alex Gleason
5c630ad094
Replace repetitive blurhash code with component
https://github.com/tootsuite/mastodon/pull/14267
https://github.com/tootsuite/mastodon/pull/14278
2021-07-01 21:50:53 -05:00
Alex Gleason
47f6376e3e
Letterbox images with excess aspect ratios 2021-05-30 14:21:52 -05:00
Alex Gleason
66a491d298
Fix video display in media gallery 2021-05-17 22:17:10 -05:00
Alex Gleason
4db03cc3c9
Indicate > 4 attachments, fixes #591 2021-05-17 17:38:36 -05:00
Alex Gleason
5b24ac0503
Only letterbox media without an aspect ratio 2021-05-12 20:07:59 -05:00
Alex Gleason
01dcd9ac2a
Use 'original' size for aspect ratio 2021-05-12 15:04:31 -05:00
Alex Gleason
0bbdaa4191
eslint: trailing comma fixes, unused var 2020-10-07 13:08:36 -05:00
Alex Gleason
024e9209af
Chats: display of non-image attachments 2020-09-06 17:20:26 -05:00
Alex Gleason
5aef50b89e
Composer: refactor filename truncation 2020-09-06 16:44:19 -05:00
Bárbara de Castro Fernandes
01667a005e Show file icon and name for other file types
Currently the media preview looks blank when the file type is anything
other than an image, video or audio. This commit inserts a generic file
icon and also a label with the filename for these other extensions.
2020-09-06 16:08:09 -03:00
Alex Gleason
853dad032c
componentWillReceiveProps fixes, fixes #184, #231, !80 2020-07-04 19:14:12 -05:00
Alex Gleason
4e94c5d2ca
Merge branch 'develop' into audio-player 2020-07-02 16:32:50 -05:00
Sean King
3be1c9a1f1
Fixes for audio attachments when there is more than 1 attachment and icons for audio attachments 2020-07-02 16:31:52 -05:00
Alex Gleason
ecf26de289 Merge branch 'componentWillReceiveProps_to_DidUpdate_refactor' into 'develop'
Component will receive props to did update refactor Fixes #184

Closes #184

See merge request soapbox-pub/soapbox-fe!80
2020-06-27 00:23:44 +00:00
crockwave
8a43cb3709 partial completion of replacing componentWillReceiveProps 2020-06-18 20:30:46 -05:00
Bárbara de Castro Fernandes
e19f350111 Use StillImage on media items and fix autoPlayGif on account gallery 2020-06-15 16:43:24 -03:00
Alex Gleason
8f532b1b92
Media gallery: Fix upload limit, hotfix for #150 2020-06-07 14:40:54 -05:00
Alex Gleason
183c6538ca
Pull displayMedia from Redux store 2020-05-28 20:36:39 -05:00
Alex Gleason
d24dcb3e60
gabsocial --> soapbox paths 2020-05-28 17:56:55 -05:00
Renamed from app/gabsocial/components/media_gallery.js (Browse further)