Skip to content

Conversation

@gtryus
Copy link
Contributor

@gtryus gtryus commented Dec 14, 2025

This update introduces a new check to determine if the current organization is a personal team. Key changes include:

  • Added personalTeam to the context state and a new isPersonalTeam memoized value to identify personal teams.
  • Updated the rendering logic to conditionally display the members button based on whether the organization is a personal team.

These enhancements improve the user experience by ensuring that the interface accurately reflects the user`s organizational context.

This update introduces a new check to determine if the current organization is a personal team. Key changes include:

- Added `personalTeam` to the context state and a new `isPersonalTeam` memoized value to identify personal teams.
- Updated the rendering logic to conditionally display the members button based on whether the organization is a personal team.

These enhancements improve the user experience by ensuring that the interface accurately reflects the user`s organizational context.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enhances the OrgHead component to conditionally hide the members button when the current organization is a personal team. The implementation compares the personalTeam ID from TeamContext with the current orgId to determine if the organization is personal.

Key Changes:

  • Added personalTeam extraction from TeamContext state
  • Created a memoized isPersonalTeam computed value to check if current org is personal
  • Updated members button rendering to exclude personal teams

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gtryus gtryus merged commit a80f07e into develop Dec 14, 2025
1 check passed
@gtryus gtryus deleted the TT-6984-no-personal-members branch December 14, 2025 04:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants