Skip to content

ref(ui): Drop unused optional args in primary and secondary nav - #123338

Merged
TkDodo merged 2 commits into
getsentry:masterfrom
JonasBa:jonas/unused-args/views-navigation
Sep 4, 2026
Merged

ref(ui): Drop unused optional args in primary and secondary nav#123338
TkDodo merged 2 commits into
getsentry:masterfrom
JonasBa:jonas/unused-args/views-navigation

Conversation

@JonasBa

@JonasBa JonasBa commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Follow-up unused-signatures rescan. Nothing provides onOpen on the primary menu, showInteractionStateLayer on items, or Section collapsible / trailingItems.

Summary

  • Remove those unused nav options. JsonForm-style: the section chevron still shows when the section can collapse.

Files

  • static/app/views/navigation/primary/components.tsx
  • static/app/views/navigation/secondary/components.tsx

Test plan

  • CI typecheck / frontend tests for this slice.
  • Spot-check call sites.

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.

Made with Cursor

@JonasBa
JonasBa requested a review from a team as a code owner September 1, 2026 16:19
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Sep 1, 2026
Comment thread static/app/views/navigation/secondary/components.tsx
@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 1bd3d22 into getsentry:master Sep 4, 2026
63 of 78 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