[PR #11258] fix(app): always show project menu button for mobile a11y #13716

Closed
opened 2026-02-16 18:18:33 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/11258

State: closed
Merged: Yes


What does this PR do?

Project menu button is completely undiscoverable on mobile because it renders on hover. Hover doesn't work on touch. Only way to click it is to know it's there and touch an invisible button.

In the trade off of discoverability vs aesthetics, I think discoverability wins this one.

The alternative is special casing so that it only shows on mobile, which I can do, but don't think that branching is worth the code complexity since this helps desktop users discover workspaces and project editing as well.

Before

Image

After

Screenshot 2026-01-29 at 11 07 15 PM

How did you verify your code works?

Tested to make sure that this button still works & renders.

Fixes: https://github.com/anomalyco/opencode/issues/11255

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/11258 **State:** closed **Merged:** Yes --- ### What does this PR do? Project menu button is completely undiscoverable on mobile because it renders on hover. Hover doesn't work on touch. Only way to click it is to know it's there and touch an invisible button. In the trade off of discoverability vs aesthetics, I think discoverability wins this one. The alternative is special casing so that it only shows on mobile, which I can do, but don't think that branching is worth the code complexity since this helps desktop users discover workspaces and project editing as well. ### Before <img width="460" height="954" alt="Image" src="https://github.com/user-attachments/assets/0790a982-e5eb-4c32-b9f4-d7d2015916c6" /> ### After <img width="373" height="817" alt="Screenshot 2026-01-29 at 11 07 15 PM" src="https://github.com/user-attachments/assets/63084241-e3ef-47f4-929e-ad9da083917d" /> ### How did you verify your code works? Tested to make sure that this button still works & renders. Fixes: https://github.com/anomalyco/opencode/issues/11255
yindo added the pull-request label 2026-02-16 18:18:33 -05:00
yindo closed this issue 2026-02-16 18:18:33 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13716