Skip to content

Conversation

@amrit110
Copy link
Member

@amrit110 amrit110 commented Nov 3, 2025

This pull request introduces an admin-only onboarding status report feature to the CLI tool, allowing administrators to view the onboarding status of all participants in a formatted table. It also adds supporting utility functions, a new dependency, and minor CLI usability improvements.

Admin onboarding status report feature:

  • Added a new --admin-status-report CLI flag that, when used, displays a table summarizing onboarding status for all participants, including completion rates, using Firestore admin credentials. [1] [2]
  • Implemented the display_onboarding_status_report function in cli.py to fetch and present this data, with clear error handling and summary.

Supporting utilities:

  • Added initialize_firestore_admin and get_all_participants_with_status utility functions to utils.py for securely connecting to Firestore with admin credentials and retrieving participant data.

Dependency and import updates:

  • Added pandas as a dependency in pyproject.toml (though not yet used in this PR), and imported rich.table.Table for improved CLI table rendering. [1] [2]

CLI usability improvements:

  • Made --bootcamp-name and --test-script arguments optional by default, but enforced them as required for participant onboarding (not for admin report mode), improving flexibility and error messages. [1] [2] [3]

Version bump:

  • Updated the project version from 0.3.2 to 0.3.3 in pyproject.toml.

@amrit110 amrit110 self-assigned this Nov 3, 2025
@amrit110 amrit110 added the enhancement New feature or request label Nov 3, 2025
@amrit110 amrit110 merged commit 9e92817 into main Nov 3, 2025
3 checks passed
@amrit110 amrit110 deleted the add_admin_status_report_command branch November 3, 2025 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants