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

refactor: move feed settings from MainFeedLayout to OnboardingFeedHeader #2878

Merged
merged 3 commits into from
Mar 28, 2024

Conversation

omBratteng
Copy link
Member

@omBratteng omBratteng commented Mar 28, 2024

Changes

Moves useFeedSettings from MainFeedLayout to OnboardingFeedHeader, as it does a query FeedPreferences query in every feed right now when it is not needed.

Preview domain

https://refactor-feedpreferences-query.preview.app.daily.dev

Copy link

vercel bot commented Mar 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
daily-webapp ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 28, 2024 4:21pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
storybook ⬜️ Ignored (Inspect) Mar 28, 2024 4:21pm

Copy link
Contributor

@rebelchris rebelchris left a comment

Choose a reason for hiding this comment

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

Tested, and seems to work fine
Why did we have it like this before, could have done like this right?

@rebelchris rebelchris merged commit c7e130e into main Mar 28, 2024
2 of 4 checks passed
@rebelchris rebelchris deleted the refactor-feedpreferences-query branch March 28, 2024 16:19
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.

4 participants