Repository navigation
feat: let a practice chapter step back, exit from any step, end on a summary card and play at a followable pace - #1694
Merged
Conversation
…it-chapter-end # Conflicts: # docs/UI_BEHAVIOR.md # web/src/practice/PracticeCoach.tsx
…it-chapter-end # Conflicts: # docs/UI_BEHAVIOR.md # web/e2e/practice.spec.ts # web/src/practice/PracticeCoach.tsx
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.
Summary
연습 창에서 길을 잃는 세 곳과, 대신 하기가 너무 빠른 문제를 고칩니다.
PACE1.5배)으로 늦췄습니다. 손 커서가 누를 곳을 먼저 가리키고, 대신 한 단계는 끝난 뒤 0.75초 머물러 결과를 보여 준 다음 넘어갑니다(그 사이 ⏎는 바로 넘김). 직접 키·클릭으로 한 단계와 '이어서'·'이전' 재생은 그대로 빠릅니다.Review
web/src/practice/PracticeCoach.tsx- '이전'이 보기 단계 위에서 세계가 그대로면 버블만 되돌리고, 아니면onRewind로 편을 다시 재생합니다(각 단계 시작 시 세계를 기억해 비교). 마지막 단계가 행동 단계여도 넘쳐서 깨지지 않고 완료 카드로 갑니다.web/src/practice/PracticeCoach.tsx속도 - 손·타이핑·메뉴의 모든 시간이pace를 곱하고, 재생 중에는 1배입니다. 결과를 보여 주는 대기는data-practice-settling으로 드러나 e2e가 시간 대신 그 신호를 기다립니다.web/src/gallery/PracticeScene.tsx- 갤러리도 편을 다시 시작할 때freshShell로 셸 상태를 비웁니다(전에는 확인 시트가 다음 재생에 남았음). 한국어 캡처용lang파라미터 추가.Evidence
practiceState에ended추가. web·desktop typecheck/lint/unit, design contract 통과.e2e/practice.spec.ts7개 전부 통과(모든 편을 Enter만으로, 안내 버튼만으로, 각 단계에서 다시 시작, 새 테스트 2개, 초대 2개). '이전'·'나가기'·완료 카드 버튼도 #1693의 안내 레이어 안에 있어 키보드가 pane에 남고, 완료 카드의 주 버튼이data-practice-go라 안내 버튼 테스트가 편 끝을 지나감. 갤러리에서 1편을 ⏎로 끝까지 진행하며 단계마다 손 표시와 대기(약 0.75초)를 기록해 확인.Verification record
main merge 7fa0f6a.
bash scripts/verify-web.sh(web 2164 passed, desktop 260 passed),node scripts/check-design-contract.mjsok,playwright test e2e/practice.spec.ts: 7 passed.