Repository navigation
fix(app): make the subagent back button readable and tappable - #62334
Closed
patricksmms wants to merge 1 commit into
Closed
patricksmms wants to merge 1 commit into
patricksmms wants to merge 1 commit into
Conversation
Contributor
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
Contributor
|
Thanks for picking this up and for the before/after screenshots and the touch-viewport test! I think this duplicates #57922. That PR redesigns the subagent bar into one 44px line, clips any overflow and moves the model/provider text into a tooltip, which removes the cause of #60864. An earlier fix for the same issue (#61035) was closed in favor of that redesign.
If the redesign is missing something you covered here, like the outlined back button with an arrow or the coarse-pointer touch target, it would help to say so on #57922 or test it at 390px with touch. |
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.
Issue for this PR
Closes #60864
Type of change
What does this PR do?
On a narrow screen the subagent bar's model text did not shrink, so it painted over Main session and made both unreadable. The back control itself was a
ghost-faint24px button, so it did not look tappable and fell below the touch target size.This hides the secondary model name below
sm, clips the remaining status line, and gives the way back an outlined button with an arrow. On coarse pointers the bar and button grow to 44px so the whole row is a comfortable target. Desktop keeps the 32px row and the full agent/model line.How did you verify your code works?
bun run typecheckinpackages/app.hasTouchbefore and after: the before shot shows the model text under the button, the after shot showsRunning · 1m 06s · Surveyorand a clear button.Visual
Screenshots / recordings
390×844 with
hasTouch, child subagent session.Checklist