-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
ref(seer): Update add-on enum #103695
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
ref(seer): Update add-on enum #103695
Conversation
❌ 15 Tests Failed:
View the top 3 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
| ) | ||
| ) && | ||
| (addOnInfo.apiName !== AddOnCategory.SEER || | ||
| !subscription.addOns?.[AddOnCategory.LEGACY_SEER]?.enabled) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Usage metrics for Seer hidden when Legacy Seer enabled
The addOnsToShow filter hides the SEER add-on if LEGACY_SEER is enabled. Since the SEER add-on includes unique data categories (like SEER_USER) not present in LEGACY_SEER, users with both add-ons enabled cannot see usage statistics for Seer Users.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is correct
| item => item.type.startsWith('reserved_') && !item.type.endsWith('_budget') | ||
| ); | ||
| // TODO(prevent): This needs to be updated once we determine how to display Prevent enablement and PAYG changes on this page | ||
| // TODO(seer): This needs to be updated once we determine how to display Seer enablement and PAYG changes on this page |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: New Seer product excluded from checkout success add-ons list
The products filter explicitly restricts items to reserved_seer_budget, causing the new reserved_seer_users invoice item type to be excluded from the add-ons list. This forces the new Seer product to be rendered as a generic volume item instead of using the updated add-on presentation logic in reservedInvoiceItemTypeToAddOn.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is fine for now since we haven't finalized what it's going to look like in the success page (see TODO)
Closes BIL-1796 and BIL-1757
Depends on https://github.com/getsentry/getsentry/pull/18869