Skip to content

ref(feedback) use layout.page#111263

Merged
JonasBa merged 2 commits intomasterfrom
jb/pageframe/explore
Mar 23, 2026
Merged

ref(feedback) use layout.page#111263
JonasBa merged 2 commits intomasterfrom
jb/pageframe/explore

Conversation

@JonasBa
Copy link
Copy Markdown
Member

@JonasBa JonasBa commented Mar 20, 2026

Add missing Layout.Page from explore views which fixes the pageframe background and layout when the pageframe flag is enabled

@JonasBa JonasBa requested review from a team as code owners March 20, 2026 22:46
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Mar 20, 2026
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 3 potential issues.

Fix All in Cursor

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

Comment thread static/app/views/performance/newTraceDetails/index.tsx
content
)}
</FullViewport>
</Layout.Page>
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.

Footer hiding CSS selector broken by nesting change

Medium Severity

FullViewport uses a ~ footer CSS sibling selector to hide the page footer, and its own comment explicitly states "The footer component is a sibling of this div." Wrapping FullViewport inside Layout.Page means it's no longer a DOM sibling of footer — so the selector no longer matches and the footer won't be hidden. The trace view handles this correctly by placing ~ footer { display: none } on the LayoutPageWithHiddenFooter (a styled Layout.Page), but the replay detail view doesn't get the same treatment.

Fix in Cursor Fix in Web

Comment thread static/app/views/profiling/continuousProfileProvider.tsx Outdated
…oter hiding

The flamegraph views use a CSS sibling selector to hide the footer
(~ footer { display: none }). When Layout.Page was added to the parent
provider components, it broke this selector because FlamegraphContainer
was no longer a sibling of the footer element.

This change moves Layout.Page from the provider components to the
individual flamegraph child routes, using a styled LayoutPageWithHiddenFooter
component that applies the footer hiding CSS at the correct level.

Co-authored-by: Jonas <JonasBa@users.noreply.github.com>
Comment thread static/app/views/performance/newTraceDetails/traceTabsAndVitals.tsx
@JonasBa JonasBa requested a review from a team March 22, 2026 02:51
@JonasBa JonasBa merged commit c381b72 into master Mar 23, 2026
70 checks passed
@JonasBa JonasBa deleted the jb/pageframe/explore branch March 23, 2026 18:40
@github-actions github-actions bot locked and limited conversation to collaborators Apr 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants