feat(settings): Refactor organization teams list to SimpleTable#107636
Merged
feat(settings): Refactor organization teams list to SimpleTable#107636
Conversation
Replace PanelItem + custom grid CSS with the standardized SimpleTable component. Split the monolithic teams list into separate YourTeamsTable and OtherTeamsTable components for better maintainability. Changes: - Extract team membership hooks (useJoinTeam, useLeaveTeam, useRequestTeamAccess) - Add Projects column with count and tooltip - Improve empty states to reflect actual scenarios (searching, no teams, member of all) - Use useOrganization hook instead of prop drilling - Add responsive column hiding (projects at md, role at sm breakpoint) Co-Authored-By: Claude <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
static/app/views/settings/organizationTeams/otherTeamsTable.tsx
Outdated
Show resolved
Hide resolved
ryan953
reviewed
Feb 5, 2026
static/app/views/settings/organizationTeams/otherTeamsTable.tsx
Outdated
Show resolved
Hide resolved
ryan953
approved these changes
Feb 5, 2026
Co-authored-by: Ryan Albrecht <ryan.albrecht@sentry.io>
static/app/views/settings/organizationTeams/hooks/useRequestTeamAccess.ts
Outdated
Show resolved
Hide resolved
jaydgoss
pushed a commit
that referenced
this pull request
Feb 12, 2026
) Replace PanelItem + custom grid CSS with the standardized SimpleTable component. Split the monolithic teams list into separate YourTeamsTable and OtherTeamsTable components Changes: - Extract team membership hooks (useJoinTeam, useLeaveTeam, useRequestTeamAccess) - Add Projects column with count and tooltip - Improve empty states to reflect actual scenarios (searching, no teams, member of all) - Tables no longer overflow on mobile before <img width="940" height="550" alt="image" src="https://github.com/user-attachments/assets/84dd30e2-48ae-4843-9187-838cdf18a0e2" /> after <img width="940" height="424" alt="image" src="https://github.com/user-attachments/assets/c5a1c046-a76e-482d-9932-62d58313627c" /> empty state before <img width="944" height="305" alt="image" src="https://github.com/user-attachments/assets/b54a82b5-7655-47d9-b188-6a54f0d78456" /> empty state after <img width="948" height="498" alt="image" src="https://github.com/user-attachments/assets/594e2d76-769c-4389-9bfe-6095d8d60819" /> mobile before <img width="462" height="531" alt="image" src="https://github.com/user-attachments/assets/fab70a80-612e-4b1d-b8d1-00a39f9969bb" /> mobile after <img width="427" height="545" alt="image" src="https://github.com/user-attachments/assets/52e0f35e-fe9e-40f0-9da3-30382729c862" /> <!-- BUGBOT_STATUS --><sup><a href="https://cursor.com/dashboard?tab=bugbot">Cursor Bugbot</a> found 2 potential issues for commit <u>5adeb6b</u></sup><!-- /BUGBOT_STATUS --> --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Ryan Albrecht <ryan.albrecht@sentry.io>
dcramer
pushed a commit
that referenced
this pull request
Feb 17, 2026
) Replace PanelItem + custom grid CSS with the standardized SimpleTable component. Split the monolithic teams list into separate YourTeamsTable and OtherTeamsTable components Changes: - Extract team membership hooks (useJoinTeam, useLeaveTeam, useRequestTeamAccess) - Add Projects column with count and tooltip - Improve empty states to reflect actual scenarios (searching, no teams, member of all) - Tables no longer overflow on mobile before <img width="940" height="550" alt="image" src="https://github.com/user-attachments/assets/84dd30e2-48ae-4843-9187-838cdf18a0e2" /> after <img width="940" height="424" alt="image" src="https://github.com/user-attachments/assets/c5a1c046-a76e-482d-9932-62d58313627c" /> empty state before <img width="944" height="305" alt="image" src="https://github.com/user-attachments/assets/b54a82b5-7655-47d9-b188-6a54f0d78456" /> empty state after <img width="948" height="498" alt="image" src="https://github.com/user-attachments/assets/594e2d76-769c-4389-9bfe-6095d8d60819" /> mobile before <img width="462" height="531" alt="image" src="https://github.com/user-attachments/assets/fab70a80-612e-4b1d-b8d1-00a39f9969bb" /> mobile after <img width="427" height="545" alt="image" src="https://github.com/user-attachments/assets/52e0f35e-fe9e-40f0-9da3-30382729c862" /> <!-- BUGBOT_STATUS --><sup><a href="https://cursor.com/dashboard?tab=bugbot">Cursor Bugbot</a> found 2 potential issues for commit <u>5adeb6b</u></sup><!-- /BUGBOT_STATUS --> --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Ryan Albrecht <ryan.albrecht@sentry.io>
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replace PanelItem + custom grid CSS with the standardized SimpleTable component. Split the monolithic teams list into separate YourTeamsTable and OtherTeamsTable components
Changes:
before
after
empty state before
empty state after
mobile before
mobile after