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(ui): add upsells for pro edition to settings menu #6650

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

maryhipp
Copy link
Collaborator

Summary

Adds menu items to settings menu for pro upsells
Screenshot 2024-07-23 at 10 34 27 AM
Screenshot 2024-07-23 at 10 34 33 AM

Related Issues / Discussions

QA Instructions

Merge Plan

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)

@github-actions github-actions bot added the frontend PRs that change frontend files label Jul 23, 2024
@maryhipp maryhipp force-pushed the maryhipp/add-upsell-to-settings branch from 0cfd1f2 to 844074d Compare July 23, 2024 17:24
@maryhipp maryhipp enabled auto-merge (rebase) July 23, 2024 17:24
@maryhipp maryhipp merged commit 5635f65 into main Jul 23, 2024
14 checks passed
@maryhipp maryhipp deleted the maryhipp/add-upsell-to-settings branch July 23, 2024 17:27
Comment on lines +15 to +21
<Icon
as={PiArrowUpBold}
sx={{
mt: '2px',
fill: 'invokeYellow.500',
}}
/>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please use style props instead of sx. Instead of using margin, we can use a Flex with alignItems/justifyContent center.

const { t } = useTranslation();

return (
<Tooltip label={t('upsell.professionalUpsell')} placement="right" zIndex={2}>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Manually specifying zIndex can cause issues, especially on the workflows tab where reactflow does stuff to zIndex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend PRs that change frontend files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants