Commit Graph
87 Commits
Author SHA1 Message Date
github-actions[bot] 105f03fb94 chore: update package versions 2026-07-06 23:34:27 +00:00
github-actions[bot] 16912e7d33 chore: update package versions 2026-07-06 05:53:33 +00:00
github-actions[bot] 0344efb844 chore: update package versions 2026-07-06 05:51:13 +00:00
github-actions[bot] 675e8608af chore: update package versions 2026-07-06 04:45:14 +00:00
github-actions[bot] 1fe5150740 chore: update package versions 2026-07-06 04:29:19 +00:00
github-actions[bot] 56dd0f357b chore: update package versions 2026-07-06 03:17:30 +00:00
github-actions[bot] 976aaffd56 chore: update package versions 2026-07-02 17:12:34 +00:00
github-actions[bot] 484850e8d2 chore: update package versions
all-good: Did all the other checks pass? / all-good (push) Has been cancelled
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Publish RDE dashboard release / publish-dashboard (push) Has been cancelled
Docker Server Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Server Build and Run / docker (push) Has been cancelled
Runs E2E API Tests / E2E Tests (Node ${{ matrix.node-version }}, Freestyle ${{ matrix.freestyle-mode }}) (mock, 22.x) (push) Has been cancelled
Runs E2E API Tests / E2E Tests (Node ${{ matrix.node-version }}, Freestyle ${{ matrix.freestyle-mode }}) (prod, 22.x) (push) Has been cancelled
Runs E2E API Tests with custom port prefix / build (22.x) (push) Has been cancelled
Runs E2E Fallback Tests / E2E Fallback Tests (Node ${{ matrix.node-version }}) (22.x) (push) Has been cancelled
Lint & build / lint_and_build (24) (push) Has been cancelled
Publish npm packages / publish (push) Has been cancelled
Publish Swift SDK to prerelease repo / publish (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2026-07-02 16:45:16 +00:00
github-actions[bot] e883f112fb chore: update package versions 2026-07-01 18:33:02 +00:00
github-actions[bot] c9612539c7 chore: update package versions 2026-06-30 23:15:23 +00:00
Konsti WohlwendandGitHub 6a979e8b3e chore: remove unused dependencies from package.json files (#1698) 2026-06-30 15:45:25 -07:00
github-actions[bot] 31b32735bf chore: update package versions 2026-06-30 20:44:13 +00:00
github-actions[bot] 9b52f76520 chore: update package versions 2026-06-30 18:27:55 +00:00
github-actions[bot] ea2915faa8 chore: update package versions 2026-06-30 18:04:45 +00:00
github-actions[bot] d962e9843a chore: update package versions 2026-06-30 17:18:40 +00:00
github-actions[bot] 2c5b2d02cd chore: update package versions 2026-06-30 01:19:04 +00:00
github-actions[bot] 092c27dd0e chore: update package versions 2026-06-27 22:00:12 +00:00
github-actions[bot] e70e95a3af chore: update package versions 2026-06-27 00:28:49 +00:00
github-actions[bot] c868ec31bc chore: update package versions 2026-06-26 21:28:46 +00:00
github-actions[bot] 788e7cc87c chore: update package versions 2026-06-26 21:18:23 +00:00
github-actions[bot] ee48755ef3 chore: update package versions 2026-06-26 20:38:10 +00:00
github-actions[bot] 53b0cae480 chore: update package versions 2026-06-26 19:10:16 +00:00
github-actions[bot] fc6d111e6b chore: update package versions 2026-06-26 18:50:39 +00:00
github-actions[bot] c749cf2b62 chore: update package versions 2026-06-25 19:11:40 +00:00
github-actions[bot] 09c9df410a chore: update package versions
all-good: Did all the other checks pass? / all-good (push) Has been cancelled
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
DB migration compat / Check if migrations changed (push) Has been cancelled
Docker Server Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Server Build and Run / docker (push) Has been cancelled
Runs E2E API Tests (Local Emulator) / E2E Tests (Local Emulator, Node ${{ matrix.node-version }}) (22.x) (push) Has been cancelled
Runs E2E API Tests / E2E Tests (Node ${{ matrix.node-version }}, Freestyle ${{ matrix.freestyle-mode }}) (mock, 22.x) (push) Has been cancelled
Runs E2E API Tests / E2E Tests (Node ${{ matrix.node-version }}, Freestyle ${{ matrix.freestyle-mode }}) (prod, 22.x) (push) Has been cancelled
Runs E2E API Tests with custom port prefix / build (22.x) (push) Has been cancelled
Runs E2E Fallback Tests / E2E Fallback Tests (Node ${{ matrix.node-version }}) (22.x) (push) Has been cancelled
Lint & build / lint_and_build (24) (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
DB migration compat / Back-compat — Current branch migrations with ${{ needs.check-migrations-changed.outputs.base_branch }} branch code (push) Has been cancelled
DB migration compat / Forward-compat — Current branch code with ${{ needs.check-migrations-changed.outputs.base_branch }} branch migrations (push) Has been cancelled
DB migration compat / No migration changes (skipped) (push) Has been cancelled
2026-06-24 01:55:58 +00:00
github-actions[bot] 781dde9a78 chore: update package versions 2026-06-23 20:06:39 +00:00
github-actions[bot] cb7ea302c7 chore: update package versions 2026-06-23 18:48:44 +00:00
github-actions[bot] 163e7be002 chore: update package versions 2026-06-23 17:26:08 +00:00
Konsti WohlwendandGitHub 433d4dcc96 Upgrade TypeScript from 5.9.3 to 6.0.3 (#1644) 2026-06-22 17:18:15 -07:00
github-actions[bot] 88eae6fbf1 chore: update package versions 2026-06-22 23:00:06 +00:00
github-actions[bot] d064b20290 chore: update package versions 2026-06-20 00:10:09 +00:00
github-actions[bot] c32b668076 chore: update package versions 2026-06-19 21:42:14 +00:00
MantraGitHubDevin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>mantra
25b0414d59 add platform analytics route to the dashboard (#1626)
<!--

Make sure you've read the CONTRIBUTING.md guidelines:
https://github.com/hexclave/hexclave/blob/dev/CONTRIBUTING.md

-->

<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Add platform-wide analytics to the internal dashboard with a secure
backend route and a new page to visualize cross-project metrics. Only
available when viewing the `internal` project and gated by platform
admin access.

- **New Features**
- Backend: add `/api/latest/internal/platform-analytics` aggregating
metrics across all projects via ClickHouse; protected by
`ensurePlatformAdmin`.
- Dashboard: add `/projects/[projectId]/platform-analytics` page with
charts; sidebar entry appears only when `projectId === "internal"`.

- **Bug Fixes**
- Correctness: add `branch_id` filters to all event queries and project
aggregates; exclude the `internal` project from ClickHouse aggregates;
validate MRR quantity.
- Metrics/UI: feature adoption uses `total_projects` from the API and
clamps both chart and label to 0–100%; remove unreachable
`revenue_growth` sort key.
- Safety/Tests: use `Map` for country aggregation; add unit tests for
`ensurePlatformAdmin`/`isPlatformAdmin`; switch tests to inline
snapshots and document the `as-any` cast.

<sup>Written for commit 3c803a8915.
Summary will update on new commits.</sup>

<a
href="https://cubic.dev/pr/hexclave/hexclave/pull/1626?utm_source=github"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img
alt="Review in cubic"
src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a>

<!-- End of auto-generated description by cubic. -->

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Added a Platform Analytics dashboard for internal projects with
interactive 7/30-day range charts, KPI tiles, and visual breakdowns
(growth, country, sign-in method, user mix), plus email health,
dead-click insights, a searchable project leaderboard, and feature
adoption.
* Introduced an internal analytics API providing rolling-window
comparisons and structured metrics for dashboard rendering.
* **Bug Fixes**
* Strengthened access control with platform-admin authorization for
analytics access.
* **Tests**
  * Added coverage for platform-admin authorization behavior.
* **Chores**
  * Updated Next.js to 16.2.9 across applications.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: mantra <[email protected]>
2026-06-19 11:11:06 -07:00
github-actions[bot] 70d90494bc chore: update package versions 2026-06-17 20:31:22 +00:00
github-actions[bot] 2cf2552803 chore: update package versions 2026-06-17 17:57:16 +00:00
github-actions[bot] 7955ef2450 chore: update package versions 2026-06-16 19:32:53 +00:00
github-actions[bot] 13e901f1bd chore: update package versions 2026-06-16 18:55:24 +00:00
github-actions[bot] eabbc05a49 chore: update package versions
all-good: Did all the other checks pass? / all-good (push) Has been cancelled
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Server Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Server Build and Run / docker (push) Has been cancelled
Runs E2E API Tests (Local Emulator) / E2E Tests (Local Emulator, Node ${{ matrix.node-version }}) (22.x) (push) Has been cancelled
Runs E2E API Tests / E2E Tests (Node ${{ matrix.node-version }}, Freestyle ${{ matrix.freestyle-mode }}) (mock, 22.x) (push) Has been cancelled
Runs E2E API Tests / E2E Tests (Node ${{ matrix.node-version }}, Freestyle ${{ matrix.freestyle-mode }}) (prod, 22.x) (push) Has been cancelled
Runs E2E API Tests with custom port prefix / build (22.x) (push) Has been cancelled
Runs E2E Fallback Tests / E2E Fallback Tests (Node ${{ matrix.node-version }}) (22.x) (push) Has been cancelled
Lint & build / lint_and_build (24) (push) Has been cancelled
Publish npm packages / publish (push) Has been cancelled
Publish Swift SDK to prerelease repo / publish (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2026-06-15 23:49:50 +00:00
github-actions[bot] 47b9a3a431 chore: update package versions 2026-06-15 22:30:42 +00:00
Konsti WohlwendandGitHub 72456d3748 Update Next.js to latest minor/patch versions (#1592) 2026-06-15 13:45:43 -07:00
github-actions[bot] e07c509f81 chore: update package versions 2026-06-15 19:57:58 +00:00
github-actions[bot] 7063aa2df7 chore: update package versions 2026-06-13 01:26:27 +00:00
github-actions[bot] 6de253633f chore: update package versions 2026-06-13 00:25:03 +00:00
github-actions[bot] 5eedb484e1 chore: update package versions 2026-06-12 21:09:46 +00:00
github-actions[bot] 1999ad8be3 chore: update package versions 2026-06-11 17:19:24 +00:00
github-actions[bot] 3132de1cae chore: update package versions 2026-06-10 18:10:23 +00:00
github-actions[bot] 96273a9d65 chore: update package versions 2026-06-08 18:18:54 +00:00
github-actions[bot] 4fdd2b3831 chore: update package versions 2026-06-08 17:36:50 +00:00
github-actions[bot] 468a221379 chore: update package versions 2026-06-06 00:07:24 +00:00
github-actions[bot] 461b9acd68 chore: update package versions 2026-06-05 23:54:49 +00:00