Repository navigation
fix(tui): 고정 상태 레일이 보이면 시작 deck의 status 열을 그리지 않음 - #353
Merged
Merged
Conversation
- 고정 레일(in-process, OpenTUI, tmux pane)이 화면에 있으면 deck이 같은 RUN/VERIFY/TODO/SESSION을 옆에 한 번 더 그리던 것을 막는다. hero를 전체 폭으로 그린다. - 선택은 deck이 viewport 안에 있을 때만 다시 읽는다. scrollback으로 넘어간 뒤에는 모양을 유지해 pin 전환이 transcript를 다시 내보내지 않는다. - DESIGN, CHANGELOG 갱신.
Owner
Author
|
OMK Community Thanks for opening this pull request. Mention Automated response. No code changes or merges are performed. |
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.
요약
고정 상태 레일이 화면에 있으면, 시작 deck이 자기 status 열(RUN, VERIFY, CONTEXT, RESOURCES, TODO, SESSION)을 그리지 않습니다. 지금 main에서는 같은 상태가 deck 열과 고정 레일에 나란히 두 번 그려집니다.
ControlPanelMotionOptions.isPinnedRailVisible을 추가했습니다.interactive-mode.ts는 tmux pane이 켜져 있거나 in-process 레일(OpenTUI 포함)이 보일 때 true를 넘깁니다.renderControlPanelLayout(..., deckRail)deckRail이 false이면 compact와 expanded 모두 hero를 전체 폭으로 그립니다.DESIGN.md의 scrollback 규칙).DESIGN.md(startup deck column),CHANGELOG.md.원래 체크아웃의 미커밋 작업에서 이 부분만 골라 main 기준으로 옮겼습니다.
검증 (로컬, 커밋 4049c80)
control-panel-pinned-rail-dedupe.test.ts(3개)TODO/SESSION/RESOURCES열이 없고 156열 안에 들어가는지npx vitest --run51개 파일, 587개 통과ControlPanelComponent,renderControlPanelLayout,InteractiveMode를 쓰는 파일과 control-panel*, control-plane*, layout-class*, rnode*, status-, keybindings, tui-*npx tsgo --noEmit,npx biome check --error-on-warnings .,check:module-size,check:import-cycles,check:doc-links,check:feature-claimsgov,TODO,SESSION열과 OpenTUI 레일이 나란히 보입니다.Ctrl+Q로 레일을 풀고 다시 고정해도 deck 열은 생기지 않았습니다. 이 환경은 시작 리소스 목록이 길어서 deck 윗부분이 이미 scrollback으로 넘어가 있고, 그래서 설계대로 모양을 유지한 것입니다. viewport 안에서 열이 다시 생기는 경우는 단위 테스트로만 확인했습니다.