about summary refs log tree commit diff
path: root/src/state
Commit message (Collapse)AuthorAgeFilesLines
...
* Patch bad migration, sanitize bad value (#2179)Eric Bailey2023-12-111-1/+2
|
* Handle failed pinned feed fetches when rendering list of pinned feeds (#2173)Eric Bailey2023-12-111-20/+33
|
* Don't validate embeds when traversing cache (#2174)dan2023-12-111-12/+4
|
* Clarify MyList filter intent (#2167)Eric Bailey2023-12-111-2/+6
|
* Additional reductions in request traffic (#2169)Paul Frazee2023-12-113-6/+15
| | | | | | | * 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
* Add "Who can reply" controls [WIP] (#1954)Paul Frazee2023-12-102-0/+13
| | | | | | | | | | | | | | | | | | | | | * 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
* Add back isInitialLoad to session (#2155)Eric Bailey2023-12-091-0/+8
|
* Multiple notifications fixes (#2154)Paul Frazee2023-12-094-23/+53
| | | | | | | | | | | | | | | * 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
* Use new filter for Posts tab on profile (#2150)Eric Bailey2023-12-081-0/+1
| | | | | | | * Use new filter for Posts tab on profile * Update deps * Remove log
* Await app view when handling blocks mutes for lists (#2151)Eric Bailey2023-12-081-0/+10
| | | | | * Await app view when handling blocks mutes for lists * Do it right this time
* Add manual per-page memoization to post select (#2146)dan2023-12-081-57/+120
|
* Various search fixes (#2145)Paul Frazee2023-12-074-3/+85
| | | | | | | * Add posts-search query to shadow cache search * Update user search to use correct endpoint * Fix: include cursor in post search
* Stop using the cached notification page (#2142)Paul Frazee2023-12-071-14/+7
|
* Fixes issue with (#2119)Ansh2023-12-071-8/+62
| | | | | | | | | | | * 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>
* Fix invites used order, adjust layout (#2139)Eric Bailey2023-12-071-1/+8
|
* Grab-bag of post-feed improvements (#2140)Paul Frazee2023-12-072-2/+10
| | | | | | | * 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
* Add label appeal tool to posts and accounts (#2124)Paul Frazee2023-12-071-0/+11
| | | | | * Add label appeal tool to posts and accounts * Fix translations
* Hoist moderation, attempt to fill feed up to 30 (#2134)Eric Bailey2023-12-072-33/+98
| | | | | | | | | | | * 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>
* Completely disable the RQ cache in post-thread (#2133)Paul Frazee2023-12-071-0/+1
|
* Apply color theme to HTML page itself (#2132)Eric Bailey2023-12-071-0/+1
|
* Add PWI opt-out toggle (#2122)Paul Frazee2023-12-072-35/+50
| | | | | | | | | | | | | | | | | * Add PWI opt-out toggle * Bump @atproto/api@0.7.0 * Tweak copy * Bump lockfile * Fix layout on ios * Tweak copy more * Fix types * Tweak copy some more
* More session improvements (#2129)Eric Bailey2023-12-071-31/+65
| | | | | | | | | * More session improvements * Drop resume session retries from 3 to 1 --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Add tests for migration and persisted state (#2118)Eric Bailey2023-12-065-3/+222
| | | | | | | | | | | | | * Add tests for migrate * Add test for persisted.init * Add legacy transform test * Set NODE_ENV for testing * Mock logger * Set expo var to test
* Refetch some data on an interval (#2114)Eric Bailey2023-12-065-4/+17
| | | | | * Match refetch intervals to stale time * Lower refetch interval for own-profile
* Update pwi endpoint (#2116)Paul Frazee2023-12-061-1/+1
|
* Move analytics out of init (#2115)dan2023-12-062-22/+3
| | | | | | | | | | | | | * Remove listenSessionLoaded from analytics * Move analytics init call to navigation ready * Remove zod dependency from analytics * Mirror changes on the web * Delete listenSessionLoaded * Only set up listeners once
* Remove getSession waterfall (#2112)dan2023-12-061-23/+55
|
* Enable structural sharing for preference query (#2113)dan2023-12-061-0/+1
|
* Check Analytics (#2106)Ansh2023-12-064-0/+15
| | | | | | | | | | | * fix sign in event tracking * add missing analytics events * add more missing analytics * fix like and unrepost event tracking * reset onEndReachedThreshold
* Surface raw server error if exists (#2096)Eric Bailey2023-12-051-3/+15
| | | | | | | | | | | * Surface raw server error if exists * Update copy * Update translation files --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Fix some typesPaul Frazee2023-12-052-2/+3
|
* Perf: Include quote posts in the post-thread placeholder (#2104)Paul Frazee2023-12-054-1/+96
|
* Fix: correctly identify if the screen is focused when handling soft resets ↵Paul Frazee2023-12-051-1/+1
| | | | on post feeds (#2100)
* Improvements to persisted state migration (#2098)Eric Bailey2023-12-055-22/+40
| | | | | | | | | | | * Fix session email/emailConfirmed types, update usage for safer access * Handle fallback better, better errors * Better handling, add test * Add test for default data * Remove fallback, not needed, update logs
* Fix email confirmation dialog on startup (#2097)dan2023-12-061-11/+0
| | | | | * Move init time logging to a fn, add guard * Fix email confirmation dialog on startup
* E2E 🟢 (#2092)Eric Bailey2023-12-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add logged out e2e ctrl, fix login test * Fix log handling via env vars in expo * Fix create account test * Upgrade dev-env * Fix home screen tests * Fix composer tests * Fix curate-lists tests, split in two * Fix invite codes test * Fix curate-lists tests * Give up on mergefeed test * Fix mod lists * Fix app view url * Fix profile tests * Fix profile test with hack * Keep using globals * Fix two more * Fix thread view * Better skip for merge feed * Revert debug code
* Update feeds on post created (#2085)Paul Frazee2023-12-042-1/+9
|
* Fix: correctly partial-match when calling truncateAndInvalidate() (#2088)Paul Frazee2023-12-041-3/+3
|
* Better handle feed auth failures (#2060)Eric Bailey2023-12-011-6/+7
| | | | | * Better handle feed auth failures * Add comment
* Improve unread notif tracking (#2056)Paul Frazee2023-11-301-13/+21
|
* Maintain some feed data to avoid needless glimmers (#2054)Paul Frazee2023-11-302-1/+19
|
* Merge branch 'invite-code-warning' of ↵Paul Frazee2023-11-301-1/+20
|\ | | | | | | https://github.com/mozzius/bluesky-official-app into mozzius-invite-code-warning
| * Merge remote-tracking branch 'upstream/main' into invite-code-warningSamuel Newman2023-11-3022-405/+566
| |\
| * | show informative message when token scope is wrongSamuel Newman2023-11-301-1/+20
| | |
* | | Beep boop (#2051)Eric Bailey2023-11-301-4/+7
| | |
* | | Rewrite the shadow logic to look inside the cache (#2045)dan2023-11-3014-171/+461
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Reset * Associate shadows with the cache * Use colocated helpers * Fix types * Reorder for clarity * More types * Copy paste logic for profile * Hook up profile query * Hook up suggested follows * Hook up other profile things * Fix shape * Pass setShadow into the effect deps * Include reply posts in the shadow cache search --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* | | Merge branch 'main' of github.com:bluesky-social/social-app into mainPaul Frazee2023-11-301-38/+43
|\ \ \
| * | | Fix lag when switching tabs (#2046)dan2023-11-301-38/+43
| | |/ | |/|
* / | Fix missing export in e2e versionPaul Frazee2023-11-301-0/+2
|/ /
* | Adjust stale-caches and dont group read&unread notifs together (#2041)Paul Frazee2023-11-2914-26/+8
| | | | | | | | | | | | | | | | | | * Dont group read & unread notifications together * Remove and reduce some stale cache times * Keep the staleTime on the post-feed * Bring back the load-bearing staletime on profile