-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
ref(ui): Drop leftover unused optional args in drawer, table, and filters #123259
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,7 +16,6 @@ import {slugify} from 'sentry/utils/slugify'; | |
|
|
||
| interface Props extends ModalRenderProps { | ||
| organization: Organization; | ||
| onClose?: (team: Team) => void; | ||
| } | ||
|
|
||
| const schema = z.object({ | ||
|
|
@@ -28,7 +27,6 @@ function CreateTeamModal({ | |
| Footer, | ||
| Header, | ||
| organization, | ||
| onClose, | ||
| closeModal, | ||
| }: Props) { | ||
| const {mutateAsync: submitCreateTeam} = useMutation({ | ||
|
Comment on lines
27
to
32
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: The Suggested FixUpdate the Prompt for AI AgentAlso affects:
Did we get this right? 👍 / 👎 to inform future reviews. |
||
|
|
@@ -49,7 +47,6 @@ function CreateTeamModal({ | |
| }) | ||
| ); | ||
| closeModal(); | ||
| onClose?.(team); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Team create callback still requiredHigh Severity
Reviewed by Cursor Bugbot for commit c65a096. Configure here. |
||
| }, | ||
| onError: (_err, variables) => { | ||
| addErrorMessage( | ||
|
|
||


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.
Table resize callback still used
High Severity
Tableno longer accepts or invokesonColumnResize, and it always stores widths internally.GridEditablestill passes that callback throughDataTable.Gridso Discover, Performance, Insights, and Explore can persist column widths, so those resizes never reach the parent.Reviewed by Cursor Bugbot for commit c65a096. Configure here.