Thibaut Girka
3333cce41e
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
Thibaut Girka
04a8aef9d2
Revert "[Glitch] Prevent timeline from moving when cursor is hovering over it"
...
This reverts commit 1c75c7901f
.
2018-05-06 21:50:33 +02:00
Thibaut Girka
82421dc2e2
Revert "[Glitch] Do not re-position scroll when loading more (inserting items from below)"
...
This reverts commit ca62d8bcc6
.
2018-05-06 21:50:26 +02:00
beatrix
f5f840cdb3
Merge pull request #462 from ThibG/glitch-soc/features/dropdowns-accessibility
...
Improve accessibility of toot dropdown menu
2018-05-06 12:12:20 -04:00
Thibaut Girka
ca62d8bcc6
[Glitch] Do not re-position scroll when loading more (inserting items from below)
...
Port 554653a423
to glitch-soc
2018-05-05 17:18:55 +02:00
Thibaut Girka
1c75c7901f
[Glitch] Prevent timeline from moving when cursor is hovering over it
...
Port 9188537f5f
to glitch-soc
2018-05-05 17:18:25 +02:00
Thibaut Girka
eea6b78afc
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
2018-05-05 17:11:48 +02:00
Thibaut Girka
41fe73f35c
[Glitch] Improve relative timestamps in web UI
...
Port 07e5dcb65f
to glitch-soc flavour
2018-05-02 13:45:40 +02:00
Thibaut Girka
2ed804d4ca
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.
2018-04-27 01:24:55 +02:00
Thibaut Girka
8be1573a6e
Tentative fix for #446
2018-04-27 00:59:36 +02:00
beatrix
cd9c602a0e
Merge pull request #401 from ThibG/glitch-soc/features/unfold-thread
...
Port the “unfold thread” feature from Mastodon's UI to glitch-soc flavour
2018-04-26 11:34:14 -04:00
Thibaut Girka
bc3be9ac5b
[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
2018-04-22 23:11:16 +02:00
Thibaut Girka
4e4a5fc1ad
Add show more/less toggle for entire threads in web UI
...
Inspired from b9b01bf14a
but using component
properties instead of redux store for hidden/revealed state.
2018-04-22 19:19:01 +02:00
Thibaut Girka
5ab80ffadd
Refactor the infamous three-valued boolean into two booleans, trying to simplify the logic
2018-04-22 19:18:15 +02:00
Thibaut Girka
a51aa91caf
[Glitch] Fix button hiding when header title is too long
...
Port 95da1b3351
to glitch-soc
2018-04-22 19:17:10 +02:00
Thibaut Girka
8c190e6235
[Glitch] Fix column headers accessibility
...
Port c6d5ea8695
to glitch-soc.
SCSS fix inspired by 4cf5144099
.
2018-04-22 19:17:10 +02:00
beatrix
64f74da493
Merge pull request #432 from ThibG/glitch-soc/features/reblog-private
...
Glitchsoc-specific changes to allow boosting own private toots
2018-04-22 12:32:58 -04:00
beatrix
69710cf17b
Merge pull request #427 from ThibG/glitch-soc/fixes/scroll-behavior
...
Improve ScrollableList behavior
2018-04-22 12:09:52 -04:00
beatrix
1b58c44557
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
d6693f3ae3
[Glitch] Show media modal on public pages
...
Port 47d2277ef1
to glitch-soc
2018-04-20 15:58:36 +02:00
Thibaut Girka
74bfb1e579
Fix auto-collapsed toots making the TL jump ( fixes #417 )
2018-04-19 11:30:42 +02:00
Thibaut Girka
f63da992fc
Clean up dead code
2018-04-19 11:30:42 +02:00
Thibaut Girka
fe20ada59a
Use React's new lifecycles for scrollable lists
2018-04-19 11:29:37 +02:00
Thibaut Girka
f83dc9507f
Glitchsoc-specific changes to allow boosting own private toots
2018-04-19 11:24:29 +02:00
Thibaut Girka
9b72f23fdd
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
e0bffe8856
[Glitch] Center thumbnails on focus point
...
Port the display part of the following commits to glitch-soc:
* 865c7e7178
* 62d18a3f9b
* 15ec9431be
* c1d44284ca
2018-04-19 11:16:18 +02:00
Thibaut Girka
c4209e12f6
Use javascript to set MediaGallery height automatically
2018-04-19 11:16:18 +02:00
Thibaut Girka
b283f463c9
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
9a3fd77c72
[Glitch] Responsively enforce 16:9 ratio on video thumbnails in web UI
...
Port the video-player part of 8c85fd26bb
to
glitch-soc. MediaGallery part ignored since it has diverged quite a bit.
This fixes #423
2018-04-14 17:35:45 +02:00
Thibaut Girka
6153d6a6dc
[Glitch] Fix media button type
...
Port 6cb5d71e5f
to glitch-soc
2018-04-14 12:30:55 +02:00
Thibaut Girka
4b1909612a
[Glitch] Handle preference to always display sensitive media
...
Port the UI part of 219b28e172
to glitch-soc
2018-04-14 12:27:14 +02:00
David Yip
605016368d
Merge pull request #419 from ThibG/glitch-soc/features/bookmarks
...
Bookmarks
2018-04-13 16:38:15 -05:00
Thibaut Girka
8b3d03067b
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.
2018-04-11 21:05:34 +02:00
Thibaut Girka
89f5ae00a5
[Glitch] Improved media modal
...
Port d6e88e29e2
to glitch-soc
2018-04-08 23:15:25 +02:00
Thibaut Girka
7518a4b9d7
Remove duplicate message entries
2018-04-04 12:19:00 +02:00
beatrix
766a008931
Merge pull request #380 from ThibG/glitch-soc/features/domain-block-ui
...
Port #6628 to glitch-soc flavour
2018-03-30 14:50:02 -04:00
Thibaut Girka
769c536db4
[Glitch] Remove pointer events on the entire UI when a dropdown menu is open
...
Port 95fce1bca0
to glitch-soc
2018-03-30 12:45:23 +02:00
Thibaut Girka
caa6611877
[Glitch] Place dropdown menu top if it is closer to the bottom of the viewport
...
Port 27b532cc98
to glitch-soc
2018-03-30 12:31:29 +02:00
Thibaut Girka
d2b9747a50
Add basic domain block UI
2018-03-30 10:07:33 +02:00
Thibaut Girka
32ede640af
[Glitch] Display unfollow button even if account moved
...
Backport 1a90ef9c25
to glitch-soc
2018-03-29 14:59:20 +02:00
David Yip
299cfa4bc7
Merge pull request #402 from ThibG/glitch-soc/fixes/accept-empty-toot-contents
...
Render toots with empty contents
2018-03-28 16:39:12 -05:00
Thibaut Girka
166fe6e6dd
Fix attachment lists
2018-03-28 22:19:36 +02:00
Thibaut Girka
4975cee02f
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.
2018-03-28 21:13:45 +02:00
Thibaut Girka
8fc7f85356
[Glitch] Display AttachmentList in notifications
...
Port 2cb19bf443
to glitch-soc
2018-03-27 16:09:33 +02:00
Thibaut Girka
9454cfc0ad
[Glitch] Display AttachmentList in timelines in compact style when media missing
...
Port 5079c1e322
to glitch-soc
2018-03-27 16:09:27 +02:00
Ash Levy
21e374356a
expanded notifications show like default
2018-03-22 10:20:36 -04:00
David Yip
bdeaef116e
Merge pull request #394 from ashkitten/compressed-notifs
...
fix compressed notifications again (#393 )
2018-03-19 15:41:09 -05:00
David Yip
8d5abcb749
Merge pull request #388 from ThibG/glitch-soc/federated-pinned-toots
...
Port WebUI toots/with reply/media tabs and pinned toots to glitch
2018-03-18 20:17:15 -05:00
Ash Levy
59c1accd4b
fix compressed notifications again ( #393 )
2018-03-18 13:42:28 -04:00
Thibaut Girka
b05bebce6d
[Glitch] Federate pinned statuses over ActivityPub
...
Port b1f8dfd3cf
to glitch
2018-03-16 23:16:20 +01:00