Commit b50b5da
Organizations Outreach (#18641)
* 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>1 parent e9b70d0 commit b50b5da
File tree
11 files changed
+829
-4
lines changed- tests/unit
- admin/views
- cli
- email
- warehouse
- admin
- static/css
- templates/admin
- views
- cli
- email
- templates/email/organization-survey
11 files changed
+829
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | | - | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
24 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
25 | 43 | | |
| 44 | + | |
26 | 45 | | |
27 | 46 | | |
28 | 47 | | |
| |||
34 | 53 | | |
35 | 54 | | |
36 | 55 | | |
37 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
38 | 59 | | |
39 | 60 | | |
40 | 61 | | |
| |||
57 | 78 | | |
58 | 79 | | |
59 | 80 | | |
| 81 | + | |
| 82 | + | |
60 | 83 | | |
61 | 84 | | |
62 | 85 | | |
| |||
0 commit comments