fix(replay): make inspector navigation responsive - #35
Draft
lordspline wants to merge 1 commit into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Session replay users can lose inspector destinations and controls when a resized sidebar becomes narrower than their labels.
The top-level tabs and inspector rails overflow independently, so hidden actions lack a clear pointer or keyboard affordance.
Refs PostHog#35366
Changes
All six conditional destinations remain visible at a wide sidebar:
Open video
How did you test this code?
hogli ci:preflight --fix.馃憠 Stay up-to-date with PostHog coding conventions for a smoother review.
Automatic notifications
Docs update
None. This changes the layout of existing navigation without changing a documented workflow.
馃 Agent context
Autonomy: Human-driven (agent-assisted)
Capy authored the change and used Storybook plus Playwright for visual verification. It invoked
/writing-ui-components,/writing-tests,/writing-user-facing-copy,/writing-code-comments,/qa-frontend, and/writing-pr-descriptions.The experiment compared scroll-only, wrapped, and adaptive-menu concepts. The committed fixtures use existing repository mocks plus invented
example.comissue data.Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.