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.
6 years ago
Thibaut Girka
de7feea30e
Revert "[Glitch] Prevent timeline from moving when cursor is hovering over it"
This reverts commit 553cc28240
.
6 years ago
Thibaut Girka
4133f70902
Revert "[Glitch] Do not re-position scroll when loading more (inserting items from below)"
This reverts commit 32974a58dc
.
6 years ago
Thibaut Girka
32974a58dc
[Glitch] Do not re-position scroll when loading more (inserting items from below)
Port 8c601b54cc
to glitch-soc
6 years ago
Thibaut Girka
553cc28240
[Glitch] Prevent timeline from moving when cursor is hovering over it
Port 58852695c8
to glitch-soc
6 years ago
Thibaut Girka
cee157fc19
Improve accessibility of toot dropdown menu
* Prevent Enter keypresses from triggering dropdown display toggle twice
* Give focus to first/selected item of dropdown menus
* Implement keyboard navigation in generic dropdown menus
Partial port from ef7d64c801
to glitch-soc
6 years ago
Thibaut Girka
70a16d8858
[Glitch] Improve relative timestamps in web UI
Port 660cb058e1
to glitch-soc flavour
6 years ago
Thibaut Girka
1222e0a381
Use new getDerivedStateFromProps instead of deprecated componentWillReceiveProps
As we are already using the new getSnapshotBeforeUpdate lifecycle method,
we apparently cannot use the deprecated ones at all in this component.
6 years ago
Thibaut Girka
b39f3648a7
Tentative fix for #446
6 years ago
Thibaut Girka
003d114332
[Glitch] Fix the hot key (j, k) does not function correctly when there is a pinned toot in account timeline.
Port 23106844a1
to glitch-soc
6 years ago
Thibaut Girka
64d8d0464d
Add show more/less toggle for entire threads in web UI
Inspired from b6003afcdb
but using component
properties instead of redux store for hidden/revealed state.
6 years ago
Thibaut Girka
2888f74c12
Refactor the infamous three-valued boolean into two booleans, trying to simplify the logic
6 years ago
Thibaut Girka
63d671b18f
[Glitch] Fix button hiding when header title is too long
Port ffb2b8ef8c
to glitch-soc
6 years ago
Thibaut Girka
abf7c5b850
[Glitch] Fix column headers accessibility
Port 08e4c78e78
to glitch-soc.
SCSS fix inspired by 69f13e7bca
.
6 years ago
Thibaut Girka
7a68079b3f
[Glitch] Show media modal on public pages
Port ff7941e652
to glitch-soc
6 years ago
Thibaut Girka
694337d9bb
Fix auto-collapsed toots making the TL jump ( fixes #417 )
6 years ago
Thibaut Girka
931a4d1ebf
Clean up dead code
6 years ago
Thibaut Girka
8f8b71a278
Use React's new lifecycles for scrollable lists
6 years ago
Thibaut Girka
3068384dbc
Glitchsoc-specific changes to allow boosting own private toots
6 years ago
Thibaut Girka
779aa707ec
Only compute height dynamically for standalone media
This prevents changing the status' height and triggering jumps in the TL
6 years ago
Thibaut Girka
dcc1c10937
[Glitch] Center thumbnails on focus point
Port the display part of the following commits to glitch-soc:
* 90f12f2e5a
* b170627ceb
* 11697d6894
* 56eb5c3f34
6 years ago
Thibaut Girka
f1e25b672a
Use javascript to set MediaGallery height automatically
6 years ago
Thibaut Girka
a95f8271be
Revert some glitch-specific refactoring
In order to keep my sanity when porting changes between glitch-soc and upstream.
6 years ago
Thibaut Girka
5d96c5ac41
[Glitch] Responsively enforce 16:9 ratio on video thumbnails in web UI
Port the video-player part of 036dd98abb
to
glitch-soc. MediaGallery part ignored since it has diverged quite a bit.
This fixes #423
6 years ago
Thibaut Girka
c5dd4ed1d5
[Glitch] Fix media button type
Port ecdac9017e
to glitch-soc
6 years ago
Thibaut Girka
dfe8abb8cd
[Glitch] Handle preference to always display sensitive media
Port the UI part of 76f3d5d16b
to glitch-soc
6 years ago
Thibaut Girka
acb434b0c9
Add glitch-soc front-end support for bookmarks
Unlike boosts and like, there is no confirmation dialog as misclicking
can be recovered without another user seeing it.
6 years ago
Thibaut Girka
87071d9e81
[Glitch] Improved media modal
Port 4e929b2d17
to glitch-soc
6 years ago
Thibaut Girka
75f2e9fd97
Remove duplicate message entries
6 years ago
Thibaut Girka
48bcf4d6e8
[Glitch] Remove pointer events on the entire UI when a dropdown menu is open
Port 913a38111f
to glitch-soc
6 years ago
Thibaut Girka
2871a82fcc
[Glitch] Place dropdown menu top if it is closer to the bottom of the viewport
Port f6a8d835d3
to glitch-soc
6 years ago
Thibaut Girka
afa813d71f
Add basic domain block UI
6 years ago
Thibaut Girka
b5948044b3
[Glitch] Display unfollow button even if account moved
Backport 3987bd18a4
to glitch-soc
6 years ago
Thibaut Girka
7db431eac6
Fix attachment lists
6 years ago
Thibaut Girka
53eab4470d
Render toots with empty contents
This is necessary to display toots with media but otherwise no contents,
as glitch-soc displays the media as a child of StatusContent, unlike
Mastodon.
6 years ago
Thibaut Girka
88790b91de
[Glitch] Display AttachmentList in notifications
Port 77406d3a09
to glitch-soc
6 years ago
Thibaut Girka
3bc5452449
[Glitch] Display AttachmentList in timelines in compact style when media missing
Port 86a9de6753
to glitch-soc
6 years ago
Ash Levy
58eeb92755
expanded notifications show like default
6 years ago
Ash Levy
c68c1466ac
fix compressed notifications again ( #393 )
6 years ago
Thibaut Girka
6f0e50f9a0
[Glitch] Federate pinned statuses over ActivityPub
Port 9110db41c5
to glitch
6 years ago
Ash Levy
9317f6853e
compress boost/fave notifications more
6 years ago
Thibaut Girka
841ef606a9
Remove text requirement when media attached from statuses ( fixes #381 )
Ports cfa9b6e13a
to glitchsoc
6 years ago
Thibaut Girka
fb6f131fa1
Revert 245816ab27
( fixes #348 )
Since 245816ab2721f386184878d71be01143d207abf5, IntersectionObserverArticle
assumes that its children do not change unless the number of children changes.
This is not the case with the notification overlay, which resulted in the
checkmark of notification cleaning mode not updating unless scrolling to make
notifications appear/disappear.
This change may negatively impact performances.
6 years ago
Thibaut Girka
2107891edb
Remove some leftover code, I guess
6 years ago
David Yip
bcd86404da
Port 7badad7797
to glitch frontend
6 years ago
David Yip
708ec07e27
Style fixes to make eslint happier, hopefully
6 years ago
kibi!
a5931e1f48
Fixed autocollapse detection
6 years ago
cwm
8a0e4bb9a4
Hide moved account's follow button in search result (tootsuite pr #5913 )
6 years ago
kibigo!
60433d03f5
Add missing comma
6 years ago
kibigo!
5d2ef7a616
Show SENSITIVE tag on sensitive images ( #267 )
6 years ago