Commit Graph

1236 Commits

Author SHA1 Message Date
Dan Abramov 9e12ea5143 Don't pass down onScroll (replacement TBD) 2023-12-14 01:29:16 +00:00
Dan Abramov b1cb4ef4de Fix on mobile 2023-12-14 01:29:16 +00:00
Dan Abramov b93ab428c3 Port pager to use onScrolledDownChange 2023-12-14 01:29:16 +00:00
Dan Abramov b4de3dda7d Add onScrolledDownChange 2023-12-14 01:29:16 +00:00
Dan Abramov c0eaaf8360 Fix type 2023-12-14 01:29:16 +00:00
Dan Abramov 7eb4ad6c29 Add an intermediate List component 2023-12-14 01:29:16 +00:00
Paul Frazee 8245e56747 Feed bugfixes (#2204)
* Dont show both an error and empty message in the feed

* Add a sanity check when attempting to fill the first 30
2023-12-13 12:17:14 -08:00
Eric Bailey b1f9454f1d Add fallback to email reminder modal (#2193)
* Add fallback to email reminder modal

* Add more debug
2023-12-12 15:18:38 -08:00
dan bf9cedb67b Clean up pager refs to fix crash (#2195) 2023-12-12 15:11:20 -08:00
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