Repository navigation
Unify recent panel and project navigation - #34
Merged
Merged
Conversation
yansfil
added a commit
that referenced
this pull request
Oct 16, 2026
…ails (#1236) Closes #1189 ## Summary 프로젝트의 PR 읽기는 PR 목록 말고도 세 가지를 더 묻습니다: 로그인한 계정, 나에게 온 리뷰 요청, 머지 큐 자리입니다. 지금은 이 셋 중 하나만 실패해도 그 프로젝트의 PR이 앱 어디에도 보이지 않았습니다. 이제 PR 목록이 읽히면 읽기는 성공입니다. 실패한 질문에 기대던 판정(내 PR인지, 나나 우리 팀에 리뷰가 요청됐는지, 큐에 있는지)만 "모름"으로 남습니다. 판정할 수 없는 PR은 자기가 속할 수도 있는 그룹이 아니라 평범한 Waiting에 두고, 그 줄에 무엇을 알 수 없는지 적습니다. 배너나 시트는 없습니다. PRs 옆 ⚠는 그대로 쓰고, 툴팁이 어떤 질문을 못 읽었는지 말합니다. 이 PR은 PRD work-tab-pr-lens D-25의 "하나라도 실패하면 읽기 전체 실패" 규칙을 대체합니다. D-25는 로컬 PRD라 이 본문에만 적습니다.  머지 큐만 못 읽은 경우입니다. 큐에 있을 수 있는 #31, #32만 `Not judged`로 Waiting에 앉고, 충돌 PR(#34)과 리뷰 PR(#33)은 그대로 판정됩니다. ## Review - **판단해 주세요**: 판정할 수 없는 PR을 어디에 둘까요. 저는 평범한 Waiting을 골랐습니다. Needs You는 "내 차례"라는 뜻이라 틀리게 말할 수 있고, Blocked는 "고쳐야 함"이라 틀립니다. - **판단해 주세요**: 그 줄은 `Not judged · can't tell if it is yours`처럼 읽힙니다. 같은 모양으로 `checking`(머지 상태 확인 중)이 있어 흐린 색을 맞췄는데, 더 조용하거나 더 분명하게 하고 싶은지 봐 주세요. - **판단해 주세요**: 계정을 못 읽으면 세션이 닿지 않은 내 PR 후보 전부가 Waiting으로 가서 Needs You가 비고, Work 아이콘 숫자도 비어 있습니다. 숫자를 틀리게 세는 것보다 낫다고 봤습니다. - **조심해서 볼 파일**: `herdr-core/src/github.rs` - 세 질문을 따로 묻고, 목록이 이미 정한 것(요청이 내 이름을 부르는 경우)은 계속 정합니다. `review_ask`의 표가 그 규칙입니다. - **조심해서 볼 파일**: `herdr-core/src/agent_state/work/board.rs` - `listed`와 `standing`이 "모름"을 "아님"으로 읽지 않는 자리입니다. - **조심해서 볼 파일**: `herdr-core/src/runtime/projects.rs` - 뒤 읽기가 실패해 지난 목록을 남길 때 안 읽힌 질문 이름도 같이 남깁니다. 지난 목록을 남기는 동작 자체는 바꾸지 않았습니다. - **조심해서 볼 파일**: `herdr-core/src/github_store.rs` - 저장 파일 스키마를 2로 올렸습니다. 옛 파일은 버려지고 다음 읽기가 새로 씁니다. - **질문**: 이 질문들이 실제로 얼마나 자주 실패하는지는 아직 근거가 없습니다. 그럴듯한 원인은 GitHub Enterprise의 GraphQL 차이, 좁은 토큰, 요청 한도입니다. 빈도는 주장하지 않습니다. ## Evidence - **확인한 것**: Rust 단위 테스트가 질문 셋을 하나씩, 그리고 셋 모두 실패시켰을 때 각 PR의 판정을 확인합니다(`github.rs` 8개, `board.rs` 4개, 런타임 1개). 기대값은 구현이 아니라 규칙 표에서 적었습니다. - **확인한 것**: 가짜 `gh`로 Playwright 4개가 질문별로 실패시킨 뒤 목록, 그룹, 이유 줄, ⚠의 접근 이름과 툴팁 문구를 확인합니다(`web/e2e/work-prs.spec.ts`, macOS, 파일의 10개 모두 통과. main을 합친 뒤에는 새 4개만 다시 돌렸습니다). - **확인한 것**: `verify-cargo.sh test -p herdr-core`, `lint`, `verify-web.sh web typecheck`, `lint`, `test`와 `check-no-attribution`, `check-no-workstation-identity`. - **확인한 것**: `hided`의 `opener_lifecycle::thirteenth_quick_launch_is_over_budget`가 전체 실행에서 한 번 실패했고 단독 실행에서는 통과했습니다. 이 변경과 무관한 시간 예산 테스트로 보지만 원인은 따로 보지 않았습니다. - **확인하지 못한 것**: 실제 GitHub나 GitHub Enterprise, 실제 `gh`의 실패 모양. 실패는 가짜 `gh`의 종료 코드로만 만들었습니다. - **확인하지 못한 것**: 설치된 앱과 Windows, Linux. 이 변경은 플랫폼 코드를 건드리지 않아 CI의 Windows와 Linux 레인에 맡깁니다. - **확인하지 못한 것**: 일본어와 중국어 문구는 번역 검토를 받지 않았습니다. 영어와 한국어만 화면으로 봤습니다. <details><summary>추가 증거</summary>  세 질문이 모두 실패한 경우입니다. 초안, 봇, 머지된 PR은 목록만으로 정해져 그대로입니다. </details>
HyunjunJeon
pushed a commit
to HyunjunJeon/hide
that referenced
this pull request
Nov 9, 2026
…ith-hide#2326) Related: with-hide/hide-private#777 ## Summary 보기 칸이 탭마다 하나여서 세 가지가 어긋났습니다. 같은 탭의 다른 에이전트를 누르면 남의 미션 지도가 그대로 보였습니다. 부모 줄이나 기록 카드에서 누른 자식 PR은 일하는 자식의 탭으로 화면을 옮겼습니다. 이제 칸은 pane마다 하나이고, 카드는 누른 자리에 열립니다(운영자 결정 2026-11-09). | 누른 곳 | 열리는 곳 | | --- | --- | | 에이전트 줄(태스크 목록, 프로젝트 트리)의 PR, 기록, 미션 표시 | 그 pane의 칸, pane이 키보드를 받음 | | 카드 안의 PR | 같은 칸에 쌓임, 탭과 포커스 그대로, `←`로 돌아감 | | 에이전트가 없는 자리 | 만든 이의 pane 칸, 없으면 앞 칸 | | 미션 줄, 미션 칩 | Conductor의 칸 | pane이 닫히면 그 칸도 지우고(보던 기록이면 ⌘K에서 그 세션을 찾아 다시 엶), 남겨 두는 칸은 64개까지입니다.   위: 고치기 전, 부모 줄에서 #34를 누르면 자식의 탭(초록 테두리 pane)으로 넘어감. 아래: 고친 뒤, 부모 pane 그대로 그 칸에 with-hide#34. ## Review - **판단해 주세요**: 잠든 에이전트가 새 pane에서 깨면 빈 칸으로 시작합니다(칸은 세션이 아니라 pane의 것). - **판단해 주세요**: 앞 pane이 닫히는 순간 보던 기록도 화면에서 사라집니다; 그냥 닫은 세션은 ⌘K에서 찾아 기록을 열고 Restore합니다. - **판단해 주세요**: 이전 빌드가 저장한 탭별 칸(`detail_home`, `detail_tabs`)은 읽지 않고, 앞 칸(`detail`)만 이어받습니다. - **조심해서 볼 파일**: `hide-core/src/runtime/detail.rs` - `sync_detail_pane`이 runtime mutex 안에서 이벤트마다 돕니다(high-frequency path). - **조심해서 볼 파일**: `hide-core/src/persistence.rs`, `hide-core/src/node_migration.rs` - 저장 모양(`detail_pane`, `detail_panes`)과 기기 이동 키. - **조심해서 볼 파일**: `hide-core/src/model.rs` - snapshot wire는 앞 칸 하나뿐이고 다른 칸은 core에만 있습니다(`skip_serializing`). - **조심해서 볼 파일**: `web/src/components/sidebar-agent-row.tsx`, `web/src/sidebar.tsx` - 프로젝트 트리 줄의 PR 카드·목록이 이제 `pr_open {pane}`입니다(전에는 브라우저 문서). - **조심해서 볼 파일**: `web/src/actions.ts` - `detail_open`, `pr_open`이 `at`(`here` | `{pane}` | `owner`)을 한 이벤트에 실어 보냅니다. - **비용 검토**: 이벤트마다 앞 pane 조회 1번, pane이 바뀔 때만 64칸 이하 탐색 1번과 떠나는 pane 목록 확인 1번. - **비용 검토**: 알림 fan-out은 그대로, 칸 맵 상한 64를 넘으면 오래 안 본 칸부터 버리고 진단 `detail.slot_evicted`를 남깁니다. - `hide file/diff/browser open`으로 연 View 탭 동작은 바뀌지 않습니다. - #2254와 `web/src/practice/worlds/mission.ts`에서 겹칩니다(merge-order: 그대로 둠). ## Evidence - **확인한 것**: c1 `a_card_opened_for_one_pane_is_not_shown_on_another_pane_of_the_same_tab`은 main(f859661)에서 실패, 여기서 통과. - **확인한 것**: c2 `a_pull_request_pressed_on_a_parents_row_opens_in_the_parents_slot`, `..._inside_a_record_stacks_in_the_same_slot_and_back_returns`도 main에서 실패, 여기서 통과. - **확인한 것**: 리뷰 고침 2건의 새 테스트(64칸 경계 복귀, 프로젝트 트리 PR 2개)는 5e191aafb에서 실패, 지금 통과. - **확인한 것**: `session-record-restore` e2e를 ⌘K로 기록을 다시 여는 흐름으로 바꿔 로컬 0898ecb 빌드에서 통과(같은 native 세션 복원 단언은 그대로). - **확인한 것**: hide-core lib 4279개 통과, clippy `-D warnings`, fmt; web typecheck, lint, unit 2773개, design contract 통과. - **확인한 것**: 격리된 hided(`HIDE_STATE_DIR`)와 e2e fixture로 세 증상을 main과 이 브랜치에서 어두운·밝은 테마로 24장 찍어 비교. - **확인하지 못한 것**: 캡처는 Chromium의 웹 화면이고 Electron 창은 아닙니다. - **확인하지 못한 것**: 캡처 fixture는 #34를 자식 브랜치의 열린 PR로, 자식을 작업 중으로 바꿨습니다(기본은 merged, 쉬는 자식). - **확인하지 못한 것**: 기기 pane은 core 테스트(`a_device_agents_row_opens_its_card_when_the_device_brings_the_pane_forward`)로만 확인했습니다. - **확인하지 못한 것**: Playwright e2e와 Windows, Linux는 로컬에서 돌리지 않고 CI에 맡깁니다(플랫폼별 코드 없음). <details><summary>추가 증거</summary> 증상 1, 고치기 전: Conductor 칸의 미션 지도가 같은 탭의 다른 pane에도 남음.  증상 1, 고친 뒤: 다른 pane을 누르면 그 pane의 칸(빈 칸).  증상 2, 고친 뒤, 밝은 테마.  증상 3, 고친 뒤: 기록 카드 안의 #34는 같은 칸에 쌓이고 `←`로 기록에 돌아감(고치기 전에는 증상 2처럼 자식 탭으로 넘어감).  </details> <details><summary>Verification record</summary> - base: main f859661, head: f2ff36d - `scripts/verify-cargo.sh nextest -p hide-core --lib`: 4279 passed, 19 skipped (0898ecb) - `scripts/verify-cargo.sh fmt-check`, `scripts/verify-cargo.sh clippy -p hide-core --all-targets -- -D warnings`: pass - `scripts/verify-web.sh web typecheck|lint|test`: pass, 2773 passed, 3 skipped (0898ecb); `node scripts/check-design-contract.mjs`: pass - c1, c2 on main f859661 with the tests ported: fail at the symptoms; on head: pass - review fixes: `returning_to_the_pane_seen_longest_ago_at_the_cap_keeps_both_slots` and two `projectTreePrFamily` tests fail on 5e191aa, pass on 0898ecb - `pnpm --dir web exec playwright test e2e/session-record-restore.spec.ts` on the 0898ecb build: 1 passed (a4a4969 and f2ff36d change only the spec, docs and one comment) - Native capture: isolated hided per run, web shell in Chromium, before = f859661, after = 5e191aa, dark and light </details>
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.
What changed, in one paragraph a new contributor can follow
Navigation now uses two consistent MRU levels: Ctrl+Tab cycles every open unified panel in the current project, including terminals, files, diffs, and browser surfaces; Option+Tab cycles projects and restores each project's last panel.
Option+1…9 selects sidebar entries, while Cmd+1…9 continues to select tabs.
Recent Panels retains focused-agent marks, and Cmd+K and Cmd+P share keyboard focus, arrow selection, Return, and Escape behavior.
Ordinary no-op and successful reconciliation notices no longer interrupt navigation with an OK modal.
Shortcut settings, hints, menus, accessibility help, documentation, and regression tests follow the same contract.
Review boundary
Evidence
Screenshots
Recent Panels during native Ctrl+Tab input, showing a Korean file and the focused Claude Code/Codex marks.
AI tooling
Implementation and regression checks were assisted; the maintainer directly reviewed the running native UI and approved this pull request and green-CI squash merge.