Commit Graph

1644 Commits

Author SHA1 Message Date
Dan Abramov 2ab2f8ab5a Fixes to layout 2023-12-12 22:15:50 +00:00
Dan Abramov 163c2d25c1 Fix borked scroll animation 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 113e70e176 Clean up 1 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 9ab0ff6f1d add scrollview to moderation screen (#2187) 2023-12-12 13:07:59 -08:00
Ansh 1289b161a1 disable modal profile popup android (#2188) 2023-12-12 13:07:30 -08:00
Eric Bailey 2f8e7b2656 Make right nav scrollable on short screens (#2186) 2023-12-12 11:20:06 -08:00
Eric Bailey c6ab6e8b8e i18n settings improvements (#2184)
* Handle language selector

* Improve type safety

* Add a little more safety

* Update comment
2023-12-12 12:42:11 -06: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 6b3eb401b0 Multiple notifications fixes (#2154)
* Dont reset notifications feed on push notification event

* Dont separate notifications by read state to avoid jank

* On notifications screen focus, check latest and only rerender if not scrolled down

* Reuse the cached notifs page when its not stale

* Bump ios build number

* Improve comments

* Change the 'mark all read' condition to avoid firing too early
2023-12-09 15:09:31 -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
Paul Frazee e1b1720cad Tweak the PWI opt-out copy again (#2153)
* Tweak the PWI ot-out copy again

* Update .po files
2023-12-08 16:26:20 -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 528b4b5017 Clear unused locales (#2147)
* add some missing intl strings

* remove locales that are not used
2023-12-09 00:15:05 +05:30
Paul Frazee 7b50331188 Various search fixes (#2145)
* Add posts-search query to shadow cache search

* Update user search to use correct endpoint

* Fix: include cursor in post search
2023-12-07 17:20:17 -08:00
Paul Frazee 7de5c341a9 Update pwi opt-out language (#2143) 2023-12-07 17:16:23 -08: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