stack/apps/dashboard/src/components/design-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
..
alert.tsx Custom dashboards and unified ai no playground (#1243) 2026-03-13 20:24:40 +00:00
analytics-card.tsx Overview revamp (#1238) 2026-04-15 09:36:00 -07:00
badge.tsx Custom dashboards and unified ai no playground (#1243) 2026-03-13 20:24:40 +00:00
button.tsx Custom dashboards and unified ai no playground (#1243) 2026-03-13 20:24:40 +00:00
card.tsx Custom dashboards and unified ai no playground (#1243) 2026-03-13 20:24:40 +00:00
editable-grid.tsx [Dashboard] Redefine the user page with tabs and updated UI (#1351) 2026-05-05 17:09:09 -05:00
index.ts 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
list.tsx fixed delete bug and removed console statements (#1313) 2026-04-08 17:14:30 -07:00
menu.tsx Custom dashboards and unified ai no playground (#1243) 2026-03-13 20:24:40 +00:00
select.tsx Emails redesign (#1076) 2026-02-16 14:57:17 -08:00
subpage-header.tsx Custom dashboards and unified ai no playground (#1243) 2026-03-13 20:24:40 +00:00
table.tsx Custom dashboards and unified ai no playground (#1243) 2026-03-13 20:24:40 +00:00