-
Notifications
You must be signed in to change notification settings - Fork 0
feat: info about syncing email verification status (AAI-558) #142
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
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.
Pull request overview
This PR adds an informational message to the unverified users admin page to inform administrators that email verification status synchronization from Auth0 may take time. The changes include adding a content projection slot to the user-list component and implementing a refresh functionality.
Key Changes
- Added
<ng-content>slot to user-list component for custom content - Added informational text with a refresh link on the unverified users page
- Implemented page refresh functionality via
window.location.reload()
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| src/app/pages/admin/components/user-list/user-list.component.html | Adds <ng-content> slot to allow parent components to inject custom content |
| src/app/pages/admin/unverified-users/unverified-users.component.html | Adds informational message about verification status sync delay with refresh link |
| src/app/pages/admin/unverified-users/unverified-users.component.ts | Implements refreshPage() method using window.location.reload() |
| src/app/pages/user/profile/profile.component.ts | Adds DOCUMENT injection (appears unrelated to PR's stated purpose) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
src/app/pages/admin/unverified-users/unverified-users.component.html
Outdated
Show resolved
Hide resolved
minh-biocommons
left a 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.
all good!
Description
AAI-558: add a message about how verification status can take time to sync. syncing has been improved in the backend so the status should go out of sync less, but it will not be perfectly consistent, so tell admins to try refreshing after a minute or two
Changes
Checklist
How to Test Manually
Run
ng test, visithttp://localhost:4200/unverified-usersScreenshots for any UI changes