Skip to content

Conversation

@marius-mather
Copy link
Collaborator

@marius-mather marius-mather commented Dec 19, 2025

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

  • Add a content slot to user-list component so we can add notes/information to specific user-list pages
  • Add a note on syncing/refreshing to the unverified users page
  • Fix a missing import

Checklist

  • I have commented my code, particularly in hard-to-understand areas
  • I have added unit / integration tests that prove my fix is effective or that my feature works
  • I have run all tests locally and they pass
  • I have updated the documentation (if applicable)
  • For any new secrets, I have updated the shared spreadsheet and the GitHub Secrets.

How to Test Manually

Run ng test, visit http://localhost:4200/unverified-users

Screenshots for any UI changes

Screenshot 2026-01-06 at 10 40 04 am

Copy link
Contributor

Copilot AI left a 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.

@marius-mather marius-mather marked this pull request as ready for review January 6, 2026 00:26
Copy link
Collaborator

@minh-biocommons minh-biocommons left a comment

Choose a reason for hiding this comment

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

all good!

@marius-mather marius-mather merged commit 4f2545c into main Jan 6, 2026
8 checks passed
@marius-mather marius-mather deleted the feat/verified-sync-info branch January 6, 2026 00:52
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.

3 participants