Link within the AI code fix banner on the admin page is directing users to a blank tab

Description

CONTEXT

The bug affects administrators of the SQ instance. When they click the "Enable AI Codefix" link, it does not direct them to the correct tab. This results in confusion as no tab is selected on the left-hand side.

Currently, when the user clicks the "Enable AI Codefix" link, it opens the content to change the setting, but no tab is selected on the left-hand side.

Steps to reproduce

  • Log in as an administrator on the SQ instance.

  • Ensure the AI codefix feature is disabled for the user.

  • Click on the "Enable AI Codefix" link in the banner.

  • Observe that no tab is selected on the left-hand side.

Environment

The bug is present in the SQ instance for administrators.

Other information

  • The issue arose after changes to introduce the early access tab (SONAR-24630).

  • Screenshots:

HOW

Clicking the "Enable AI Codefix" link should navigate the user to the correct tab. This could be either the "Early Access Feature" tab or the "AI Codefix" tab, displaying the relevant content to edit the settings.

Production Notes

None

Attachments

2

Activity

Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Affects versions

Edition

Developer

Goals

None

Original estimate

Time tracking

No time logged2d remaining

Priority

Sentry

Created March 27, 2025 at 3:49 PM
Updated March 27, 2025 at 4:00 PM