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

chore: cleanup plus to be available to all #4095

Merged
merged 4 commits into from
Jan 23, 2025
Merged

chore: cleanup plus to be available to all #4095

merged 4 commits into from
Jan 23, 2025

Conversation

sshanzel
Copy link
Member

@sshanzel sshanzel commented Jan 22, 2025

Changes

  • This needs a thorough testing before merging.

Events

Did you introduce any new tracking events?

Experiment

Did you introduce any new experiments?

Manual Testing

Caution

Please make sure existing components are not breaking/affected by this PR

Preview domain

https://mi-768.preview.app.daily.dev

Copy link

vercel bot commented Jan 22, 2025

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

Name Status Preview Updated (UTC)
daily-webapp ✅ Ready (Inspect) Visit Preview Jan 23, 2025 10:00am
1 Skipped Deployment
Name Status Preview Updated (UTC)
storybook ⬜️ Ignored (Inspect) Jan 23, 2025 10:00am

Copy link
Contributor

@ilasw ilasw left a comment

Choose a reason for hiding this comment

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

Overall looks solid code wise, just 2 small points.

Nice! 💯

Comment on lines 82 to 84
if (!menuItems.length) {
return null;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

I think that we should remove this if at all, condition were: If there are no custom feeds AND the user is not entrolled to Plus

Copy link
Member Author

Choose a reason for hiding this comment

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

Makes sense! Yes, let's remove this one.

Copy link
Contributor

@AmarTrebinjac AmarTrebinjac left a comment

Choose a reason for hiding this comment

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

Seems like a very tedious task, good job! 😄

...getPostByIdKey(post?.id),
{
key: 'title',
showPlusSubscription,
Copy link
Member Author

Choose a reason for hiding this comment

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

@omBratteng do you think we still need to have this property for the QueryKey? Like

{
  key: 'title',
  showPlusSubscription: true
}

@sshanzel
Copy link
Member Author

I checked the areas where we made changes and they still exist/look the same against current prod.

@sshanzel sshanzel merged commit 9b368f3 into main Jan 23, 2025
10 checks passed
@sshanzel sshanzel deleted the MI-768 branch January 23, 2025 10:51
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.

3 participants