about summary refs log tree commit diff
path: root/src/state/queries
Commit message (Collapse)AuthorAgeFilesLines
...
* Reduce some Sentry logs (#2549)Eric Bailey2024-01-162-2/+3
| | | | | * Reduce some Sentry logs * Update tests
* Add a new home feed-api wrapper and give a header indicating the fallback ↵Paul Frazee2024-01-151-1/+6
| | | | | | | | | behavior (#2534) * Add a new home feed-api wrapper and give a header indicating the fallback behavior * Sneak in a quick fix: use the correct text color in the delete modal * Use imported constant
* Reduce polling (#2465)Paul Frazee2024-01-104-5/+31
| | | | | | | | | | | | | * Move profile and preference polling to polls-on-foreground * Refetch prefs on feeds screen refresh since polling no longer occurs * Reduce notifications polling by 50% if there's already an unread * Disable feed polling if we know we have content * Disable the hard refresh after 1 hour in case it's the cause of the random feed refresh bug * Fix types
* convert prefix to lowercase in actor autocomplete query (#2431)Hailey2024-01-081-0/+2
|
* Reduce web requests (#2420)Paul Frazee2024-01-044-2/+8
| | | | | * Stop auto-refetching app passwords and invites on an interval * Don't poll for posts or notifs if the app/tab isnt focused
* A couple notifications fixes (#2327)Paul Frazee2023-12-272-1/+6
| | | | | * Clear the app badge notif count on markallread * Fix like notifications on custom feeds
* Hide posts tool (#2299)Eric Bailey2023-12-243-9/+12
| | | | | | | | | | | | | * Set up hidden posts persisted state * Wrap moderatePost * Integrate hidden posts into moderation * Complete hide-post behaviors --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Fix blank home screen (close #2281) (#2291)Paul Frazee2023-12-241-1/+4
|
* Fix some account filtering behaviors (#2290)Paul Frazee2023-12-231-1/+1
| | | | | * Fix: don't filter ProfileCards out of certain lists * Fix: don't filter ProfileCards and autocomplete based on mutes
* Invalid handle autocomplete (#2251)Samuel Newman2023-12-201-1/+2
| | | | | * refactor invalid handle check from a previous PR to use util function * add invalid handle check to `prefixMatch`
* Use same source for pinned feeds on Home and tab/sidebars (#2235)Eric Bailey2023-12-181-0/+1
|
* Traffic reduction and tuned caching strats (#2215)Paul Frazee2023-12-154-75/+38
| | | | | | | | | | | | | * Update the feed to only check latest on focus after 30s, but to do a full reset on focus after 1 hour to avoid very stale data * Remove the isFeedPublic query * Fix: avoid double next-page fetches * Reduce some poll intervals to reduce server load * Guard against double-fires of fetchNextPage * Reduce polling on blurred screens
* PWI behavior updates (#2207)Paul Frazee2023-12-142-5/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Enable PWI * Disable access to feeds on PWI * Remove feeds nav item from drawer when signed out * Replace discover feed on home with a CTA * Wire up the sign in and create account buttons to go straight to their respective screens * Give a custom ScreenHider interface for no-pwi * Add side borders on desktop to the screen hider * Filter accounts in the autocomplete according to mod settings * Trim replies in the post thread that are pwi opt-out * Show 'learn more' on the content hider when no-override is enabled * Apply the moderation filter on profile cards * Disable post search on logged-out view * Update locale files * Bump api pkg * Ensure feeds with no posts don't show as NSFPublic * Fix types --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Feed bugfixes (#2204)Paul Frazee2023-12-132-2/+14
| | | | | * Dont show both an error and empty message in the feed * Add a sanity check when attempting to fill the first 30
* More notifications improvements (#2198)Paul Frazee2023-12-133-26/+25
| | | | | * On mobile, never replace the notifs under the user due to focus events * Use the server's seenAt response to calculate isRead state locally
* 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-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
| |/ |/|