stack/packages/dashboard-ui-components/src/components
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
..
analytics-chart Dashboard: DataGrid refactor + layout (stacked on overview-revamp) (#1338) 2026-04-27 13:50:24 -07:00
data-grid Dashboard: DataGrid refactor + layout (stacked on overview-revamp) (#1338) 2026-04-27 13:50:24 -07:00
alert.tsx Custom dashboards and unified ai no playground (#1243) 2026-03-13 20:24:40 +00:00
badge.tsx Overview revamp (#1238) 2026-04-15 09:36:00 -07:00
button.tsx Overview revamp (#1238) 2026-04-15 09:36:00 -07:00
card.tsx Overview revamp (#1238) 2026-04-15 09:36:00 -07:00
chart-card.tsx Overview revamp (#1238) 2026-04-15 09:36:00 -07:00
chart-container.tsx Custom dashboards and unified ai no playground (#1243) 2026-03-13 20:24:40 +00:00
chart-legend.tsx Overview revamp (#1238) 2026-04-15 09:36:00 -07:00
chart-theme.tsx Custom dashboards and unified ai no playground (#1243) 2026-03-13 20:24:40 +00:00
chart-tooltip.tsx Custom dashboards and unified ai no playground (#1243) 2026-03-13 20:24:40 +00:00
cursor-blast-effect.tsx Disable blast effect with reduced motion 2026-04-06 21:54:42 -07:00
edit-mode.tsx Custom dashboards and unified ai no playground (#1243) 2026-03-13 20:24:40 +00:00
empty-state.tsx Overview revamp (#1238) 2026-04-15 09:36:00 -07:00
input.tsx Custom dashboards and unified ai no playground (#1243) 2026-03-13 20:24:40 +00:00
metric-card.tsx Overview revamp (#1238) 2026-04-15 09:36:00 -07:00
pill-toggle.tsx Custom dashboards and unified ai no playground (#1243) 2026-03-13 20:24:40 +00:00
progress-bar.tsx Overview revamp (#1238) 2026-04-15 09:36:00 -07:00
separator.tsx Overview revamp (#1238) 2026-04-15 09:36:00 -07:00
skeleton.tsx Overview revamp (#1238) 2026-04-15 09:36:00 -07:00
table.tsx Overview revamp (#1238) 2026-04-15 09:36:00 -07:00
tabs.tsx [Dashboard] Redefine the user page with tabs and updated UI (#1351) 2026-05-05 17:09:09 -05:00