Repository navigation
Keep project header controls visible on touch screens - #3352
Merged
Merged
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.
🚨 SLOP COP 🚨 ·
new-issue-autopilotHuman comments
What was wrong
Project header controls inherited hover-only visibility without the marker that exposes actions on compact touch screens. This made their wrapper transparent and excluded it from pointer input. Reproduction and root-cause report.
What changed
Apply the existing mobile visibility marker to the header-actions wrapper and cover closed and open states with a regression test. The change is 34 added text lines across two sidebar files, with no dependencies or public contract changes.
How you verified
The new assertions failed on unchanged production code with
expected null to be 'always'. A browser fixture extracted from the production JSX and CSS reproduced invisible, untappable controls in two clean checkouts. After the fix, the same fixture is visible and receives a real touch tap.pnpm exec turbo run test --filter=@bb/app -- ProjectRow sidebarRowClasses theme.test SidebarSectionRow ProjectList.modes --maxWorkers=1 --testTimeout=60000: 62 tests passed across 8 files. The initial 15-second run had three existing timeouts; all passed on the final run. App lint passed with 0 errors (187 existing warnings).git diff --checkand the publication-name scan passed. Broad build and full-app startup were stopped under host load; full-app and Safari verification are not claimed.Fixes #3330