Commit Graph

1177 Commits

Author SHA1 Message Date
Dan Abramov 6b701d447e Display: none inactive pages 2023-12-12 22:15:50 +00:00
Dan Abramov 339bfaae2d Remove onScroll 2023-12-12 22:15:50 +00:00
Dan Abramov 840c07ddf2 More layouts 2023-12-12 22:15:50 +00:00
Dan Abramov d3ed9abd8d More layout 2023-12-12 22:15:50 +00:00
Dan Abramov a71f96a527 Fix more layout 2023-12-12 22:15:50 +00:00
Dan Abramov f58487efc9 More FlatList parity 2023-12-12 22:15:50 +00:00
Dan Abramov cc34ae9b82 Fix types 2023-12-12 22:15:50 +00:00
Dan Abramov 6b9aaa7726 Fix composer 2023-12-12 22:15:50 +00:00
Dan Abramov 86ed4b8f6a Add content-visibility for rows 2023-12-12 22:15:50 +00:00
Dan Abramov 4112b02cd5 Don't scroll away modal or lightbox 2023-12-12 22:15:50 +00:00
Dan Abramov 539e009bb8 Memoize, lint 2023-12-12 22:15:50 +00:00
Dan Abramov a3a29556e9 Cleanup 3 2023-12-12 22:15:50 +00:00
Dan Abramov 68cdd9897c Trim down both versions 2023-12-12 22:15:50 +00:00
Dan Abramov cd9a92fcd7 Undo PagerWithHeader changes and fork it 2023-12-12 22:15:50 +00:00
Dan Abramov 9020c3ba2d Clean up 2 2023-12-12 22:15:50 +00:00
Dan Abramov 8b23b73aec position: sticky 2023-12-12 22:15:50 +00:00
Dan Abramov 87e40a6bac Fixes 2023-12-12 22:15:50 +00:00
Dan Abramov e4cc7ea409 More scroll 2023-12-12 22:15:50 +00:00
Dan Abramov 8c81407ca9 Shell bars 2023-12-12 22:15:50 +00:00
Dan Abramov a23929238b onScroll 2023-12-12 22:15:50 +00:00
Dan Abramov 8dd695b672 scrollToOffset 2023-12-12 22:15:50 +00:00
Dan Abramov 8bfbfd2c07 onEndReached 2023-12-12 22:15:50 +00:00
Dan Abramov d290dda4d8 Screw around with layout 2023-12-12 22:15:50 +00:00
Dan Abramov 2df4db31d3 Rip out virtualization on the web 2023-12-12 22:15:50 +00:00
dan 5c701f8e0b Re-rendering improvements for like/unlike (#2180)
* Add a few memos

* Memo PostDropdownBtn better

* More memo

* More granularity

* Extract PostContent

* Fix a usage I missed

* oops
2023-12-12 13:50:43 -08:00
Ansh 1289b161a1 disable modal profile popup android (#2188) 2023-12-12 13:07:30 -08:00
Paul Frazee c5f8909ecf Double the footer on the list members flatlist 2023-12-11 15:52:00 -08:00
Eric Bailey fc85901a46 Fix links in profiles (#2178)
* Resolve links in profile bios

* Improve solution

* On mobile, dont disable pointer events on the bio richtext

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-12-11 15:34:25 -08:00
Paul Frazee 3592f6f50b Hide the mobile reply control if outside the threadgate (#2177) 2023-12-11 15:11:36 -08:00
Eric Bailey 9a59525b73 Revise FeedSourceCard load state to allow deletion for failures (#2172)
* Revise FeedSourceCard load state to allow deletion for failures

* Translate

* Remove test error feed

* Fix missing uri param

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-12-11 14:48:22 -08:00
Ansh 0f7dbbba4a dismiss keyboard when threadgate settings are opened (#2161) 2023-12-11 13:55:40 -08:00
Paul Frazee 99cf6b626f Additional reductions in request traffic (#2169)
* Dont poll for new content on profiles

* Drop the whenAppReady query after new post to reduce traffic overhead

* Reduce getPosts calls in notifs to only use them when needed
2023-12-11 13:53:37 -08:00
dan ab04074197 Fix scroll on native (#2170) 2023-12-11 13:47:41 -08:00
dan 8929ff526f Fix scroll on profile lists/feeds (#2168) 2023-12-11 13:24:31 -08:00
Paul Frazee b82c5177b9 Reduce calls to getFeedGenerator and getFeed (#2166)
* Reduce calls to getFeedGenerator by the mergefeed

* Dont run end-of-follows mergefeed requests until actually at the end of the feed

* build AWS container

---------

Co-authored-by: Jake Gold <jake@blueskyweb.xyz>
2023-12-11 12:58:34 -08:00
Paul Frazee 28fa5e4919 Add "Who can reply" controls [WIP] (#1954)
* Add threadgating

* UI improvements

* More ui work

* Remove comment

* Tweak colors

* Add missing keys

* Tweak sizing

* Only show composer option on non-reply

* Flex wrap fix

* Move the threadgate control to the top of the composer
2023-12-10 12:01:34 -08:00
Eric Bailey 940a627996 Fix empty state width (#2157) 2023-12-09 15:10:53 -08:00
Paul Frazee 102094b10a Poll for new posts on app foreground (#2152) 2023-12-08 16:30:19 -08:00
Eric Bailey 9c0c18d5d0 Use new filter for Posts tab on profile (#2150)
* Use new filter for Posts tab on profile

* Update deps

* Remove log
2023-12-08 16:29:53 -08:00
Eric Bailey 0270ada908 Fix quote post moderation check (#2149)
* Fix quote post moderation check

* Restore the ContentHider check

* Apply the content hider to quote posts

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-12-08 16:15:07 -08:00
Eric Bailey 61fa3d506c Close account switcher before logging out (#2148)
* Close account switcher before logging out

* Add comment
2023-12-08 13:00:19 -06:00
Ansh 9d51886e43 Fixes issue with (#2119)
* Allow going directly to password input screen when switching accounts and password is required

* Revise state handling

* Handle logged out states, enable clearing requestedAccount

---------

Co-authored-by: Eric Bailey <git@esb.lol>
2023-12-07 16:53:50 -08:00
Eric Bailey 1975f4936a Fix invites used order, adjust layout (#2139) 2023-12-07 16:30:41 -08:00
Paul Frazee 040ce03215 Grab-bag of post-feed improvements (#2140)
* Sanity check against cases where empty pages may occur

* Use the mergefeed as an emergency fallback to an empty feed

* Check for new posts on focus
2023-12-07 16:30:04 -08:00
Paul Frazee 52a0cb8fac Add label appeal tool to posts and accounts (#2124)
* Add label appeal tool to posts and accounts

* Fix translations
2023-12-07 14:45:50 -08:00
Eric Bailey 174a1622c9 Hoist moderation, attempt to fill feed up to 30 (#2134)
* Move moderatePost up to feed query

* Attemt to fill page up to 30

* Add the 'ensure full page' behavior to notifs

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-12-07 13:44:22 -08:00
Paul Frazee 940fc0ea5c Disable animation on scrollToTop for web (#2137) 2023-12-07 13:41:02 -08:00
Eric Bailey f115969f50 Fix double sep (#2136) 2023-12-07 13:06:41 -08:00
Paul Frazee 972bc1bd88 Increase the maximum ratio of images from 5:1 to 10:1 (#2131) 2023-12-07 13:03:34 -08:00
Paul Frazee 00e1e56a7d Treeview: more UI tweaks (#2125)
* Treeview: more UI tweaks

* Only show treeview when there are branching replies

* Fix types
2023-12-06 22:17:38 -08:00