stack/packages/template/src
Moritz Schneider 28fd26e5cb
Add way to create contact channles for admin (#543)
<img width="1752" alt="Screenshot 2025-03-13 at 13 56 17"
src="https://github.com/user-attachments/assets/7b8b3be0-6a3a-4506-b9ac-dbc4683f129d"
/>


<!--

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

-->

<!-- ELLIPSIS_HIDDEN -->


----

> [!IMPORTANT]
> Add UI and server-side support for managing user email contact
channels, including new form components and schema updates.
> 
>   - **UI Enhancements**:
> - Added `ContactChannelsSection` and `AddEmailDialog` components in
`page-client.tsx` for managing user emails.
> - Introduced `CheckboxField` in `form-fields.tsx` for form handling.
>   - **Server Logic**:
> - Updated `server-app-impl.ts` to refresh caches after contact channel
updates and deletions.
> - Added `isPrimary` and `isVerified` fields to
`ServerContactChannelCreateOptions` and
`ServerContactChannelUpdateOptions` in `contact-channels/index.ts`.
>   - **Schema and Types**:
> - Updated `SmartFormField` in `smart-form.tsx` to handle boolean
fields using `CheckboxField`.
>     - Added `ServerContactChannel` type to `index.ts`.
> 
> <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 51bcc608b8. It will automatically
update as commits are pushed.</sup>


<!-- ELLIPSIS_HIDDEN -->
2025-03-13 23:00:42 +00:00
..
components Add THIS_LINE_PLATFORM macro (#537) 2025-03-13 02:35:17 +01:00
components-page Add CLI authentication endpoints (#503) 2025-03-12 18:44:33 -07:00
generated Vanilla JS client library (#408) 2025-02-08 02:31:03 +01:00
lib Add way to create contact channles for admin (#543) 2025-03-13 23:00:42 +00:00
providers React SDK (#462) 2025-02-27 01:55:45 +01:00
utils Permit signUpWithCredential in non-browser environments 2025-02-27 15:29:03 -08:00
global.css Vanilla JS client library (#408) 2025-02-08 02:31:03 +01:00
global.d.ts Vanilla JS client library (#408) 2025-02-08 02:31:03 +01:00
index.ts React SDK (#462) 2025-02-27 01:55:45 +01:00