Skip to content

chore(autofix): Remove unused autofix v1 UI#116100

Merged
Zylphrex merged 3 commits into
masterfrom
txiao/chore/remove-unused-autofix-v1-frontend
May 22, 2026
Merged

chore(autofix): Remove unused autofix v1 UI#116100
Zylphrex merged 3 commits into
masterfrom
txiao/chore/remove-unused-autofix-v1-frontend

Conversation

@Zylphrex
Copy link
Copy Markdown
Member

This is no longer in use so time to remove it.

This is no longer in use so time to remove it.
@Zylphrex Zylphrex requested review from a team as code owners May 22, 2026 15:46
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label May 22, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 22, 2026

📊 Type Coverage Diff

✅ No new type safety issues introduced. Coverage: 93.57%

Comment on lines +71 to +81
<SecondaryNavigation.ListItem>
<SecondaryNavigation.Link
to={`${baseUrl}/autofix/recent/`}
analyticsItemName="issues_autofix"
end
>
{t('Recently Run')}
</SecondaryNavigation.Link>
</SecondaryNavigation.ListItem>
</SecondaryNavigation.List>
</SecondaryNavigation.Section>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The "Autofix" navigation is now visible to all users, regardless of the autofix-on-explorer feature flag, exposing an incomplete feature to users who should not see it.
Severity: MEDIUM

Suggested Fix

Reinstate the feature flag check for the autofix-on-explorer feature. The visibility of the "Autofix" navigation item in issuesSecondaryNavigation.tsx and the command palette action in commandPaletteGlobalActions.tsx should be conditional on this flag being enabled for the user's organization.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.

Location:
static/app/views/navigation/secondary/sections/issues/issuesSecondaryNavigation.tsx#L68-L81

Potential issue: The "Autofix" navigation section and its corresponding command palette
action are now displayed unconditionally to all users. Previously, this UI was gated by
the `autofix-on-explorer` feature flag. Users in organizations without this flag enabled
will now see the "Autofix > Recently Run" navigation item. Clicking it leads to a page
that queries for issues using `has:issue.seer_last_run`. While the backend correctly
adjusts the search field based on the feature flag's presence, the UI was intentionally
hidden for users without the flag. Exposing this navigation path is a functional
regression, as it leads users to an experimental or incomplete feature, potentially
resulting in a confusing experience with empty or unexpected results.

Also affects:

  • static/app/components/commandPalette/ui/commandPaletteGlobalActions.tsx:336~341

Did we get this right? 👍 / 👎 to inform future reviews.

Copy link
Copy Markdown
Contributor

@chromy chromy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Zylphrex Zylphrex merged commit 0237649 into master May 22, 2026
71 checks passed
@Zylphrex Zylphrex deleted the txiao/chore/remove-unused-autofix-v1-frontend branch May 22, 2026 17:51
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants