Commit graph

502 commits

Author SHA1 Message Date
Thibaut Girka
d8fbd74c47 [Glitch] Add aria-label to column regions
Port 66dbb59aa1 to glitch-soc
2018-08-31 19:49:29 +02:00
Thibaut Girka
c6942a5283 Add option to not automatically unfold content warnings matching a regexp
Fixes #678
2018-08-31 18:35:03 +02:00
Thibaut Girka
5c400a2842 Allow text inputs in local settings dialog 2018-08-31 18:35:03 +02:00
Thibaut Girka
9d2739d74d Add a setting to automatically unfold all content warnings 2018-08-31 18:35:03 +02:00
Thibaut Girka
130bdb5ee8 [Glitch] Show compose form on delete & redraft when in mobile layout
Port 025fbb8285 to glitch-soc
2018-08-31 18:33:46 +02:00
Thibaut Girka
0f1db47a7e Fix search results on compose box 2018-08-31 18:33:46 +02:00
Thibaut Girka
b4f548fa18 Fix account header showing on search page 2018-08-31 18:33:46 +02:00
Thibaut Girka
4a686ddf8a [Glitch] On the mobile UI, move the search column to the right
Port 20bb90ced6 to glitch-soc
2018-08-31 18:33:46 +02:00
Thibaut Girka
4686b3fa76 [Glitch] Hide search from Compose on mobile devices
Port 0893b16695 to glitch-soc
2018-08-31 18:33:46 +02:00
Thibaut Girka
37a00d4c1d [Glitch] Add search item to tab bar for mobile devices
Port c9cbb8de70 to glitch-soc
2018-08-31 18:33:46 +02:00
Thibaut Girka
76a3f373e3 [Glitch] Use withRouter for TabsBar
Port 61e6275781 to glitch-soc
2018-08-31 18:33:46 +02:00
Thibaut Girka
5f035a2a1a [Glitch] Move "compose" on mobile to floating action button
Port e72db6d9dd to glitch-soc
2018-08-31 18:33:46 +02:00
Thibaut Girka
70c308c4aa [Glitch] When search enabled, display hint in search popout
Port 7901f9f63e to glitch-soc
2018-08-31 18:33:46 +02:00
Thibaut Girka
c20b27a9f4 Restrict querySelectorAll to the upload form component 2018-08-30 13:20:37 +02:00
Thibaut Girka
1544ac4e27 Add confirmation dialog when posting media without description
Fixes #211
2018-08-30 13:20:37 +02:00
Thibaut Girka
5ce6727669 [Glitch] Reduce padding of profile metadata boxes to allow more text
Port 9463bba5fb to glitch-soc
2018-08-29 19:28:59 +02:00
Thibaut Girka
171e54eb46 Add opt-in feature to have the spoilers field always on (fixes #634) 2018-08-29 14:29:36 +02:00
Thibaut Girka
4a9e3f80e8 [Glitch] Add CSS class to replies
Port 2bbec9f4da to glitch-soc
2018-08-28 19:52:47 +02:00
Thibaut Girka
3b09597556 [Glitch] Preserve hashtag casing in web UI hashtag history
Port f9b23a5d62 to glitch-soc
2018-08-28 19:52:28 +02:00
Thibaut Girka
24b6811a6e [Glitch] Implement tag auto-completion by history
Port 460e380d38 to glitch-soc
2018-08-28 19:52:28 +02:00
Thibaut Girka
e3246cd13b Preserve hashtag casing in threaded mode
Inspired by f9b23a5d62
2018-08-28 19:52:28 +02:00
Thibaut Girka
937cd03a9a [Glitch] Add missing video descriptions
Port ac092d03e7 to glitch-soc
2018-08-27 20:21:23 +02:00
Thibaut Girka
3106c81b1e [Glitch] Wait until relationship is loaded before showing follow button
Port cd049454be to glitch-soc
2018-08-27 20:21:12 +02:00
Thibaut Girka
478f70a0e6 Update poylfills (fixes #662) 2018-08-23 22:58:25 +02:00
Thibaut Girka
fce248810b [Glitch] Update state when opened dropdown is unmounted
Port dcd3544d153dd2a3961bd0d2214ed01a902a66da to glitch-soc
2018-08-23 22:58:14 +02:00
Thibaut Girka
3c49daeb8d Add glitch-soc local setting to display reply counters
Defaults to false.
2018-08-22 20:29:55 +02:00
Thibaut Girka
d62ea55d51 Move layout options to their own section 2018-08-22 20:29:55 +02:00
Thibaut Girka
87ad942d76 [Glitch] Display replies count in web UI
Port 4df9cabb22 to glitch-soc
2018-08-22 20:29:55 +02:00
Thibaut Girka
801919fc9b Add hashtag trendline support to glitch-soc flavour
Port Mastodon's hashtag stats thing to glitch-soc.
This doesn't change how hashtags are ordered, and doesn't add a trending
hashtags section, but it does change how hashtag searches are rendered,
displaying a trend line alongside each hashtag.
2018-08-22 19:27:06 +02:00
Thibaut Girka
360fbf1bd4 Add pinned accounts editor 2018-08-22 16:18:23 +02:00
Thibaut Girka
9fbaaefe59 Split list editor into components and containers 2018-08-22 16:18:23 +02:00
Thibaut Girka
d69f045681 Fix ColumnLink keys in getting_started_misc 2018-08-22 16:18:23 +02:00
Thibaut Girka
c789181626 [Glitch] Add hotkey for follow requests
Port 25f6f41052 to glitch-soc
2018-08-20 21:25:02 +02:00
Thibaut Girka
b230c04e00 Make the privacy dropdown button not look strange when using top placement
Inspired by 8fe1f8d4ce
2018-08-20 20:10:53 +02:00
Thibaut Girka
24f39c0841 [Glitch] Skip pagination logic entirely for pinned toots 2018-08-20 20:09:19 +02:00
Thibaut Girka
0c091475df Make non-link ColumnLinks behave as links 2018-08-20 20:08:13 +02:00
Thibaut Girka
f4d28ccfa3 Don't filter own toots 2018-08-19 21:36:46 +02:00
Thibaut Girka
432f6b88b0 Focus CW field when enabling it, focus compose textarea when disabling it
Port a99179d31f and 09147186b7
to glitch-soc
2018-08-19 16:56:31 +02:00
Thibaut Girka
7423c0c130 Various minor upload description fixes 2018-08-18 17:53:20 +02:00
Thibaut Girka
534439e73b Add focal points support in the composer 2018-08-18 17:53:20 +02:00
Thibaut Girka
9782ac017b Refactor in preparation for focal points modal 2018-08-18 17:53:20 +02:00
Thibaut Girka
69d4fa3bc5 Fix rails-ujs not being run on some settings pages (fixes #645) 2018-08-17 19:51:05 +02:00
Thibaut Girka
4a6bc2482a [Glitch] Defer scrollIntoView after DOM is drawn 2018-08-17 14:46:37 +02:00
Thibaut Girka
50cd70b3e9 Fix incorrect prop type for ComposerReply.status 2018-08-16 21:19:20 +02:00
Thibaut Girka
7595ae4090 Fix one GettingStarted ColumnLink not having a key 2018-08-16 20:59:12 +02:00
Thibaut Girka
494eaab5b1 Slightly more aggressive video preloading
- Preload video metadata if the video is loaded in detailed view, as it is
  likely to get played, and metadata is useful for seeking in the video.
- Preload video data if it's fullscreen as it is extremely likely to get
  played right after being put in fullscreen (although those are two steps).
- Preload video data if the user has clicked the position slider, as the video
  will play as soon as the mouse button is released, and video metadata is
  needed to properly seek into the video.
2018-08-14 21:56:23 +02:00
Thibaut Girka
c4e8402ef9 Fix bug when clicking on video position slider before starting the video 2018-08-14 21:56:23 +02:00
Thibaut Girka
f0fa6e3a7c Prevent default event handling when clicking on the video position slider
This prevents accidental text selection and avoids opening the toot containing
the video in the dynamic column when clicking on the position slider.
2018-08-14 21:56:23 +02:00
Thibaut Girka
acb3d5b7aa Don't prevent opening links in tabs with keyboard modifiers
Ctrl+click usually allows opening a link in a new tab. This
was prevented for hashtag or user links in toots.
2018-08-11 15:29:08 +02:00
Thibaut Girka
7067b64de3 Implement public profile endorsements in glitch-soc
Port WebUI changes from f2404de871 to glitch-soc
2018-08-10 16:25:46 +02:00