fix: 확장 모션 사방 확장·장문 자동 펼침·후기 블러 페이지 동기화#193
Merged
Merged
Conversation
- CollapsibleView 에 contentAlignment 도입: center 면 콘텐츠·카드 크로스페이드가 윈도 중심 기준으로 붙어 카드에서 네 변이 동시에 벌어지는 사방 확장(축소는 사방 수축). 기본값 topCenter 는 기존 상단 고정과 동일 — 상단 헤더가 카드와 미러되는 프로필·펫 상세·채팅방은 변화 없음. ExpandRoute(_OriginExpand, 프로필 편집 블룸)는 중심 기준으로 전환. - 게시글·후기 상세가 center 를 사용하고, 히어로의 카드 미러 배치를 상단 박스에서 **세로 중앙 박스**(게시글 3:4, 후기 1:1)로 옮겨 윈도 중심과 픽셀 미러가 유지되게 함(패널·블러 정렬도 동일 오프셋). - 장문 본문 자동 펼침: 게시글·후기 상세 _expanded 초기값 true — expanded 는 `_expanded && !_mirror` 라 확장 전환이 안착하는 순간 AnimatedSize 스프링으로 자연스럽게 열린다. 탭 토글·축소 시 자동 접힘 유지. - 후기 상세 블러 페이지 동기화: 블러 소스가 PageController 스크롤을 실시간 추종 — AnimatedBuilder 로 페이지 오프셋을 읽어 인접 두 페이지의 사본을 본체 PageView 와 같은 x 오프셋으로 translate 해 나란히 그림 (픽셀 동기 슬라이드). 영상 사본은 현재 페이지만 라이브, 이웃은 포스터. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
실기기 피드백 3건 반영.
1. 카드 → 상세 확장을 사방 확장으로
원인: 윈도 사각형(
Rect.lerp)은 네 변이 함께 움직이지만, 콘텐츠가 윈도 좌상단에 고정(OverflowBox/Transform.scale topLeft)돼 있어 "상단이 먼저 붙고 하단이 길어지는" 리빌처럼 보였음(카드가 거의 풀폭이라 scale≈1로 시작).CollapsibleView에contentAlignment도입 —Alignment.center면 콘텐츠와 카드 크로스페이드가 윈도 중심에 붙어, 카드 중심에서 네 변이 동시에 벌어지는 사방 확장(축소는 사방 수축, 드래그 중 손가락 추종 동일).PostMediaHero)·후기 상세의 카드 미러 배치를 상단 박스 → 세로 중앙 박스(3:4 / 1:1)로 이동. 오버레이 패널·블러 사본도 같은 오프셋이라 정렬 유지.다른 화면 영향
topCenter는 기존 topLeft 와 동일 동작(폭 일치로 가로 정렬 무의미) — 프로필·펫 상세·펫 프로필·채팅방은 변화 없음(이 화면들은 상단 헤더가 카드와 미러되는 설계라 상단 고정이 맞음).ExpandRoute(프로필 편집 블룸)는 미러 콘텐츠가 없어 중심 기준으로 전환 — 버튼 중심에서 피어나는 모양으로 개선.2. 장문 본문 자동 펼침
_expanded초기값을 true 로. 실제 표시값이_expanded && !_mirror라 확장 전환이 안착해 카드 미러가 풀리는 순간 AnimatedSize(SpringCurve.standard)로 자연스럽게 열리는 시퀀스가 자동 성립.3. 후기 상세 — 스와이프 중 블러 동기화
AnimatedBuilder(_pageCtrl)페이지 팔로워로 교체: 현재 페이지 오프셋(fraction)을 읽어 인접 두 페이지의 미디어 사본을 본체 PageView 와 동일한 x 오프셋((i - page) * w)으로 translate 해 나란히 그림 — 본체와 픽셀 동기 슬라이드.VideoPlayer, 이웃/미초기화는 포스터, 에러는 어두운 타일.검증
flutter analyze새 이슈 0,dart format적용flutter build ios --no-codesign --debug성공판단 사항
🤖 Generated with Claude Code