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
448a403c81
Stop using the cached notification page ( #2142 )
2023-12-07 17:16:39 -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
Eric Bailey
174a1622c9
Hoist moderation, attempt to fill feed up to 30 ( #2134 )
...
* 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>
2023-12-07 13:44:22 -08:00
Paul Frazee
5b19e2b90b
Completely disable the RQ cache in post-thread ( #2133 )
2023-12-07 13:02:51 -08:00
Eric Bailey
cdc1d08267
Apply color theme to HTML page itself ( #2132 )
2023-12-07 11:00:44 -08:00
Paul Frazee
17c27581b6
Add PWI opt-out toggle ( #2122 )
...
* 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
2023-12-07 10:32:55 -08:00
Eric Bailey
261a935747
More session improvements ( #2129 )
...
* More session improvements
* Drop resume session retries from 3 to 1
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-12-07 10:25:55 -08:00
Eric Bailey
818c6ae879
Add tests for migration and persisted state ( #2118 )
...
* 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
2023-12-06 16:41:05 -08:00
Eric Bailey
a924df4dcd
Refetch some data on an interval ( #2114 )
...
* Match refetch intervals to stale time
* Lower refetch interval for own-profile
2023-12-06 12:31:54 -08:00
Paul Frazee
47771b9066
Update pwi endpoint ( #2116 )
2023-12-06 12:20:39 -08:00
dan
6335be14e1
Move analytics out of init ( #2115 )
...
* 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
2023-12-06 12:04:05 -08:00
dan
748212e000
Remove getSession waterfall ( #2112 )
2023-12-06 18:32:14 +00:00
dan
20a46c8cff
Enable structural sharing for preference query ( #2113 )
2023-12-06 10:20:23 -08:00
Ansh
8e541d753a
Check Analytics ( #2106 )
...
* fix sign in event tracking
* add missing analytics events
* add more missing analytics
* fix like and unrepost event tracking
* reset onEndReachedThreshold
2023-12-06 09:45:01 -08:00
Eric Bailey
e6bda92b20
Surface raw server error if exists ( #2096 )
...
* Surface raw server error if exists
* Update copy
* Update translation files
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-12-05 18:25:32 -08:00
Paul Frazee
41fd6eb95b
Fix some types
2023-12-05 18:21:15 -08:00
Paul Frazee
712cd3fde5
Perf: Include quote posts in the post-thread placeholder ( #2104 )
2023-12-05 18:17:03 -08:00
Paul Frazee
826b841e10
Fix: correctly identify if the screen is focused when handling soft resets on post feeds ( #2100 )
2023-12-05 18:01:08 -08:00
Eric Bailey
3c8036587e
Improvements to persisted state migration ( #2098 )
...
* 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
2023-12-05 19:59:34 -06:00
dan
fab9f839d0
Fix email confirmation dialog on startup ( #2097 )
...
* Move init time logging to a fn, add guard
* Fix email confirmation dialog on startup
2023-12-06 00:28:11 +00:00
Eric Bailey
5f553c29df
E2E 🟢 ( #2092 )
...
* 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
2023-12-05 14:50:56 -06:00
Paul Frazee
48f5cebc80
Update feeds on post created ( #2085 )
2023-12-04 17:58:45 -08:00
Paul Frazee
d07ea64434
Fix: correctly partial-match when calling truncateAndInvalidate() ( #2088 )
2023-12-04 17:53:22 -08:00
Eric Bailey
f80bd30ef4
Better handle feed auth failures ( #2060 )
...
* Better handle feed auth failures
* Add comment
2023-12-01 09:29:50 -08:00
Paul Frazee
f8c46c08ca
Improve unread notif tracking ( #2056 )
2023-11-30 18:56:55 -08:00
Paul Frazee
826cbbd4bf
Maintain some feed data to avoid needless glimmers ( #2054 )
2023-11-30 18:49:23 -08:00
Paul Frazee
1755c2e538
Merge branch 'invite-code-warning' of https://github.com/mozzius/bluesky-official-app into mozzius-invite-code-warning
2023-11-30 16:13:16 -08:00
Eric Bailey
28f8999252
Beep boop ( #2051 )
2023-11-30 13:53:34 -08:00
dan
46b63accb8
Rewrite the shadow logic to look inside the cache ( #2045 )
...
* 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>
2023-11-30 13:35:58 -08:00
Paul Frazee
143fc80951
Merge branch 'main' of github.com:bluesky-social/social-app into main
2023-11-30 12:47:48 -08:00
Paul Frazee
ee82e78d5c
Fix missing export in e2e version
2023-11-30 12:47:40 -08:00
dan
cb193a827d
Fix lag when switching tabs ( #2046 )
2023-11-30 19:57:54 +00:00
Samuel Newman
b164f151cc
Merge remote-tracking branch 'upstream/main' into invite-code-warning
2023-11-30 17:11:51 +00:00
Samuel Newman
c06611fb71
show informative message when token scope is wrong
2023-11-30 17:09:10 +00:00
Paul Frazee
fcd22d4ccb
Adjust stale-caches and dont group read&unread notifs together ( #2041 )
...
* 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
2023-11-29 20:27:39 -08:00
Paul Frazee
a03f57c8c3
Apply feed preferences (react-query refactor) ( #2040 )
...
* Actually implement the feed tuners hook
* Move feed-tuner pass into select() to have it apply immediately on change
2023-11-29 20:11:01 -08:00
Eric Bailey
b83fa95793
Handle nsfw feeds in public view ( #2035 )
...
* Handle nsfw feeds in public view
* Translate
* Refactor, new approach
* Translate
* Copy
* Translate
* Revert changes to Feed
* Remove unused retry
* Translate
2023-11-29 19:27:58 -08:00
Paul Frazee
1140b05b83
Slightly less verbose variable
2023-11-29 17:37:15 -08:00
Paul Frazee
4c7b9652db
Merge branch '2011-link-in-feeds-tab-bar' of https://github.com/CooperEdmunds/social-app into CooperEdmunds-2011-link-in-feeds-tab-bar
2023-11-29 17:35:57 -08:00
Paul Frazee
630637874d
Fix state lifecycle management with post-feed query, solving the duplicate 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
2023-11-29 18:58:14 -06:00
Cooper Edmunds
ed391c346d
Add hasPinnedCustomFeedOrList to usePinnedFeedsInfos hook
2023-11-29 14:23:19 -05:00
Paul Frazee
4b3ec54add
Fix infinite query reloading behavior (reset, not invalidate) ( #2031 )
...
* Reset, not invalidate, notification queries
* Reset, not invalidate, feed queries
2023-11-29 11:15:35 -08:00
Paul Frazee
9239efac9c
Refactor the notifications to cache and reuse results from the unread-notifs checks ( #2017 )
...
* Refactor the notifications to cache and reuse results from the unread-notifs checks
* Fix types
2023-11-29 10:20:14 -08:00
Paul Frazee
6fe2b52f68
Get more rigorous about getAgent() consistency ( #2026 )
...
* Get more rigorous about getAgent() consistency
* Update the feed wrapper API to use getAgent() directly
2023-11-29 10:10:04 -08:00
Eric Bailey
bb9d340d42
Fix pinned feeds mutation issue ( #2016 )
2023-11-28 12:50:41 -06:00
Eric Bailey
cf1b0b1881
Handle other feed auth response ( #2012 )
2023-11-28 08:43:25 -08:00