-
Notifications
You must be signed in to change notification settings - Fork 292
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: update message for enrolment, renewal, error modal when grace period is over #16551
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## dev #16551 +/- ##
==========================================
- Coverage 45.43% 45.42% -0.01%
==========================================
Files 740 740
Lines 24239 24243 +4
Branches 5506 5509 +3
==========================================
Hits 11012 11012
- Misses 11818 11821 +3
- Partials 1409 1410 +1 |
@@ -365,13 +365,13 @@ export class E2EIHandler extends TypedEventEmitter<Events> { | |||
// Clear the e2e identity progress | |||
this.coreE2EIService.clearAllProgress(); | |||
|
|||
const isSoftLockEnabled = await shouldEnableSoftLock(this.config!); | |||
const disableSnooze = await shouldEnableSoftLock(this.config!); |
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.
👍 nice renaming
/** | ||
* Options for configuring a modal. | ||
* @typedef {Object} GetModalOptions | ||
* @property {ModalType} type - The type of modal to display. | ||
* @property {Function} [primaryActionFn] - Function to execute for the primary action. | ||
* @property {Function} [secondaryActionFn] - Function to execute for the secondary action. | ||
* @property {boolean} [hideSecondary=false] - Flag to hide the secondary action button. | ||
* @property {boolean} [hidePrimary=false] - Flag to hide the primary action button. | ||
* @property {boolean} [hideClose=false] - Flag to hide the close button. | ||
* @property {Object} [extraParams] - Additional parameters for the modal. | ||
* @property {string} [extraParams.delayTime] - time left to remind the user again for enroll/renewal. | ||
* @property {boolean} [extraParams.isRenewal] - Flag indicating if this is a renewal action. | ||
* @property {boolean} [extraParams.isGracePeriodOver] - Flag indicating if the grace period is over. | ||
*/ |
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.
Oh, you did it the hard way. There is actually a super nice jsdoc/typescript feature where you can inline jsdoc directly in the types. I'll show you in a diff comment
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.
Ahh ok, shall i remove my jsdoc then?
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.
I think you can remove them then :)
Inline jsdoc has the benefit of showing up on the typescript server language :)
Co-authored-by: Thomas Belin <[email protected]>
Description
update message for enrolment, renewal, error modal when grace period is over
Screenshots/Screencast (for UI changes)