-
Notifications
You must be signed in to change notification settings - Fork 5
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
Pipd 945 show pop up once the wizard is complete #619
base: develop
Are you sure you want to change the base?
Pipd 945 show pop up once the wizard is complete #619
Conversation
…-945-Show-pop-up-once-the-wizard-is-complete
…tps://github.com/bcgov/moh-pidp into Pipd-945-Show-pop-up-once-the-wizard-is-complete
…-945-Show-pop-up-once-the-wizard-is-complete
window.scrollTo({ top: 0 }); | ||
setTimeout(() => { | ||
resolve(); | ||
}, 300); |
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 we can define the timeout value in the constants.
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 function can be replaced as it exists as a service
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.
@@ -68,12 +68,25 @@ export class CollegeLicenceInformationPage implements OnInit { | |||
this.title = this.route.snapshot.data.title; | |||
} | |||
|
|||
public scrollToTop(): Promise<void> { |
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.
Use scrollTopWithDelay
from UtilsService
instead
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.
The pop up doesnt open when the first time user selects |
I initially thought it was expected behavior, as the pop-up might only be relevant for users with college licenses. If you think it should appear for all users, even those selecting ‘None,’ I’ll explore updating this flow. What do you suggest? |
…tps://github.com/bcgov/moh-pidp into Pipd-945-Show-pop-up-once-the-wizard-is-complete
Quality Gate passedIssues Measures |
…tps://github.com/bcgov/moh-pidp into Pipd-945-Show-pop-up-once-the-wizard-is-complete
…tps://github.com/bcgov/moh-pidp into Pipd-945-Show-pop-up-once-the-wizard-is-complete
Quality Gate passedIssues Measures |
No description provided.