-
Notifications
You must be signed in to change notification settings - Fork 19
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
chore: Gate expiration subs modal by license state as well as feature toggle #1216
Conversation
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.
Seems reasonable.
const displaySubscriptionExpirationModal = customerAgreement?.hasCustomLicenseExpirationMessaging | ||
&& !subscriptionLicense?.subscriptionPlan.isCurrent; |
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.
ah yes
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1216 +/- ##
=======================================
Coverage 88.42% 88.42%
=======================================
Files 399 399
Lines 8502 8504 +2
Branches 2051 2090 +39
=======================================
+ Hits 7518 7520 +2
Misses 942 942
Partials 42 42 ☔ View full report in Codecov by Sentry. |
customerAgreement: { | ||
hasCustomLicenseExpirationMessaging: true, | ||
modalHeaderText: 'Expired Subscription', | ||
buttonLabelInModal: 'Continue Learning', |
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.
nit: Continue learning
as our button case is sentence case.
No description provided.