Skip to content

chore(tracemetrics): Cleanup side panel feature flag#112105

Merged
nsdeschenes merged 4 commits intomasterfrom
nd/LOGS-600/chore-tracemetrics-cleanup-sidepanel-feature-flag
Apr 9, 2026
Merged

chore(tracemetrics): Cleanup side panel feature flag#112105
nsdeschenes merged 4 commits intomasterfrom
nd/LOGS-600/chore-tracemetrics-cleanup-sidepanel-feature-flag

Conversation

@nsdeschenes
Copy link
Copy Markdown
Contributor

Now that this flag has been fully rolled out, lets do some tidying up by removing it, and defaulting to the side panel experience.

Ticket: LOGS-600

nsdeschenes and others added 2 commits April 2, 2026 11:50
… feature flag

The side panel is now fully rolled out, so remove the flag check and
render the MetricDetailPanel unconditionally.

Co-Authored-By: Claude Sonnet 4 <noreply@example.com>
…e panel

Remove the test asserting the side panel is hidden without the flag,
and simplify the remaining side panel tests to use the base organization
fixture now that the panel always renders.

Co-Authored-By: Claude Sonnet 4 <noreply@example.com>
@linear-code
Copy link
Copy Markdown

linear-code bot commented Apr 2, 2026

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Apr 2, 2026
…lidate test setup

After removing the side panel feature flag, the attributes endpoint is always fetched. Tests that called MockApiClient.clearMockResponses() mid-test were losing the attributes mock set up in beforeEach, causing unmocked request errors.

Move all mock setup to beforeEach and cleanup to afterEach. Expand the events mock in metricSelectRow.spec.tsx to include all metric types so individual tests no longer need to clear and re-declare their own mocks.

Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

@nsdeschenes nsdeschenes marked this pull request as ready for review April 7, 2026 10:26
@nsdeschenes nsdeschenes requested review from a team as code owners April 7, 2026 10:26
@nsdeschenes nsdeschenes merged commit c5a26ed into master Apr 9, 2026
82 of 84 checks passed
@nsdeschenes nsdeschenes deleted the nd/LOGS-600/chore-tracemetrics-cleanup-sidepanel-feature-flag branch April 9, 2026 11:17
george-sentry pushed a commit that referenced this pull request Apr 9, 2026
Now that this flag has been fully rolled out, lets do some tidying up by
removing it, and defaulting to the side panel experience.

Ticket: LOGS-600

---------

Co-authored-by: Claude Sonnet 4 <noreply@anthropic.com>
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