Repository navigation
fix: open a view card in the slot of the pane where it was pressed - #2326
Merged
Merged
Conversation
Take the incoming pane's kept slot before the outgoing one joins the kept slots, so at 64 the slot coming back is never the one dropped.
The project tree's parent and child rows sent a PR pressed in their card or list to a browser page; they now open its card in the row's pane slot, as the task list does, and the browser modifier still opens GitHub.
The slot goes with its pane, so the record shown for a pane closes with it; the record restore test now finds the session again in search and still proves the same native session resumes in a fresh pane.
The open practice reshape removes that file; a comment-only edit here would only make the two pull requests conflict.
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: with-hide/hide-private#777
Summary
보기 칸이 탭마다 하나여서 세 가지가 어긋났습니다.
같은 탭의 다른 에이전트를 누르면 남의 미션 지도가 그대로 보였습니다.
부모 줄이나 기록 카드에서 누른 자식 PR은 일하는 자식의 탭으로 화면을 옮겼습니다.
이제 칸은 pane마다 하나이고, 카드는 누른 자리에 열립니다(운영자 결정 2026-11-09).
←로 돌아감pane이 닫히면 그 칸도 지우고(보던 기록이면 ⌘K에서 그 세션을 찾아 다시 엶), 남겨 두는 칸은 64개까지입니다.
위: 고치기 전, 부모 줄에서 #34를 누르면 자식의 탭(초록 테두리 pane)으로 넘어감. 아래: 고친 뒤, 부모 pane 그대로 그 칸에 #34.
Review
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)을 한 이벤트에 실어 보냅니다.detail.slot_evicted를 남깁니다.hide file/diff/browser open으로 연 View 탭 동작은 바뀌지 않습니다.web/src/practice/worlds/mission.ts에서 겹칩니다(merge-order: 그대로 둠).Evidence
a_card_opened_for_one_pane_is_not_shown_on_another_pane_of_the_same_tab은 main(f859661)에서 실패, 여기서 통과.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에서 실패, 여기서 통과.session-record-restoree2e를 ⌘K로 기록을 다시 여는 흐름으로 바꿔 로컬 0898ecb 빌드에서 통과(같은 native 세션 복원 단언은 그대로).-D warnings, fmt; web typecheck, lint, unit 2773개, design contract 통과.HIDE_STATE_DIR)와 e2e fixture로 세 증상을 main과 이 브랜치에서 어두운·밝은 테마로 24장 찍어 비교.a_device_agents_row_opens_its_card_when_the_device_brings_the_pane_forward)로만 확인했습니다.추가 증거
증상 1, 고치기 전: Conductor 칸의 미션 지도가 같은 탭의 다른 pane에도 남음.

증상 1, 고친 뒤: 다른 pane을 누르면 그 pane의 칸(빈 칸).

증상 2, 고친 뒤, 밝은 테마.

증상 3, 고친 뒤: 기록 카드 안의 #34는 같은 칸에 쌓이고

←로 기록에 돌아감(고치기 전에는 증상 2처럼 자식 탭으로 넘어감).Verification record
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: passscripts/verify-web.sh web typecheck|lint|test: pass, 2773 passed, 3 skipped (0898ecb);node scripts/check-design-contract.mjs: passreturning_to_the_pane_seen_longest_ago_at_the_cap_keeps_both_slotsand twoprojectTreePrFamilytests fail on 5e191aa, pass on 0898ecbpnpm --dir web exec playwright test e2e/session-record-restore.spec.tson the 0898ecb build: 1 passed (a4a4969 and f2ff36d change only the spec, docs and one comment)