Commit Graph

337 Commits (cdc9dca649bebd50efdfb73cfb3d829bbcb784c1)

Author SHA1 Message Date
Thibaut Girka cdc9dca649 [Glitch] Add notification quick-filter bar in the frontend app
Port df7186e93a to glitch-soc
2018-12-18 17:22:01 +01:00
Thibaut Girka e4b9a8da07 Sandbox toot embeds in the embed modal
It should not be necessary thanks to our Content Security Policy, but best
be sure in case a server's CSP is incorrect. Also, avoids a CSP warning about
loading remote scripts.
2018-12-17 22:22:29 +01:00
Thibaut Girka d16638a116 [Glitch] Minor scrollable list fixes
* Make sure loading indicator has enough vertical space
* Respect reduce_motion setting for loading indicator

Port 4ede51743e to glitch-soc
2018-12-17 22:14:06 +01:00
Thibaut Girka b19e5cf48d Split out is_changing_upload from is_submitting
Fixes #855
2018-12-17 13:01:07 +01:00
Thibaut Girka 4671179f5f [Glitch] Make animated header resoect `auto_play_gif`
Port part of 70da16b375 to glitch-soc
2018-12-16 14:48:15 +01:00
Thibaut Girka 4760c6e767 On mobile, go back in browser history upon posting, unless threaded mode is enabled 2018-12-14 23:56:53 +01:00
Thibaut Girka 9fd8019854 [Glitch] Fix “load more” button when no data has been fetched 2018-12-13 15:00:36 +01:00
Thibaut Girka 4b2c0e4e73 [Glitch] Make account media gallery more consistent with account timeline
Display “load more” more consistently, add a loading indicator on first load.
2018-12-13 15:00:36 +01:00
Thibaut Girka dda787761b [Glitch] Fix LoadMore usage in account media gallery
(Even though that codepath is probably never actually used…)
2018-12-13 15:00:36 +01:00
Thibaut Girka 467786f29b Fix mention links in detailed statuses not opening in the WebUI 2018-12-06 15:31:21 +01:00
Thibaut Girka a281d3ebd3 Scroll to selected toot even if the ancestors happen to be loaded 2018-11-30 22:37:38 +01:00
Thibaut Girka 8117ba2cb1 Scroll to detailed status when new ancestors get inserted 2018-11-30 22:37:38 +01:00
Thibaut Girka 5a03b30f13 [Glitch] Fix bug in order of conversations in web UI
Port 2af43c3dce to glitch-soc
2018-11-30 22:37:38 +01:00
Thibaut Girka ff50412846 [Glitch] Replace recursion in status mapStateToProps
Port 20a23c7d08 to glitch-soc
2018-11-30 22:37:38 +01:00
Thibaut Girka 05d7c498ba [Glitch] Introduce flat layout to contexts reducer
Port 4e718bbb25 to glitch-soc
2018-11-30 22:37:38 +01:00
Thibaut Girka fc707adcde Improve detailed status component lifecycle
- Move componentWillMount and componentWillReceiveProps logic to
  getDerivedStateFromProps.
