stack/apps/dashboard/src/lib
Madison 185bddec9e
[Dashboard] Redefine the user page with tabs and updated UI (#1351)
<!--

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

-->


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

* **New Features**
* Tabbed user profile with Activity (30-day analytics, KPIs, daily
chart, top lists, recent events), Payments (transactions, subscriptions,
product/item balances) and an activity heatmap sidebar.
* New internal user-activity API and admin-facing activity hook; admin
API client can fetch per-user activity.

* **UI/UX Improvements**
* Unified menus, cards and tables; inline editable user details with
accept/revert; metadata editor validates JSON; country-code input has
draft editing; tabs support optional icons.

* **API**
* Transactions endpoint and admin transaction queries now support
optional customer-scoped filtering.

* **Tests**
  * End-to-end coverage for the user-activity endpoint.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

<img width="1326" height="752" alt="image"
src="https://github.com/user-attachments/assets/97c04dca-db59-4357-98b1-8eae5a7a3673"
/>

<img width="1142" height="251" alt="image"
src="https://github.com/user-attachments/assets/e1aa44fc-0d7e-436d-90a5-c7cb15155e24"
/>

<img width="1170" height="1125" alt="image"
src="https://github.com/user-attachments/assets/bf6659fd-a9b5-4ae6-a13d-dab9956ad650"
/>
2026-05-05 17:09:09 -05:00
..
ai-dashboard Overview revamp (#1238) 2026-04-15 09:36:00 -07:00
prefetch Dashboard: DataGrid refactor + layout (stacked on overview-revamp) (#1338) 2026-04-27 13:50:24 -07:00
ai-conversations.ts AI in Stack Companion (#1297) 2026-04-13 18:40:32 +00:00
api-headers.ts Custom dashboards and unified ai no playground (#1243) 2026-03-13 20:24:40 +00:00
apps-frontend.tsx Fraud Protection sub-app 2026-04-05 21:35:01 -07:00
apps-utils.ts Fraud Protection sub-app 2026-04-05 21:35:01 -07:00
cel-visual-parser.test.ts Turnstile integration for fraud protection (#1239) 2026-03-20 21:26:45 +00:00
cel-visual-parser.ts Turnstile integration for fraud protection (#1239) 2026-03-20 21:26:45 +00:00
changelog.ts [Dashboard] Introduce changelog to stack-companion (#1090) 2026-01-29 12:22:24 -06:00
classify-query.test.ts Run Query in Control Center 2026-01-30 17:56:10 -08:00
classify-query.ts Run Query in Control Center 2026-01-30 17:56:10 -08:00
config-update.tsx Local emulator base (#1233) 2026-03-10 15:15:06 -07:00
dates.tsx Payments manual items (#837) 2025-08-19 14:21:12 -07:00
env.tsx stack auth preview mode (#1307) 2026-04-08 16:57:42 -07:00
generate-empty-static-params.tsx Make most pages static 2025-10-21 01:41:41 -07:00
internal-project-headers.ts Replace Web3Forms with internal feedback emails (#1244) 2026-03-23 17:07:37 -07:00
keyboard-shortcuts.ts Replace Cmd with Ctrl on Windows computers 2026-04-17 17:04:30 -07:00
risk-score-utils.ts Turnstile integration for fraud protection (#1239) 2026-03-20 21:26:45 +00:00
session-replay-playback.ts session replays (#1187) 2026-02-16 14:15:17 -08:00
session-replay-streams.test.ts rename tabId to sessionReplaySegmentId (#1206) 2026-02-17 11:00:07 -08:00
session-replay-streams.ts rename tabId to sessionReplaySegmentId (#1206) 2026-02-17 11:00:07 -08:00
stack-app-internals.ts [Dashboard] Redefine the user page with tabs and updated UI (#1351) 2026-05-05 17:09:09 -05:00
theme.tsx stack auth preview mode (#1307) 2026-04-08 16:57:42 -07:00
utils.tsx Local emulator base (#1233) 2026-03-10 15:15:06 -07:00
version-check.ts Feature/stack companion (#769) 2025-08-12 15:12:20 -05:00