Skip to content

ref(ui): Drop unused optional args in assignee, highlight, and score bar - #123209

Merged
TkDodo merged 4 commits into
getsentry:masterfrom
JonasBa:jonas/unused-args/components-7
Sep 4, 2026
Merged

ref(ui): Drop unused optional args in assignee, highlight, and score bar#123209
TkDodo merged 4 commits into
getsentry:masterfrom
JonasBa:jonas/unused-args/components-7

Conversation

@JonasBa

@JonasBa JonasBa commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Split out of #122373 and #122624 so this folder can be reviewed on its own (~142 LOC).

Summary

  • Remove unused optional arguments and fields under static/app/components.
  • Same approach as the original PRs: drop args/fields nothing passes, keep public hook/component options, inline previous defaults.

Files

  • static/app/components/backendJsonFormAdapter/choiceMapperAdapter.tsx
  • static/app/components/mentionInput/mentionInput.tsx
  • static/app/components/percentChange.tsx
  • static/app/components/profiling/flamegraph/collapsibleTimeline.tsx
  • static/app/components/profiling/flamegraph/interactions/useWheelCenterZoom.tsx
  • static/app/components/progressMarker.tsx
  • static/app/components/replays/canvasReplayerPlugin.tsx
  • static/app/components/searchSyntax/mutableSearch.tsx
  • static/app/components/timeRangeSelector/utils.tsx
  • static/app/components/tokenizedInput/token/comboBox.tsx

Test plan

  • CI typecheck / frontend tests for this slice.
  • Spot-check call sites in static/app/components.

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

@JonasBa
JonasBa requested review from a team as code owners August 31, 2026 20:38
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Aug 31, 2026
Jonas Badalic and others added 2 commits August 31, 2026 21:36
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread static/app/components/searchSyntax/mutableSearch.tsx
Callers only used the default, but dropping it on some methods and not others splits the public API.

Co-authored-by: Cursor <cursoragent@cursor.com>
@TkDodo TkDodo added the Trigger: getsentry tests Once code is reviewed: apply label to PR to trigger getsentry tests label Sep 4, 2026
@TkDodo
TkDodo merged commit b8b3484 into getsentry:master Sep 4, 2026
83 of 85 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components Trigger: getsentry tests Once code is reviewed: apply label to PR to trigger getsentry tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants