Repository navigation
오른쪽 레인 다듬기: 아이콘만 있는 레일, ⌘E 하나, 겹친 레인의 폭 조절, 핀은 항상 도킹 - #1120
Merged
Merged
Conversation
The rail drew a 10px name under each icon, which read too big and too busy at the window's edge. It now draws the icon alone, 20px like the device rail's, and the hint on hover carries the name, its scope and the chord, which the button already had as its accessible name. The icons say what each tool is: files for Files, a file diff for Changes, two speech bubbles for Sessions and a brain for Memory; the git branch icon left Changes because the search palette uses it for a checkout. The Pen rail button loses its label and the Workspace screens stop overriding it; the B23 test checks the hint instead of the label's fit.
Toggle File Views (⌘⇧B) and Toggle Tools (⌘E) each opened the lane on one tool, so a key could switch the tool, close the lane or open it depending on what showed, and the path's menu carried two items for the same lane. Toggle right lane (⌘E) replaces both: the lane closes while it shows and otherwise comes back on the tool it holds, Files when it holds none; the rail icons carry no chords, the path's menu offers Show or Hide right lane, and the desktop View menu names the one command. Neither old command was bindable in Settings, so no stored shortcut set names them.
…s spec The rail draws no text now, so the spec that asserted the four names as the rail's text reads each button's accessible name instead.
A lane over the agents had no divider, so its width could only be set after pinning it. The docked lane's divider now hangs outside the overlay's left edge too: a drag moves the guide and lands once as the same stored width the pin docks at, and nothing beside the lane moves, so no terminal resizes. Over the agents the lane may reach the body's left edge, since nothing beside it keeps a minimum; docked, Agent Views keep theirs as before.
A pinned lane docked only where its stored width and 480px of Agent Views fit side by side, so on a laptop window a lane with its tree never docked and the pin read as doing nothing. It now docks wherever the lane's minimums (360px of documents, 180px of tree) fit beside Agent Views' 480px, narrowing itself first and taking its stored width back as the window widens; only a body too narrow for even those draws it over the agents, as before.
The rail-name assertion grew the spec to 124 lines against a budget of 120; one poll over the four accessible names reads the same contract.
The lane toggle moved from ⌘⇧B to ⌘E; the spec still pressed the old chord and read overlay instead of closed.
A tab of one agent drew the hairline guide under the checkout glyph beside its lone row, which read as a line with nothing to group. The guide now belongs to the tab glyph: a tab of two or more agents draws it, a single-agent tab is its row alone, and the 8px gap stays the tab boundary. Doc, Pen screen generator and the sidebar tab e2e follow.
Resolves against #1128's tab line inside the guide: a tab of two or more agents keeps its guide and line, a single-agent tab draws neither.
Reapplies the single-agent rule on #1128's segment head: the guide and the quiet line belong to a tab of two or more agents, and a single-agent tab is its row alone.
…w-tab spec The lane was open and pinned at that step, so the lane toggle closes it; the spec read the old Toggle Tools order and looked for Files on the first press.
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: #1112
Summary
이름 · 범위를 보여줍니다. 아이콘은 도구가 하는 일로 바꿨습니다: 파일은 문서 두 장, 변경은 diff 문서, 세션은 말풍선 두 개, 기억은 뇌(변경의 git 가지 아이콘은 ⌘K가 체크아웃 뜻으로 써서 뺐습니다).Toggle File Views(⌘⇧B)와Toggle Tools(⌘E)가 각각 도구 하나를 열어서, 같은 키가 상황에 따라 도구를 바꾸거나 닫거나 열었습니다.Toggle right lane(⌘E) 하나로 바꿨습니다: 레인이 떠 있으면 닫고, 아니면 들고 있던 도구(없으면 파일)로 다시 엽니다. 경로 메뉴도오른쪽 레인 표시/숨기기하나이고, 레일 아이콘에는 단축키가 없습니다. 두 옛 명령은 Settings에서 바꿀 수 없던 명령이라 저장된 단축키 집합이 이름하지 않습니다.lane_width가 저장되어 핀을 꽂아도 그 폭이고, 옆에 움직이는 것이 없으니 터미널 리사이즈는 0회입니다. 겹친 상태에서는 몸통 왼쪽 끝까지 넓힐 수 있습니다.docs/UI_BEHAVIOR.md와docs/ARCHITECTURE.md의 레일·단축키·디바이더 문단이 따라갑니다.Review
web/src/sidebar.tsxTabSegmentHead- 글리프 없는 묶음은 이제 아무것도 그리지 않습니다(선 포함).web/src/actions.ts-toggleLane이 레인 상태를 읽는 자리; 떠 있음 판정은drawnLane.mode입니다.web/src/LaneDivider.tsx- 겹친 레인의 디바이더는edge로 레인 상자 밖에 매달리고,aria-valuemax가 모드에 따라 다릅니다.web/src/workspace.tslaneFrame·laneLanding- 도킹 판정이 저장 폭이 아니라 최소폭 기준이 됐고, 겹친 모드의 landing만 에이전트 최소 폭을 빼지 않습니다.design/hide-ui.lib.pen- 라벨 노드 제거와 아이콘 이름 변경만이어야 합니다.Evidence
right-lane(5, 겹친 레인 드래그로 +120px 안에서 1px, 터미널 리사이즈 0회 포함),s3·s4·s6·s7(좁은 창 핀 포함)·close-policy·new-tab·session-panel·sidebar-tab-groups(하나인 탭에 선 0개, 둘인 탭의 선 위치 유지) 통과(⌘E와 경로 메뉴를 쓰는 모든 spec).tsc(web·desktop), eslint, 단위 테스트 통과(laneFrame도킹 경계 1255/1036/1035/848/847과laneLanding겹침 사례 추가).check-design-contract.mjs통과. 위 이미지는 격리 Herdr 위에서 e2e가 찍은 실제 렌더입니다.right-lane,new-tab의 View 메뉴 경로)는 CI에만 맡겼습니다. Windows·Linux 렌더도 CI입니다. 설치 앱에서는 보지 않았습니다.design/hide-screens.pen은pen-screens.mjs가 다시 썼고,Screen / Workspace보드의 라벨 덮어쓰기 72개가 빠졌습니다.