Repository navigation
fix: show a pane header's @ only where its grip and zoom show - #1697
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.
Related: #1690 (pane header @ and the fixed places for its controls)
Summary
The
@in an agent pane's header was always drawn, but zoom beside it showed only on hover, so a pane you weren't using had an empty hole between@and⋯.Now
@follows the same rule as the grip and zoom: it shows on the pane that holds the keyboard, and on any other pane while you point at or focus its header.A hidden
@and zoom keep their places, so both blanks sit together left of⋯and nothing in the row moves when they appear.An
@whose list is open stays drawn.Review
@가 마우스를 올려야 보입니다. 다른 에이전트를 부를 때 한 번 더 올려야 한다는 뜻입니다.web/src/PaneMention.tsx- 목록이 열려 있는 동안에는 숨김 class를 빼서@를 계속 그립니다. 포커스가 portal로 넘어가면 pane이 키보드를 잃기 때문입니다.Evidence
agent-reference-drop.spec.tse2e(private Herdr + hided)를 Chromium에서 돌렸습니다. 다른 pane의@는 평소 opacity 0, header를 가리키면 1이고 위치는 그대로입니다. 키보드 포커스가 오면 1, 목록을 연 채 포인터가 목록으로 가도 1입니다. 수정 전에는 마지막 경우에 0이었고, 이 e2e가 그걸 잡았습니다.check-design-contract.mjs통과.mention단계는 lead pane이 키보드를 잃으면 빈 자리를 가리킬 수 있습니다. 코드만 읽어 본 판단이고 실행해 보지 않았습니다. 4장screen의 zoom 단계에도 이미 같은 약점이 있습니다.추가 증거
Right pane hovered: @ ⤢ ⋯ ✕ appear in place
Light, at rest and hovered
Verification record
git rev-parse HEADof fix/pane-header-at-hover@list is open; fixed to say only@does.mentionstep may point at a hidden@if the lead loses the keyboard.