Skip to content

feat: 어법 전체 화면 연결과 연습 흐름 회귀 검증 (#161) - #176

Merged
Yelihi merged 51 commits into
feature/160-grammar-historyfrom
feature/161-grammar-routes
Oct 8, 2026
Merged

Yelihi merged 51 commits into
feature/160-grammar-historyfrom
feature/161-grammar-routes

Conversation

@Yelihi

@Yelihi Yelihi commented Oct 5, 2026 •

Copy link
Copy Markdown
Owner

홈에서 어법 노트를 만들고 분석·예문 검토를 거쳐 암기/시험·결과·기록까지 이동할 수 있도록 실제 라우트를 연결합니다. 선행 PR의 검증된 feature를 views에서 조합하고, 검색 목록으로 돌아가는 조건과 화면별 뒤로가기를 유지합니다.

  • 홈 어법 모드, workspace 사이드바, 목록·상세·수정·연습 선택·세션·결과 라우트
  • 문장 chunk는 그림자/블록 선택, 상세에서는 읽기만 제공하고 수정은 편집 화면에서 진행
  • 로딩·오류·없는 자료·미완성 시험 생성 재시도와 완료 전 결과 접근 방지
  • 암기 세션의 음성은 노트 수정과 무관하게 저장 당시 문장으로 생성; 시험 세션 음성 요청은 차단
  • 성공한 새 연습 요청 ID 초기화, 필터·페이지 복귀 유지, 최근 기록 갱신, 중첩 main 제거
  • 원문 공백/UTF-16 구간 보존, 4,000자 문장과 부분 회상 JSON 한도 정합성 보완

검증: 전체 Jest 150 suites / 647 tests, 전체 Storybook 87 files / 325 tests, TypeScript·변경 ESLint·제품 빌드 통과. 마지막 시험 theme 조정 후 해당 Storybook 4개 추가 통과. 브라우저에서 데스크톱 문장 블록 선택과 390px 모바일 상세·암기·새 문맥 시험, 저장 실패 시 입력 유지 확인.

SQL은 PGlite auth/pgTAP shim에서 검증했으며 실제 Supabase 환경·동시 부하 검증과 동일하지 않습니다. 원격 DB 마이그레이션과 유료 AI/TTS 호출은 하지 않았습니다. 운영 확인 시 기존 마이그레이션 뒤에 새 20261008090000_grammar_partial_answers.sql까지 적용해야 합니다. 음성 캐시는 메모리 10분/32개이며 영구 저장은 아닙니다.

연속 PR 병합 순서:
#166 → #167 → #168 → #169 → #170 → #171 → #172 → #173 → #174 → #175 → 이 PR

선행 PR을 먼저 병합한 후 다음 PR의 base를 main으로 변경해 주세요. 자동 병합은 하지 않습니다. 기능별 PR은 각각 #153–#160에 연결되어 있습니다.

상세 인수 기록: docs/design/echo/grammar-practice-20261005/implementation-20261006.md

Closes #161

코드 관례 검토 반영 (2026-10-06)

연습 시작 컴포넌트의 중복 타입 파일을 models/interface.ts로 합치고 화면 연결부의 변수명과 뒤로가기 책임에 대한 주석을 정리했습니다. 선행 PR 수정 전체를 연결했습니다.

반영 커밋: 0bdd763. 해당 PR 코드에서 TypeScript 검사와 어법 관련 Jest 236개를 통과했습니다. 통합 코드의 어법 Storybook 14 files / 35 tests도 통과했습니다. 최초 실행의 의존성 사전 번들링 재로드 후 다시 실행해 통과했으며 테스트 설정이나 기대값은 변경하지 않았습니다. 선행 수정 커밋을 부모로 연결해 연속 PR의 변경 범위를 유지했습니다. main 병합은 하지 않았습니다.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

Yelihi added 26 commits October 6, 2026 02:42
Normalize schema/error/mapper naming and preserve the preceding PR's reviewed changes.
Yelihi added 22 commits October 8, 2026 18:58
…ack-20261008

# Conflicts:
#	src/_tests/features/grammar-audio/requestGrammarAudio.test.ts
#	src/entities/grammar-session/models/schema.ts
#	src/features/grammar-audio/models/interface.ts
#	src/features/grammar-audio/services/actions/requestGrammarAudio.ts
#	src/features/grammar-audio/services/resolveGrammarAudioText.ts
#	src/features/grammar-audio/services/useGrammarAudio.ts
#	src/features/grammar-history/services/useGrammarHistory.ts
#	src/features/grammar-history/ui/GrammarHistory.tsx
#	src/features/grammar-history/ui/GrammarHistoryRows.tsx
#	src/features/grammar-practice/index.ts
#	src/features/grammar-practice/models/interface.ts
#	src/features/grammar-recall/ui/RecallQuestion.tsx
@Yelihi
Yelihi merged commit d8dd482 into feature/160-grammar-history Oct 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant