feat(space): 종료 결과 모달과 current session thought 복원 추가

This commit is contained in:
2026-03-16 20:08:50 +09:00
parent 6194c19f3b
commit 1d2ce85cfd
10 changed files with 401 additions and 79 deletions

View File

@@ -14,10 +14,10 @@ Last Updated: 2026-03-16
## 현재 우선순위
1. `/space` current-session-only cleanup
2. `Core Loop Alignment` browser audit
3. `Weekly Review` carry-forward 고도화
4. `Premium Ambience` polish
1. `/space` completion result modal browser QA
2. `/space` current-session-only cleanup
3. `Core Loop Alignment` browser audit
4. `Weekly Review` carry-forward 고도화
## 최근 세션 상태
@@ -87,6 +87,14 @@ Last Updated: 2026-03-16
- `00:00`이 되면 `완료하고 종료하기 / 10분 더` 모달이 자동으로 열린다.
- `10분 더`는 server `extend-phase` 계약을 타고 현재 focus phase를 10분 연장한 뒤 다시 running으로 이어진다.
- 그래서 사용자는 recovery 상태에서도 `계속 / 다시 잡기 / 마무리` 중 하나를 바로 고를 수 있다.
- `/space` 종료 결과 모달이 추가됐다.
- `완료하고 종료하기``여기서 마무리하기`는 바로 `/app`으로 가지 않고 중앙 결과 모달을 먼저 띄운다.
- 결과 모달에는 `집중한 시간`, `완료한 목표`, `이번 세션 thought capsule`이 들어간다.
- 닫기 전까지 `/space`는 결과 모달 상태로 유지되고, `확인하고 돌아가기`에서만 `/app`으로 이동한다.
- thought capsule은 서버가 현재 세션에 내부 귀속한다.
- 클라이언트는 `focusSessionId`를 보내지 않는다.
- `/space`는 current session이 살아 있으면 server `current thoughts` API로 same-session thought 목록을 복원한다.
- 그래서 브라우저 재시작 후에도 같은 세션이라면 결과 모달에 같은 thought들이 포함된다.
- `/space` 목표 카드를 collapsed / expanded 구조로 재설계했다.
- idle에서는 goal 1줄만 남는 얇은 glass rail로 줄였다.
- microStep과 `이번 목표 완료`는 expanded 상태에서만 드러난다.