Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove precacheThreadPostProfiles #3729

Merged
merged 18 commits into from
Apr 27, 2024
Merged

remove precacheThreadPostProfiles #3729

merged 18 commits into from
Apr 27, 2024

Conversation

haileyok
Copy link
Contributor

@haileyok haileyok commented Apr 26, 2024

Test Plan

  • Press user avatars in the feed
  • Press user avatars in post threads

Same behavior of having a minimal shell should exist - the basic info like avatar and display name should be pre-populated on the push.

Copy link

render bot commented Apr 26, 2024

Comment on lines 385 to 390
const profile: AppBskyActorDefs.ProfileViewBasic = {
handle: props.handle,
displayName: props.displayName,
did: props.did,
avatar: props.avatar ?? undefined,
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to build a little profile based on the data in props here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nevermind, let's just pass profile in the props instead.

Copy link

github-actions bot commented Apr 26, 2024

Old size New size Diff
6.44 MB 6.44 MB -590 B (-0.01%)

@haileyok haileyok marked this pull request as ready for review April 27, 2024 01:12
@gaearon gaearon merged commit 7eb1444 into main Apr 27, 2024
6 checks passed
@gaearon gaearon deleted the hailey/thread-cache-remove branch April 27, 2024 05:31
estrattonbailey added a commit that referenced this pull request Apr 28, 2024
* origin:
  Fix dropdown immediately closing on Enter (#3745)
  Account for momentum when hiding minimal shell (#3740)
  Reduce hovercard false positives, add them to display names and handles (#3739)
  YouTube Music as supported player (#3736)
  Patch lexicon for perf (#3733)
  ensure dialog is closed on unmount (#3650)
  remove precacheThreadPostProfiles (#3729)
  [Clipclops] New routes with placeholder screens (#3725)
  Special-case bsky.app/download to open share sheet or copy to clipboard (#3710)
  ver bump (#3731)
  Improve usability of search on web (#3663)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants