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

chore: Gate expiration subs modal by license state as well as feature toggle #1216

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

macdiesel
Copy link
Contributor

No description provided.

Copy link
Contributor

@iloveagent57 iloveagent57 left a comment

Choose a reason for hiding this comment

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

Seems reasonable.

Comment on lines +10 to +11
const displaySubscriptionExpirationModal = customerAgreement?.hasCustomLicenseExpirationMessaging
&& !subscriptionLicense?.subscriptionPlan.isCurrent;
Copy link
Contributor

Choose a reason for hiding this comment

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

ah yes

Copy link

codecov bot commented Oct 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.42%. Comparing base (96970cf) to head (3ee66f1).
Report is 1 commits behind head on master.

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.
📢 Have feedback on the report? Share it here.

customerAgreement: {
hasCustomLicenseExpirationMessaging: true,
modalHeaderText: 'Expired Subscription',
buttonLabelInModal: 'Continue Learning',
Copy link
Member

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.

@macdiesel macdiesel merged commit 72ff986 into master Oct 30, 2024
6 checks passed
@macdiesel macdiesel deleted the bbeggs/expiration_modal_fix branch October 30, 2024 18:14
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.

4 participants