stack/packages
similiarity 3514853d7c
fix error on teams page and improve text when display name not set (#661)
<!--

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

-->

<!-- ELLIPSIS_HIDDEN -->

----

> [!IMPORTANT]
> Fix error on teams page by checking project config and improve display
name handling in `team-member-list-section.tsx`.
> 
>   - **Behavior**:
> - In `team-api-keys-section.tsx`, add `useStackApp` to check
`project.config.allowTeamApiKeys` before rendering API keys section.
> - In `team-member-list-section.tsx`, display "No display name set"
when `teamProfile.displayName` is not available.
>   - **Permissions**:
> - Modify `TeamApiKeysSection` to return `null` if
`manageApiKeysPermission` is false or `teamApiKeysEnabled` is false.
>   - **UI**:
> - Update `MemberListSectionInner` to show italicized, muted text when
display name is missing.
> 
> <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 ad84a474e8. You can
[customize](https://app.ellipsis.dev/stack-auth/settings/summaries) this
summary. It will automatically update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2025-05-06 22:28:56 +02:00
..
init-stack chore: update package versions 2025-04-30 11:18:45 -07:00
js chore: update package versions 2025-04-30 11:18:45 -07:00
react chore: update package versions 2025-04-30 11:18:45 -07:00
stack chore: update package versions 2025-04-30 11:18:45 -07:00
stack-emails chore: update package versions 2025-04-30 11:18:45 -07:00
stack-sc chore: update package versions 2025-04-30 11:18:45 -07:00
stack-shared Endpoints branching (#659) 2025-04-30 15:39:47 -07:00
stack-ui chore: update package versions 2025-04-30 11:18:45 -07:00
template fix error on teams page and improve text when display name not set (#661) 2025-05-06 22:28:56 +02:00