Commit Graph

680 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 c678e1906a [Glitch] Responsive design for profile directory
Port SCSS changes from 32bd452b56 to glitch flavour
2018-12-18 17:03:53 +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 2a9c9fcedb [Glitch] Fix padding on select elements in preferences
Port 708714b01c to glitch-soc
2018-12-16 14:48:15 +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 656e2d3121 [Glitch] Fix timeline pagination in the WebUI
The `hasMore` property of timelines in redux store was set whenever an API
request returned only one page of results, *even* if the query only requested
newer statuses (using `since_id`), causing `hasMore` to be incorrectly set to
false whenever fetching new toots in a timeline, which happens each time
an account's timeline or media gallery is visited.
2018-12-13 21:59:46 +01:00
Thibaut Girka 61cf3bf52a [Glitch] Fix hasMore in notifications 2018-12-13 21:58:48 +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 50f8e59820 [Glitch] Do not display empty message when the list is known to have more elements 2018-12-13 15:00:36 +01:00
Thibaut Girka a68d1d0ee2 Minor cleanup in ScrollableList component 2018-12-13 15:00:36 +01:00
Thibaut Girka 3d859a7c2b [Glitch] Fix various things in the directory
Port ac437d6b25 to glitch-soc
2018-12-09 16:08:10 +01:00
Thibaut Girka 6259051853 Port directory CSS changes from upstream
Port fd8ca11f19 to glitch-soc
2018-12-09 16:08:10 +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 606f0df712 Fix since_id 2018-12-01 18:59:24 +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 45ba4e83e0 [Glitch] Fix context building in the reducer
Port a5c740ba41 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 c37a81a5d7 Do not hardcode preferences link, pleroma doesn't have it 2018-11-28 22:36:01 +01:00
Thibaut Girka cb2822b68a Add error boundary component to catch Web UI crashes 2018-11-28 22:36:01 +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
David Yip 50b7d2f002 Merge pull request #829 from ThibG/glitch-soc/features/volume-sliders
[Glitch] Volume sliders for videos
2018-11-27 15:27:21 -06:00
Thibaut Girka c81ad5a2cb [Glitch] Volume sliders for videos
Port b7229bef1a to glitch-soc
2018-11-27 15:21:57 +01:00
Thibaut Girka a04a39668e [Glitch] check_boxes label should use display: inline-block
Port 057097e8ad to glitch-soc
2018-11-27 13:29:12 +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 e80f770118 Render placeholder instead of image when MediaGallery 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 7a1ec950a8 Fix composer not displaying on iPad 2018-11-16 15:04:32 +01:00
Thibaut Girka ca163ec35d In detailed status view, take displayMedia setting into account when changing media
Fixes #819
2018-11-15 16:38:50 +01:00
Thibaut Girka a1848008a9 [Glitch] Fix race condition when interacting with deleted toots
Port 7083838a54 to glitch-soc
2018-11-13 16:30:07 +01:00
Thibaut Girka b22501154e [Glitch] Prepend account header even when status list is empty
Partially port bc464619f3
2018-11-13 15:54:04 +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
ThibG c81ac519ef Merge pull request #806 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
2018-11-09 22:29:52 +01:00
Thibaut Girka de57627588 [Glitch] Remove unused computation of reblog references from updateTimeline 2018-11-09 21:57:56 +01:00
Thibaut Girka d457964527 [Glitch] Don't remove originals of boosted toots from timeline
Port 019c39bf1d to glitch-soc
2018-11-09 21:57:56 +01:00
Thibaut Girka 1dc409ffa6 Fix drawer waves being displayed in the list editor 2018-11-09 18:00:29 +01:00
Thibaut Girka 759005e4d0 [Glitch] Fix form validation flash message color and input borders
Port 718e4752a9 to glitch-soc
2018-11-09 15:10:09 +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