Repository navigation
Fill the sidebar's project, checkout and agent row menus - #220
Merged
Merged
Conversation
… agent's session id Pinning a row Herdr shows without a registration registers it with the id, label, root and device the row already carries and pins it in the same workspace_pin_set event; the next catalog rebuild adopts it as the same row. remove_workspace on such a row closes its panes through the existing close worker and retires nothing, so the row leaves with Herdr's workspace. Every row now carries the removal gate's pane counts. Agent rows serialize the session id Herdr recorded, for the row menu's Copy session id.
Project rows offer Open Overview, New worktree, New tab in main, Reveal in Finder, Copy path, Pin/Unpin and Remove project on every row, registered or not. Checkout rows offer Open, New tab here, the pull request, Set purpose, Set as default checkout, Copy branch name, Copy path, Reveal in Finder and Delete worktree. Agent rows gain a menu: Show with its option-digit chord, Copy title, Copy session id and Close tab. A device's rows list Finder, the default and deletion disabled with the reason. Reveal in Finder goes through a new desktop bridge method that shows the folder and opens nothing; a browser tab has no such item.
On an isolated Herdr and hided: an unregistered project row's menu lists the board's items and Pin registers and pins it; New tab in main opens a tab in the default checkout; Set as default checkout moves the home glyph and first place; an agent row copies its session id and title and Close tab closes the tab holding its pane in a checkout that is not in front.
…debar Project, checkout and agent rows each get a frame with the menu the desktop app draws, and the Menus and Overlays sheet's project menu follows the new items as a browser tab draws them.
UI_BEHAVIOR lists each row kind's items, host and device gating, and what Pin and Remove do on a row Herdr shows without a registration; ARCHITECTURE names the events each item sends, the core's unregistered-row handling, the agent row's session id and the desktop bridge's Finder reveal.
…re the folder row's checkout items The menus spec asserted Delete worktree… disabled, which held only while the worktree reader had not yet read the row a few seconds after launch. It now reads the menu again until the row is read and expects the item enabled. A plain folder's row takes its checkout items from one set that both the menu builder and the row's routing use.
…enus # Conflicts: # design/hide-screens.pen # docs/UI_BEHAVIOR.md # scripts/pen-screens.mjs
…menu in the pull request spec A menu item's label now sits in a row with its chord, so the view tab spec read the label where it expected the disabled reason. Items carry data-menu-label and data-menu-reason and the specs read those. The pull request spec expects the checkout menu's full item list and arrows down to Open pull request, which now follows Open and New tab here.
…st spec The menu moves focus to the next item on a timer after each arrow key, so a second press sent before that move acts on the old item and the walk falls short. Each press now waits until focus has moved.
Contributor
Author
|
CI note: the web shell lane failed once on |
yansfil
added a commit
that referenced
this pull request
Sep 28, 2026
Brings in Agent tab groups (#217), the sidebar shell (#219), the sidebar row menus (#220) and the project row fold (#221) alongside the issue-first Overview. - The every-project screen keeps main's title, Overview (sidebar-shell D-02), on the issue-first board; its docs and Screen / Main follow. - actions.ts keeps main's row-menu and project-fold actions and the issue-linked createWorktree; WorkspaceDialogs keeps the issue dialogs and main's Remove project `listed` flag; keyboard.ts keeps the renamed recent entries and main's agentListOrder. - design/hide-screens.pen is rewritten from the merged scripts/pen-screens.mjs with scripts/gen-screens.mjs rather than merged by hand.
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: PRD
agents/prd/sidebar-context-menus/prd.mdSummary
revealPath하나가 생깁니다.Screen / Projects Sidebar시트에 세 메뉴가 열린 프레임을 스크립트로 추가했고, UI_BEHAVIOR·ARCHITECTURE를 같이 고쳤습니다.Review
herdr-core/src/runtime/projects.rs- runtime mutex 안에서 미등록 행을 등록합니다. 등록 id는 행의 id를 그대로 쓰고(다음 catalog rebuild가 같은 id를 채택), 파일 I/O는 없습니다. helper가 아직 묶지 않은 장치 행과 제거 진행 중인 행은 진단 로그로 거부합니다.herdr-core/src/model.rs- snapshot wire에 에이전트session_id가 추가됩니다(없으면 생략). 세션이 바뀔 때만 값이 바뀝니다.desktop/src/main/host.ts,desktop/src/main/reveal.ts- 새 IPC.reportBindings와 같은 sender 검사, 절대 경로·길이·NUL 검사,shell.showItemInFolder만 부르며 로그에 경로를 남기지 않습니다.web/src/components/entry-menu.tsx- 공용 메뉴 항목이 라벨과 단축키를 한 줄에 두도록 바뀌었고(items-start→items-stretch), 라벨·이유에data-menu-label/data-menu-reason이 붙습니다. History·ViewAreas·Workspace 메뉴도 같은 컴포넌트를 씁니다.Evidence
sidebar-menus.spec.ts(고립 Herdr + debug hided + fake claude): 세 메뉴의 항목·순서·구분선·단축키, 미등록 행 Pin → Pinned · 1과 Unpin, New tab in main → 기본 체크아웃에 탭 2개, Set as default → home 글리프와 첫 자리 이동, Copy session id/Copy title → 클립보드 값, 대기 중 에이전트의 Close tab… → 확인창 없이 그 탭만 닫힘.checkout-pr.spec.ts하나는 536b794에서 고친 뒤 단독 3회·병렬 4회 통과. 메뉴가 바뀌어 기존 spec 두 개(checkout-pr,s7)가 첫 CI에서 떨어졌던 것을 같은 PR에서 고쳤습니다(메뉴 항목에data-menu-label/data-menu-reason).sasu implement verifyPASS(verify-cargo.sh test/lint, 536b794).revealablePath포함), web·desktop typecheck와 eslint,check-design-contract.mjs통과.hide-agent-hooksdeadline(부하 중 1.86s),device_worktrees(git 서명 키),install::tests(임시 settings.json) 세 테스트가 한 번씩 실패했고 각각 단독 3회 통과했습니다. 이 PR은 그 코드를 바꾸지 않으며 최종 verify에서는 모두 통과했습니다.s2.spec.ts가 ⌥T 새 탭 라벨을 "Tab 2" 대신 "zsh"로 읽어 실패했고(https://github.com/modakbul-gongbang/hide/actions/runs/36360754915/attempts/1), 재실행에서 통과했습니다. 그 spec과 탭 이름 경로는 이 PR diff 밖이고, #220의 첫 CI 실행에서는 같은 spec이 통과했습니다. 로컬 병렬 4회×2 테스트도 통과.design/hide-screens.pen의 큰 diff는scripts/pen-screens.mjs+gen-screens.mjs가 만든 것으로, Projects Sidebar 시트의 메뉴 프레임 3개와 Menus and Overlays 시트의 프로젝트 메뉴 갱신입니다. Head the sidebar with an Overview row and a Projects | Agents strip with Search and New workspace #219 병합 뒤 main의 파일에서 다시 생성했고, main과 다른 시트는 이 둘뿐입니다.AI tooling: 대부분 AI 도구. 메뉴 항목·순서를 PRD 보드와 e2e 캡처로, core 변경을 테스트와 두 리뷰로 대조했습니다.
Verification record
agents/prd/sidebar-context-menus/prd.md(sha256 4310c5aa5d74f6efc5b8863cb1dd0ac4f2955b925b3c8b505181470ba6264bfd)agents/runs/sidebar-context-menus/verification-report.jsonandagents/runs/sidebar-context-menus/verification-report.md; source fingerprint 3e1226c1e8a8a521a4d8c71c87c89b677f1027c27ee5af503a1a14d16a139a52bash scripts/verify-cargo.sh test(exit 0)bash scripts/verify-cargo.sh lint(exit 0)folderMenu의separated: false덮어쓰기 함정, entry-menu 공용 변경의 다른 메뉴 시각 확인. 폴더 행 항목 목록 중복은 a44ef6a에서 하나로 통합.Delete worktree… (disabled)단언이 worktree reader 타이밍에 기댄 것(a44ef6a에서 수정), a44ef6a CI web shell에서 기존 spec 두 개가 새 메뉴 DOM·항목에 맞지 않아 실패(1222fd0), Radix roving focus 타이머 때문에 화살표 이동이 짧아지던 spec 루프(536b794). hcoord plugin job은 알려진 hang으로 취소.