- Compute CW auto-unfold status earlier
2018-11-29 18:32:42 +01:00
Thibaut Girka c0675a272e Do not crash the whole UI when loading an invalid column 2018-11-28 22:36:01 +01:00
Thibaut Girka 76603a189a Switch “cycling” reply policy link to set of radio inputs
Fixes #832
2018-11-28 22:35:42 +01:00
Thibaut Girka f21f359653 Add basic UI to set list replies setting in glitch-soc 2018-11-28 14:46:07 +01:00
Thibaut Girka c81ad5a2cb [Glitch] Volume sliders for videos
Port b7229bef1a to glitch-soc
2018-11-27 15:21:57 +01:00
Thibaut Girka 550c523233 Update MediaGallery and Video props when folding/unfolding CWs in detailed statuses 2018-11-25 11:29:56 +01:00
Thibaut Girka b8018a1bcb Render placeholder when inline video container width isn't known 2018-11-25 11:29:56 +01:00
Thibaut Girka e7c0ad6ac4 Move URLs to backend in their own file 2018-11-19 15:56:38 +01:00
Thibaut Girka 07e0f1023d [Glitch] Fix loading indicator inconsistency
Port 0562e258b3 to glitch-soc
2018-11-13 15:54:04 +01:00
Thibaut Girka f40a7b2616 [Glitch] Use local instead of global loading indicator for timelines, account timelines
Port 9a32abcbac to glitch-soc
2018-11-13 15:54:04 +01:00
Thibaut Girka e48b428ef3 [Glitch] Implement adding a user to a list from their profile
Port bb5558de62 to glitch-soc
2018-11-09 14:50:08 +01:00
Thibaut Girka 13567f13af [Glitch] Port some of upstream's getting started footer links 2018-10-31 10:07:41 +01:00
Thibaut Girka 8bef422043 Add a local setting for inline preview cards 2018-10-30 17:51:06 +01:00
Thibaut Girka 7f023b3b98 [Glitch] Fix dimensions of preview cards, fix crash in web UI, fix warning
Port 766a808de4 to glitch-soc
2018-10-30 17:51:06 +01:00
Thibaut Girka 18870c45f1 [Glitch] Include preview cards in status entity in REST API
Port cf2ab9c394 to glitch-soc
2018-10-30 17:51:06 +01:00
Thibaut Girka d091159140 Do not rely on hover for upload form options if touch is used 2018-10-27 19:06:49 +02:00
Thibaut Girka 1a63a8f74e [Glitch] Surround mid-text display names with bdi tags
Port 19aaf0e99f to glitch-soc
2018-10-22 18:57:20 +02:00
Thibaut Girka 6651d4fa7c [Glitch] fix: initial state of PrivacyDropdown is should not be null
Port 8f0c64baf1 to glitch-soc
2018-10-22 18:41:34 +02:00
Thibaut Girka 3d8c1f6104 Attempt at fixing inline video player 2018-10-21 16:09:07 +02:00
Thibaut Girka 1cb7fe932d Focus the UI when pressing Escape in the CW field 2018-10-20 15:00:39 +02:00
Thibaut Girka a8e896af12 Fix fav/boosts hotkeys not working on detailed statuses 2018-10-18 19:00:59 +02:00
Thibaut Girka ccf5ddfd88 Handle alt+enter in the spoiler input as shortcut for secondary post
Fixes #780
2018-10-14 12:00:21 +02:00
Thibaut Girka bf559a477a Really fix HotKeys 2018-10-10 17:40:06 +02:00
Thibaut Girka d21c9f08e5 Define some local-settings hints 2018-10-09 18:10:54 +02:00
Thibaut Girka c40ba63f42 Add support for hints (or extended descriptions) in local-settings pages 2018-10-09 18:10:54 +02:00
Thibaut Girka 56773bc55c Change “preferences” icon to match settings page icon 2018-10-09 18:10:54 +02:00
Thibaut Girka 065a19b18b Add icons for each of the local-setting pages 2018-10-09 18:10:54 +02:00
Thibaut Girka e968dcea13 Fix app-wide hotkeys randomly failing to work 2018-10-09 12:10:51 +02:00
Thibaut Girka 3f68e9ed11 Move “Show action buttons in collapsed toots” option 2018-10-08 13:49:25 +02:00
Thibaut Girka caa56b01a9 Switch from selects to radio buttons for local settings, improve styling 2018-10-08 13:49:25 +02:00
Thibaut Girka 58cbb9ef8f [Glitch] Change documentation URL
Port 7635a136c9 to glitch-soc
2018-10-07 22:56:24 +02:00
Thibaut Girka b4bab7eb35 Do not scroll timelines when *closing* media modals
Media modals push an history state so that pressing back on mobile closes them.
We made sure to not scroll when opening them, but not when *closing* them,
which caused some issues in rare cases.
2018-10-07 12:08:32 +02:00
Thibaut Girka 72305816ea [Glitch] Add a confirmation dialog when hitting reply and the compose box isn't empty 2018-10-05 19:08:52 +02:00
Thibaut Girka 1476e653ec Make hidden media clickable in account media gallery 2018-10-02 22:00:57 +02:00
Thibaut Girka c2f963256c Add media description (or status spoiler) in account media gallery 2018-10-02 22:00:57 +02:00