Repository navigation
Hide the pills above the composer while a quote's comment editor is open - #155
Merged
Merged
Conversation
The quote comment panel opens just above the composer, where the background-work capsule, the queued and connection pills and the jump button sit, and the capsule was drawn on top of the comment field. composerPanelCovers now also covers while a quote's comment is being edited, so those fade out under the panel, as they already do under the model picker and the @ suggestions, and come back when it closes. Verified on the emulator against session-lab (background-work): before, the capsule covers "Add an optional comment…"; after, it hides while the panel is open and returns after Done and Back, light and dark, with no transcript or composer jump. The Reconnecting pill (lab stopped) also stays hidden under the panel. vm.sh check :feature:session passed.
This branch was previously deployed
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.
With a session's background work showing (the "1 subagent" capsule above the composer), tapping a quote card's Add Comment opened the comment editor underneath the capsule, so the capsule covered the start of the comment field. The queued pill, the connection pill and the jump button sit in the same place.
Now
composerPanelCoversis also true while a quote's comment is being edited, so everything above the composer fades out under the panel, as it already does under the model picker and the @ suggestions, and comes back when the panel closes.quote-comment-covers.mp4
Verified on the emulator against session-lab's background-work checkpoint: on dev the capsule covers "Add an optional comment…"; with this change it hides while the panel is open and returns after Done and after Back, in light and dark, and the transcript and composer don't move. With the lab stopped, the Reconnecting pill also stays hidden under the panel. Tapping the quote card while the background-work list is expanded just closes the list (its scrim takes the tap), as before.
vm.sh check :feature:sessionpasses. Not checked: the queued pill, and on a phone.The video shows dev on the left and this branch on the right, at real speed and then the panel opening at 1/4 speed.