stack/apps
Devin AI f6c524672f fix: address PR review comments on platform analytics
- Add branchId filter to analyticsByProject query (was missing, inflating counts)
- Exclude internal project from all ClickHouse aggregates via customerUserScope/customerEventScope
- Add branch_id filter to all event-based analytics queries for consistency
- Fix MRR quantity coercion: validate quantity instead of || 1 (zero quantity was inflating MRR)
- Use Map for usersByCountry to prevent prototype pollution from ClickHouse keys
- Remove misleading 'half' variable, inline Math.max(1, WINDOW_DAYS)
- Fix feature adoption denominator: use data.projects.length and clamp progress bar to 0-100%
- Add unit tests for ensurePlatformAdmin / isPlatformAdmin guard

Co-Authored-By: mantra <mantra@stack-auth.com>
2026-06-19 00:42:51 +00:00
..
backend fix: address PR review comments on platform analytics 2026-06-19 00:42:51 +00:00
dashboard fix: address PR review comments on platform analytics 2026-06-19 00:42:51 +00:00
dev-launchpad chore: update package versions 2026-06-17 20:31:22 +00:00
e2e User ID filter for email outbox 2026-06-17 13:39:26 -07:00
hosted-components chore: update package versions 2026-06-17 20:31:22 +00:00
internal-tool add platform analytics route to the dashboard 2026-06-18 16:53:03 -07:00
mcp add platform analytics route to the dashboard 2026-06-18 16:53:03 -07:00
mock-oauth-server chore: update package versions 2026-06-17 20:31:22 +00:00
oauth-mock-server In-source unit tests (#429) 2025-02-14 11:47:52 -08:00
skills add platform analytics route to the dashboard 2026-06-18 16:53:03 -07:00