Skip to content

Conversation

ewdurbin
Copy link
Member

@ewdurbin ewdurbin commented Sep 5, 2025

  • Adds a CLI command to send email to organizations users for outreach, with 4 variants for {company, community}_{utilizing, not_utilizing}
  • Adds stats to dashboard on organizations utilization.

ewdurbin and others added 2 commits September 5, 2025 09:04
- Added two new ORM queries to track organization utilization metrics
- Organizations with projects: count by type (Community/Company)
- Organizations with multiple members: count by type
- Updated admin dashboard template with new "Organization Utilization" section
- Added CSS styling for utilization cards with info tooltips
- Updated tests to verify new statistics calculations

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add send_survey_emails command to organizations CLI
- Categorize organizations into 4 survey types based on utilization and type
- Support dry-run mode for testing without sending emails
- Add comprehensive test coverage with 100% code coverage
- Integrate with Celery task queue for async email delivery
- Add survey email templates with clean HTML styling

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@ewdurbin ewdurbin requested a review from a team as a code owner September 5, 2025 14:51
Copy link
Member

@miketheman miketheman left a comment

Choose a reason for hiding this comment

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

LGTM

@miketheman miketheman added organizations email Related to emails admin Features needed for the Admin UI (people running the site) labels Sep 5, 2025
@ewdurbin ewdurbin merged commit b50b5da into main Sep 5, 2025
21 checks passed
@ewdurbin ewdurbin deleted the feat/admin-org-utilization-stats branch September 5, 2025 15:53
ewdurbin added a commit that referenced this pull request Sep 5, 2025
* feat(admin): add organization utilization statistics to dashboard

- Added two new ORM queries to track organization utilization metrics
- Organizations with projects: count by type (Community/Company)
- Organizations with multiple members: count by type
- Updated admin dashboard template with new "Organization Utilization" section
- Added CSS styling for utilization cards with info tooltips
- Updated tests to verify new statistics calculations

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* feat: add CLI command to send organization survey emails

- Add send_survey_emails command to organizations CLI
- Categorize organizations into 4 survey types based on utilization and type
- Support dry-run mode for testing without sending emails
- Add comprehensive test coverage with 100% code coverage
- Integrate with Celery task queue for async email delivery
- Add survey email templates with clean HTML styling

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
ewdurbin added a commit that referenced this pull request Sep 5, 2025
* feat(admin): add organization utilization statistics to dashboard

- Added two new ORM queries to track organization utilization metrics
- Organizations with projects: count by type (Community/Company)
- Organizations with multiple members: count by type
- Updated admin dashboard template with new "Organization Utilization" section
- Added CSS styling for utilization cards with info tooltips
- Updated tests to verify new statistics calculations

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* feat: add CLI command to send organization survey emails

- Add send_survey_emails command to organizations CLI
- Categorize organizations into 4 survey types based on utilization and type
- Support dry-run mode for testing without sending emails
- Add comprehensive test coverage with 100% code coverage
- Integrate with Celery task queue for async email delivery
- Add survey email templates with clean HTML styling

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

admin Features needed for the Admin UI (people running the site) email Related to emails organizations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants