tractatus/public/admin
TheFlow cc4ff46191 feat(bi): add period selector dropdown to cost avoidance metric
Added time period filtering to cost avoidance calculation:

HTML changes:
- Added dropdown selector next to "Cost Avoidance" title
- Options: 7 days, 30 days (default), 90 days, 1 year, all time
- Green focus ring matching metric theme

JavaScript changes:
- Filter audit data by selected time period before calculating costs
- Event listener updates calculation when period changes
- Cutoff date logic for temporal filtering
- Defaults to 30 days if selector not found

Users can now see cost avoidance for different time windows to track
governance ROI trends over various periods.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-27 11:20:11 +13:00
..
audit-analytics.html feat(bi): add period selector dropdown to cost avoidance metric 2025-10-27 11:20:11 +13:00
blog-curation.html feat(blog): integrate Tractatus framework governance into blog publishing 2025-10-25 08:47:31 +13:00
blog-curation.html.backup fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
calendar.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
case-moderation.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
claude-md-migrator.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
contact-management.html feat(crm): complete Phase 3 multi-project CRM + critical bug fixes 2025-10-24 18:10:14 +13:00
crm-dashboard.html feat(crm): complete Phase 3 multi-project CRM + critical bug fixes 2025-10-24 18:10:14 +13:00
dashboard.html chore: bump cache version to force reload of slider enhancement 2025-10-27 11:17:00 +13:00
editorial-guidelines.html feat(admin): add Editorial Guidelines Manager page 2025-10-24 13:05:47 +13:00
hooks-dashboard.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
login.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
media-triage.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
newsletter-management.html fix(newsletter): convert ObjectId to string in DELETE button data attributes 2025-10-24 20:24:54 +13:00
project-manager.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
rule-manager.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
unified-inbox.html feat(crm): complete Phase 3 multi-project CRM + critical bug fixes 2025-10-24 18:10:14 +13:00