stack/apps/dashboard
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
..
public Add 6/12/26 changelog entry (#1589) 2026-06-16 16:44:03 -07:00
scripts Support local dashboard in remote SSH and GH Codespaces (#1538) 2026-06-04 16:36:17 -07:00
src fix: address PR review comments on platform analytics 2026-06-19 00:42:51 +00:00
.env feat(hexclave): PR 2 — visible rebrand (Hexclave brand goes public) (#1481) 2026-05-26 19:18:20 -07:00
.env.development feat(hexclave): PR 1 — wire compatibility layer (invisible) (#1475) 2026-05-23 17:24:55 -07:00
.eslintrc.cjs Config sources (#1083) 2026-01-21 18:08:35 -08:00
.gitignore Support local dashboard in remote SSH and GH Codespaces (#1538) 2026-06-04 16:36:17 -07:00
.npmrc Split backend and dashboard (#83) 2024-06-18 15:49:31 +02:00
components.json Split backend and dashboard (#83) 2024-06-18 15:49:31 +02:00
DESIGN-GUIDE.md feat(hexclave): PR 3 — native @hexclave/* source rename + delete dual-publish wiring (#1482) 2026-05-29 15:21:59 -07:00
instrumentation-client.ts feat(hexclave): PR 3 — native @hexclave/* source rename + delete dual-publish wiring (#1482) 2026-05-29 15:21:59 -07:00
LICENSE Split backend and dashboard (#83) 2024-06-18 15:49:31 +02:00
next.config.mjs fix: disable source maps in RDE dashboard build (#1611) 2026-06-16 16:29:15 -07:00
package.json add platform analytics route to the dashboard 2026-06-18 16:53:03 -07:00
postcss.config.js Split backend and dashboard (#83) 2024-06-18 15:49:31 +02:00
tailwind.config.ts feat(hexclave): PR 3 — native @hexclave/* source rename + delete dual-publish wiring (#1482) 2026-05-29 15:21:59 -07:00
tsconfig.json Support local dashboard in remote SSH and GH Codespaces (#1538) 2026-06-04 16:36:17 -07:00
vitest.config.ts In-source unit tests (#429) 2025-02-14 11:47:52 -08:00