-
Notifications
You must be signed in to change notification settings - Fork 887
feat: add groups column to members page in organizations #14620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -22,6 +23,8 @@ const OrganizationMembersPage: FC = () => { | |||
}; | |||
const { user: me } = useAuthenticated(); | |||
|
|||
const groupsByUserIdQuery = useQuery(groupsByUserId()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note how this query doesn't take the organizationName
as a parameter: this is not scoped to an organization, this shows every group a user is in.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops 🤦♀️ Thank you for catching that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good to me but it is best to wait for the Kayla's approval 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
beautiful! thank you!
Fixes #14315
This adds a 'Groups' column to the table on the
organizations/<name>/members
page.Before change
After change