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(project-creation): Make product selection feature available to everyone - Part 2 #50806

Conversation

priscilawebdev
Copy link
Member

@priscilawebdev priscilawebdev commented Jun 13, 2023

This PR mainly updates the ProductSelection component, adding the new prop disabledProducts which will be used in case a product present in the list is not available in the current strategy of an organization.

Note: Further work that includes cleanup and dark mode styles will be done in follow-up PRs

Related to #49936

Requires https://github.com/getsentry/getsentry/pull/10844

Preview:

Screen.Recording.2023-06-13.at.13.17.42.mov

@priscilawebdev priscilawebdev requested a review from a team as a code owner June 13, 2023 11:54
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jun 13, 2023
@priscilawebdev priscilawebdev changed the title fest(project-creation): Make product selection feature available to everyone - Part 2 feat(project-creation): Make product selection feature available to everyone - Part 2 Jun 13, 2023
@priscilawebdev priscilawebdev requested a review from a team June 13, 2023 12:04
@JonasBa JonasBa requested review from a team and removed request for a team June 13, 2023 18:21
Comment on lines 60 to 64
const reason = hasRightsToUgradePlan
? t('To use Session Replay, update your organizations plan to its latest version.')
: t(
'To use Session Replay, request an owner in your organization to update its plan to the latest version.'
);
Copy link
Member

Choose a reason for hiding this comment

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

I think that hasRightsToUgradePlan and messaging around upgrading plans do not belong to the sentry repo.
It should live in getsentry as OSS does not have the concept of plans.

Copy link
Member Author

@priscilawebdev priscilawebdev Jun 14, 2023

Choose a reason for hiding this comment

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

you are right...we should move this logic to getsentry. Thanks for the feedback... will update the code

@priscilawebdev priscilawebdev merged commit c730911 into master Jun 15, 2023
@priscilawebdev priscilawebdev deleted the priscila/feat/make-getting-started-docs-available-to-everyone-part-2 branch June 15, 2023 11:08
@github-actions github-actions bot locked and limited conversation to collaborators Jun 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants