Repository navigation
fix: keep the view slot with the Agent tab it was opened in - #2262
Merged
Merged
Conversation
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#744 (짝이 되는 설계 문서 PR)
Summary
한 체크아웃에 Agent 탭이 여럿일 때, 탭 A에서 연 PR 카드가 탭 B로 가도 그대로 따라와 있었습니다.
이제 보기 슬롯의 카드(PR 카드, 세션 기록, 계획, 워크트리 표, 비용)는 연 순간 앞에 있던 Agent 탭의 것입니다.
탭을 옮기면 그 탭의 카드가 보이고, 없으면 체크아웃의 문서/탐색기만 보입니다. 돌아오면 카드와 ← 기록이 그대로입니다.
위가 이전, 아래가 이후입니다. 둘 다
second탭이 앞에 있고, 이전에는 Tab 1에서 연 PR #31 카드가 오른쪽에 남아 있습니다.Review
hide-core/src/runtime/detail.rs-sync_detail_home이 모든 이벤트 끝(terminal.rs)과 기기 세션 도착(session.rs)에서 돕니다.hide-core/src/node_migration.rs- 핵심 이동이 새 필드의 기기/탭 id를 옮기도록 키 표에 5줄을 더했습니다. 빠지면 이동이 거부됩니다.hide-core/src/persistence.rs,runtime/events.rs- 새 필드(detail_home,detail_tabs)는 코어 전용이고 와이어에는 나가지 않으며, 셸의 전체 상태 저장이 지우지 못합니다.Evidence
hide-core전체 4149개 테스트 통과, clippy와 fmt 깨끗, 웹 typecheck와 lint(e2e 크기 예산 포함) 통과.work-prs.spec.ts)가 카드 열기, 두 번째 탭으로 이동(카드와 슬롯 버튼 없음), 돌아오기(카드 있음)를 확인합니다.scripts/release_state/scenario.py에 새 필드를 넣는 단계는 더하지 않았습니다.추가 증거
Tab 1에서는 카드가 그대로 있습니다.
Verification record
5c34fa4c9, 코드 리뷰 subagent 1회: Fix now 6건(기기 탭 슬롯 삭제, 같은 이벤트의 열기와 탭 이동, 기기 세션 도착 시 동기화, 이벤트당 비용, 코어 이동 키, B22 문장)을 모두 반영했습니다.