Skip to content

fix: show a pane header's @ only where its grip and zoom show - #1697

Merged
yansfil merged 2 commits into
mainfrom
fix/pane-header-at-hover
Oct 26, 2026
Merged

yansfil merged 2 commits into
mainfrom
fix/pane-header-at-hover

Conversation

@yansfil

@yansfil yansfil commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

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.

Right pane at rest: only ⋯ ✕. The left pane holds the keyboard: @ ⤢ ⋯ ✕

Review

  • 판단해 주세요: 키보드가 없는 pane에서는 @가 마우스를 올려야 보입니다. 다른 에이전트를 부를 때 한 번 더 올려야 한다는 뜻입니다.
  • 조심해서 볼 파일: web/src/PaneMention.tsx - 목록이 열려 있는 동안에는 숨김 class를 빼서 @를 계속 그립니다. 포커스가 portal로 넘어가면 pane이 키보드를 잃기 때문입니다.

Evidence

  • 확인한 것: agent-reference-drop.spec.ts e2e(private Herdr + hided)를 Chromium에서 돌렸습니다. 다른 pane의 @는 평소 opacity 0, header를 가리키면 1이고 위치는 그대로입니다. 키보드 포커스가 오면 1, 목록을 연 채 포인터가 목록으로 가도 1입니다. 수정 전에는 마지막 경우에 0이었고, 이 e2e가 그걸 잡았습니다.
  • 확인한 것: web typecheck, lint, unit 2164 passed, check-design-contract.mjs 통과.
  • 확인하지 못한 것: 설치 앱에서의 실제 확인은 하지 않았습니다. practice 4장 mention 단계는 lead pane이 키보드를 잃으면 빈 자리를 가리킬 수 있습니다. 코드만 읽어 본 판단이고 실행해 보지 않았습니다. 4장 screen의 zoom 단계에도 이미 같은 약점이 있습니다.
추가 증거

Right pane hovered: @ ⤢ ⋯ ✕ appear in place

hover-dark

Light, at rest and hovered

rest-light
hover-light

Verification record
  • base: origin/main 98d0e14, head: git rev-parse HEAD of fix/pane-header-at-hover
  • Review subagent Fix now: the docs said grip and zoom also stay drawn while the @ list is open; fixed to say only @ does.
  • Follow-up: practice mention step may point at a hidden @ if the lead loses the keyboard.

@yansfil
yansfil merged commit 99f6b91 into main Oct 26, 2026
29 checks passed
@yansfil
yansfil deleted the fix/pane-header-at-hover branch October 26, 2026 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant