stack/packages
Moritz Schneider 5425b3e2dd
add impersonate and error to user details page (#535)
Add some buttons to user details page


<img width="1443" alt="image"
src="https://github.com/user-attachments/assets/1c8fa865-29bc-43e7-ab77-f8ef55f934a4"
/>


<!--

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

-->

<!-- ELLIPSIS_HIDDEN -->


----

> [!IMPORTANT]
> Add impersonate and delete functionalities to user details page with
new dialogs and error handling.
> 
>   - **User Interface**:
> - Added `Impersonate` and `Delete` buttons to user details page in
`page-client.tsx`.
>     - Introduced `DropdownMenu` for user actions in `page-client.tsx`.
>   - **Dialogs**:
> - Moved `DeleteUserDialog` and `ImpersonateUserDialog` to
`user-dialogs.tsx`.
>     - Updated `DeleteUserDialog` to redirect after deletion.
>   - **Server Interface**:
> - Updated `getServerUserById()` in `serverInterface.ts` to handle
`UserNotFound` error.
> 
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=stack-auth%2Fstack-auth&utm_source=github&utm_medium=referral)<sup>
for 0576c20f76. It will automatically
update as commits are pushed.</sup>


<!-- ELLIPSIS_HIDDEN -->

---------

Co-authored-by: Zai Shi <zaishi00@outlook.com>
2025-03-13 01:19:47 +00:00
..
init-stack ref: use commander for arguments parsing (#531) 2025-03-12 22:17:19 +01:00
js chore: update package versions 2025-03-12 10:28:45 -07:00
react chore: update package versions 2025-03-12 10:28:45 -07:00
stack chore: update package versions 2025-03-12 10:28:45 -07:00
stack-emails chore: update package versions 2025-03-12 10:28:45 -07:00
stack-sc chore: update package versions 2025-03-12 10:28:45 -07:00
stack-shared add impersonate and error to user details page (#535) 2025-03-13 01:19:47 +00:00
stack-ui chore: update package versions 2025-03-12 10:28:45 -07:00
template SentEmails Dashboard Table (#461) 2025-03-13 01:28:47 +01:00