bsky-app/src/state/queries
Hailey 7eb1444f2c
remove precacheThreadPostProfiles (#3729)
* remove `precacheThreadPostProfiles`

* add `displayName` to `PreviewableUserAvatar`

* memo

* use `precacheProfile`

* pass `profile` directly to `PreviewableUserAvatar`

* update the `UserAvatar`'s props

* remove feed cache

* one more spot

* rm unused queryClient

* Don't call fn unnecessarily

* Preload for display name too

* try notification item

* add to feeditem

* and finally, precache for post threads

* timestamp

* Fix

* onBeforePress

---------

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2024-04-27 06:31:07 +01:00
..
notifications [Session] Add useAgent hook and replace (#3706) 2024-04-25 22:29:05 +01:00
preferences [Session] Add useAgent hook and replace (#3706) 2024-04-25 22:29:05 +01:00
actor-autocomplete.ts Improve usability of search on web (#3663) 2024-04-27 04:34:53 +01:00
actor-search.ts [Session] Add useAgent hook and replace (#3706) 2024-04-25 22:29:05 +01:00
app-passwords.ts [Session] Add useAgent hook and replace (#3706) 2024-04-25 22:29:05 +01:00
feed.ts [Session] Add useAgent hook and replace (#3706) 2024-04-25 22:29:05 +01:00
handle.ts [Session] Add useAgent hook and replace (#3706) 2024-04-25 22:29:05 +01:00
index.ts [Session] Base (#3541) 2024-04-25 10:35:21 -05:00
invites.ts [Session] Add useAgent hook and replace (#3706) 2024-04-25 22:29:05 +01:00
labeler.ts [Session] Add useAgent hook and replace (#3706) 2024-04-25 22:29:05 +01:00
like.ts [Session] Add useAgent hook and replace (#3706) 2024-04-25 22:29:05 +01:00
list-members.ts [Session] Add useAgent hook and replace (#3706) 2024-04-25 22:29:05 +01:00
list-memberships.ts [Session] Add useAgent hook and replace (#3706) 2024-04-25 22:29:05 +01:00
list.ts [Session] Add useAgent hook and replace (#3706) 2024-04-25 22:29:05 +01:00
my-blocked-accounts.ts [Session] Add useAgent hook and replace (#3706) 2024-04-25 22:29:05 +01:00
my-lists.ts [Session] Add useAgent hook and replace (#3706) 2024-04-25 22:29:05 +01:00
my-muted-accounts.ts [Session] Add useAgent hook and replace (#3706) 2024-04-25 22:29:05 +01:00
post-feed.ts remove precacheThreadPostProfiles (#3729) 2024-04-27 06:31:07 +01:00
post-liked-by.ts [Session] Add useAgent hook and replace (#3706) 2024-04-25 22:29:05 +01:00
post-reposted-by.ts [Session] Add useAgent hook and replace (#3706) 2024-04-25 22:29:05 +01:00
post-thread.ts remove precacheThreadPostProfiles (#3729) 2024-04-27 06:31:07 +01:00
post.ts [Session] Add useAgent hook and replace (#3706) 2024-04-25 22:29:05 +01:00
profile-feedgens.ts [Session] Add useAgent hook and replace (#3706) 2024-04-25 22:29:05 +01:00
profile-followers.ts [Session] Add useAgent hook and replace (#3706) 2024-04-25 22:29:05 +01:00
profile-follows.ts [Session] Add useAgent hook and replace (#3706) 2024-04-25 22:29:05 +01:00
profile-lists.ts [Session] Add useAgent hook and replace (#3706) 2024-04-25 22:29:05 +01:00
profile.ts remove precacheThreadPostProfiles (#3729) 2024-04-27 06:31:07 +01:00
resolve-uri.ts [Session] Add useAgent hook and replace (#3706) 2024-04-25 22:29:05 +01:00
search-posts.ts [Session] Add useAgent hook and replace (#3706) 2024-04-25 22:29:05 +01:00
service.ts Extract query key roots to constants (#3404) 2024-04-04 18:57:38 +01:00
suggested-feeds.ts [Session] Add useAgent hook and replace (#3706) 2024-04-25 22:29:05 +01:00
suggested-follows.ts [Session] Add useAgent hook and replace (#3706) 2024-04-25 22:29:05 +01:00
tenor.ts rm country param (#3653) 2024-04-23 00:37:46 +01:00
threadgate.ts Add "Who can reply" controls [WIP] (#1954) 2023-12-10 12:01:34 -08:00
util.ts bump api, remove as number from types (#3580) 2024-04-16 20:34:34 +01:00