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

feat: add dismiss recommended profile #2856

Merged
merged 2 commits into from
May 15, 2023
Merged

Conversation

bigint
Copy link
Member

@bigint bigint commented May 15, 2023

What does this PR do?

🤖 Generated by Copilot at 0784596

This pull request adds a feature to dismiss recommended profiles from the home page or the modal. It creates a shared DismissRecommendedProfile component that calls the dismissRecommendedProfiles mutation and updates the cache and tracking. It modifies the RecommendedProfiles and Suggested components to use the shared component.

Related issues

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Enhancement (non-breaking small changes to existing functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Explanation of the changes

🤖 Generated by Copilot at 0784596

  • Add DismissRecommendedProfile component to allow users to dismiss recommended profiles from home page or modal (link)
  • Import and display DismissRecommendedProfile component next to UserProfile component in RecommendedProfiles and Suggested components (link, link, link, link)
  • Add DismissRecommendedProfiles mutation to mark profiles as dismissed by current user and update cache (link)
  • Add DISMISS_RECOMMENDED_PROFILE event name to track user action with Mixpanel (link)

Emoji

🚫🏠🎁

@vercel
Copy link

vercel bot commented May 15, 2023

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

Name Status Preview Updated (UTC)
prerender ✅ Ready (Inspect) Visit Preview May 15, 2023 5:03am
ui ✅ Ready (Inspect) Visit Preview May 15, 2023 5:03am
web ✅ Ready (Inspect) Visit Preview May 15, 2023 5:03am

@bigint bigint merged commit e7a23d1 into main May 15, 2023
@bigint bigint deleted the dismissRecommendedProfiles branch May 15, 2023 05:00
@vercel vercel bot temporarily deployed to Preview – prerender May 15, 2023 05:00 Inactive
@vercel vercel bot temporarily deployed to Preview – web May 15, 2023 05:03 Inactive
@vercel vercel bot temporarily deployed to Preview – ui May 15, 2023 05:03 Inactive
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