about summary refs log tree commit diff
path: root/src/state
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* | Apply feed preferences (react-query refactor) (#2040)Paul Frazee2023-11-293-85/+102
| | | | | | | | | | * Actually implement the feed tuners hook * Move feed-tuner pass into select() to have it apply immediately on change
* | Handle nsfw feeds in public view (#2035)Eric Bailey2023-11-291-1/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Handle nsfw feeds in public view * Translate * Refactor, new approach * Translate * Copy * Translate * Revert changes to Feed * Remove unused retry * Translate
* | Slightly less verbose variablePaul Frazee2023-11-291-3/+3
| |
* | Merge branch '2011-link-in-feeds-tab-bar' of ↵Paul Frazee2023-11-291-2/+9
|\ \ | | | | | | | | | https://github.com/CooperEdmunds/social-app into CooperEdmunds-2011-link-in-feeds-tab-bar
| * | Add hasPinnedCustomFeedOrList to usePinnedFeedsInfos hookCooper Edmunds2023-11-291-2/+9
| | |
* | | Fix state lifecycle management with post-feed query, solving the duplicate ↵Paul Frazee2023-11-291-69/+74
| | | | | | | | | | | | | | | | | | | | | key issue (#2034) * Assign keys to feed slices via a counter, to enable duplicate items in the feed if needed * Move post-feed query state into the query's page params to consistently bind their lifecycles
* | | Fix infinite query reloading behavior (reset, not invalidate) (#2031)Paul Frazee2023-11-291-1/+1
| | | | | | | | | | | | | | | * Reset, not invalidate, notification queries * Reset, not invalidate, feed queries
* | | Refactor the notifications to cache and reuse results from the unread-notifs ↵Paul Frazee2023-11-294-215/+347
| | | | | | | | | | | | | | | | | | | | | checks (#2017) * Refactor the notifications to cache and reuse results from the unread-notifs checks * Fix types
* | | Get more rigorous about getAgent() consistency (#2026)Paul Frazee2023-11-296-49/+35
|/ / | | | | | | | | * Get more rigorous about getAgent() consistency * Update the feed wrapper API to use getAgent() directly
* | Fix pinned feeds mutation issue (#2016)Eric Bailey2023-11-281-8/+1
| |
* | Handle other feed auth response (#2012)Eric Bailey2023-11-281-0/+3
|/
* Ensure we use following feed if merge is disabled (#2005)Eric Bailey2023-11-271-1/+1
|
* Restore post-thread caching behaviors (react-query refactor) (#2010)Paul Frazee2023-11-274-19/+283
| | | | | | | | | | | | | | | | | | | | | * Rework resolve-did and resolve-uri queries to be smarter about cache reuse * Precache handle resolutions * Remove old unused code * Load placeholder threads from the post-feed and notifications-feed queries * Remove logs * Fix bad ref * Add loading spinners to the cache-loading thread view * Scroll replies into view when loading threads * Add caching within a thread * Fix: dont show bottom border when the child spinner is active
* Don't check unread if session doesn't exist (#2008)Eric Bailey2023-11-271-1/+5
|
* Add more debugging to auth (#2009)Eric Bailey2023-11-271-1/+29
|
* Filter out blocked posts from thread view (#2006)Eric Bailey2023-11-271-3/+4
|
* Raise levels of some logs during pre-release (#1994)Eric Bailey2023-11-262-6/+9
|
* [PWI] Clarify different ways of clearing current account/logout (#1991)Eric Bailey2023-11-241-17/+29
| | | | | * Clarify different ways of clearing current account/logout * Reorder log
* Fall back for non-public feeds (#1988)Eric Bailey2023-11-241-0/+29
|
* PWI: Refactor Shell (#1989)dan2023-11-241-18/+13
| | | | | | | | | | | | | | | | | | | * Vendor createNativeStackNavigator for further tweaks * Completely disable withAuthRequired * Render LoggedOut for protected routes * Move web shell into the navigator * Simplify the logic * Add login modal * Delete withAuthRequired * Reset app state on session change * Move TS suppression
* PWI: Profile (#1982)dan2023-11-231-1/+4
| | | | | | | * PWI: Profile * Show replies conditionally * Dismiss modals on auth action