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

[Referrals] - UI components pt.1 #10051

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

masvelio
Copy link
Contributor

Link to Issue

Closes: #10035

Description of Changes

  • Added feature flag FLAG_REFERRALS
  • Added modal to desktop and drawer to mobile for sharing invite link

Test Plan

  • FLAG_REFERRALS to true
  • in non scoped pages you can click user dropdown => 'Get referral link'
  • it should open modal/drawer with invitation to Common with possibilities to share this link
  • in scoped you can click user dropdown => 'Get referral link'
  • it should open modal/drawer with invitation to Community with possibilities to share this link

  • other places that can open the modal:
  • left sidebar in community
  • profile page

  • only UI, nothing really works
Kapture.2024-11-27.at.17.20.29.mp4

Deployment Plan

  1. n/a

Other Considerations

  • n/a

const { setIsInviteLinkModalOpen } = useInviteLinkModal();
const referralsEnabled = useFlag('referrals');

console.log('user', user);
Copy link
Collaborator

@Israellund Israellund Nov 27, 2024

Choose a reason for hiding this comment

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

Do you want to keep this log?

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.

[UI] - Refer to Common and Community
2 participants