Commit Graph

88 Commits (663c9dcf3633b48169f35965d6cafd4575ecb022)

Author SHA1 Message Date
Thibaut Girka febaae28f4 [Glitch] Improve load gap styling in web UI
Port 93a1afb66c to glitch-soc
2018-05-29 21:25:28 +02:00
Thibaut Girka 7a953db0b6 [Glitch] Allow clients to fetch statuses made while they were offline
Port 34cb1a5461 to glitch-soc
2018-05-29 21:25:28 +02:00
Thibaut Girka 5ad747727f [Glitch] Replace onScrollToBottom with onLoadMore
Port 01d10b0bd8 to glitch-soc
2018-05-27 20:40:58 +02:00
Thibaut Girka 3315877afe Fix width only being set for standalone media 2018-05-21 18:25:41 +02:00
Thibaut Girka df3fa2cb78 [Glitch] Use real container width in MediaGallery srcSet
Port 765a8dad9a to glitch-soc
2018-05-21 17:55:07 +02:00
Thibaut Girka 72c5d3dd80 Prevent click on video from opening detailed toot 2018-05-18 17:49:51 +02:00
Thibaut Girka b6133837ad Widen clickable area of toots 2018-05-18 17:33:58 +02:00
Thibaut Girka 4c835854d6 [Glitch] Open video modal on public UI
Port efc482361b to glitch-soc
2018-05-17 18:37:00 +02:00
Thibaut Girka c77a4d8c51 [Glitch] Feature: Direct message from Statuses
Port 7a06bd7085 to glitch-soc
2018-05-16 19:45:30 +02:00
Thibaut Girka 336d5fecdb Fix root modal's keyup handling (Fixes #478) 2018-05-11 22:42:32 +02:00
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