Repository navigation
Move Settings into the sidebar footer and give the usage popover its own width - #165
Merged
Merged
Conversation
The popover borrowed --size-agent-children-popover (280). It now reads --size-usage-popover, 250 wide as the native popover is, and the Component / Weekly usage sheet draws its popovers and rows at that width.
The web sidebar footer now reads as the native utility bar does: the device picker at the left, then the usage chips and the Settings gear at the right, and the mode row keeps only Agents, Projects and its chord. The Main and Workspace screen sheets draw the sidebar at --size-sidebar-ideal, the width sidebar.tsx gives it, so the footer holds all three.
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: #153, #162
Summary
#162 리뷰에서 남은 두 결정을 반영합니다.
Settings 톱니를 사이드바 헤더에서 footer로 옮겨, footer가 Swift utility bar처럼 왼쪽 device picker, 오른쪽 사용량 chip과 Settings로 읽힙니다.
Weekly Usage popover는 빌려 쓰던
--size-agent-children-popover(280) 대신 새 토큰--size-usage-popover(Swift와 같은 250)를 씁니다.헤더 줄에는 Agents, Projects, ⌘E만 남습니다.
Review
--size-sidebar-min)으로 그려 footer에 톱니가 들어가지 않았습니다. 웹이 실제로 쓰는--size-sidebar-ideal(292)로 바꿨고, 두 시트의 폭이 그만큼 넓어졌습니다.scripts/pen-screens.mjs- 생성기:screenSidebar가 tokens를 받아 폭을 읽고, Palette 시트 사이드바 헤더의 톱니를 지웠습니다.Evidence
pnpm --dir web typecheck,lint,test(40 files, 338 tests).pnpm --dir web e2e전체 62개 통과, 0개 실패(10.9분).data-open-settings)를 눌러 Settings를 열고 Appearance에서 Light로 바꾼 뒤 chip과 popover를 캡처했습니다.node scripts/check-design-contract.mjs, design node test 4종(51개),python3 -m unittest discover -s scripts/tests -p 'test_*.py',check-no-workstation-identity.sh,check-hide-design-enforcement.mjs,check-no-attribution.py.pen interactive로 Main 사이드바(Light, Dark), Workspace 시트, Weekly usage popover 상태를 렌더해 footer 세 요소가 잘리지 않고 popover가 250 폭인지 봤습니다.design/hide-ui.lib.pen(새 변수와 Weekly usage 시트의 폭),design/hide-screens.pen(변수 블록, Main, Workspace, Palette 사이드바),web/src/tokens.css는 스크립트 출력입니다.AI tooling: 대부분 AI 도구로 작성. Swift 참조 화면과 웹, Pen 캡처를 대조하고
.pendiff가 폭, 변수, 사이드바 노드만 바꾸는지 확인했습니다.