about summary refs log tree commit diff
path: root/src/state/queries
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-101-0/+5
| | | | | | | | | | | | | | | | | | | | | * 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
* 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-072-3/+79
| | | | | | | * 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
|
* 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
* 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
|
* 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
* 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
|
* Enable structural sharing for preference query (#2113)dan2023-12-061-0/+1
|
* Check Analytics (#2106)Ansh2023-12-062-0/+9
| | | | | | | | | | | * 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)
* Update feeds on post created (#2085)Paul Frazee2023-12-041-1/+1
|
* 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-3020-396/+547
| |\
| * | 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-3012-47/+353
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* | | Fix lag when switching tabs (#2046)dan2023-11-301-38/+43
| |/ |/|
* | 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-292-76/+89
| | | | | | | | | | * 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-295-49/+29
|/ / | | | | | | | | * 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
|
* Filter out blocked posts from thread view (#2006)Eric Bailey2023-11-271-3/+4
|
* Fall back for non-public feeds (#1988)Eric Bailey2023-11-241-0/+29
|