feat: 시설 후기 화면 2종을 게시글 디자인 언어로 통일 — 쇼츠형 상세·작성 문법 정리#192
Merged
Conversation
- 후기 상세를 게시글과 동일한 쇼츠형 풀스크린으로 재작성: 미디어(사진≤5+ 영상≤2)를 PageView 좌우 스와이프 + 상단 1/N 인디케이터로. 영상 페이지는 현재 페이지일 때만 자동재생·루프, 탭 재생/일시정지, 최하단 진행바(게시글 문법). 미디어 없는 후기는 카드 블롭 배경 + 본문 센터(탭 확장) 풀스크린. - 하단 오버레이(카드 미러 타이포): 업체 혜택 배지(표시광고법 — 흰 필름 알약으로 항상 노출)·방문 차수·내 후기·날짜, 별점(제목 자리), 본문 탭 확장(블러 패널 동반 확장), 닉네임·댓글. 블러는 현재 페이지 사본 σ8+마스크 (MediaOverlayPanel 재사용). 축소 전환은 기존 CollapseRoute 유지 — 미디어가 타일(1:1)로 줄고 패널·인디케이터·진행바는 페이드아웃. - 댓글 바텀시트 공용화: showCommentsSheet + CommentsSheetShell 추출(키보드 배리어 off·포커스 중 드래그 잠금·리스트 탭 키보드 닫기) — 게시글 상세를 셸로 전환하고 후기 상세(열람 게스트 허용·입력바는 로그인 시)도 동일 적용. 후기의 인라인 댓글·하단 입력바 제거. - 후기 작성은 기능·서버 계약 그대로(별점·본문·사진 자유비율 다중·영상 uploadVideo·대가성 체크 필수 유지) 시각 문법만 게시글 작성과 통일: 앱바 등록 액션, 섹션 라벨·간격, 첨부 바텀시트(사진/동영상), 선택 카드형 대가성 체크, 별점 Pressable. - 공용화: MediaOverlayPanel·BlobHeroContent(post_media_hero), 본문 탭 확장 ExpandableOverlayText(post_card) 공개로 후기 상세가 재사용. 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.
배경
게시글 상세/작성의 통일된 디자인 언어(쇼츠형 풀스크린, σ8 사본+마스크 블러, 댓글 바텀시트, 본문 탭 확장)를 시설(업체) 후기 화면 2종에 확장.
A. 후기 상세 (
lib/screen/review_detail_screen.dart재작성)미디어 페이징
BlobHeroContent재사용, 본문 탭 확장 포함).하단 오버레이 (카드 미러 타이포)
ExpandableOverlayText공유 — 위 요소가 밀려 올라가고 블러 패널이 함께 위로 확장, 초과분 내부 스크롤) → 닉네임(탭 → 프로필) · 댓글 아이콘.MediaOverlayPanel(현재 페이지의 사진/영상 사본 σ8 + 세로 마스크 + 스크림). 블롭 후기는 카드처럼 블러 없이 스크림만.전환·액션
B. 댓글 바텀시트 공용화 (
lib/widgets/comments_sheet.dart신규)showCommentsSheet(키보드 배리어 off/복구) +CommentsSheetShell(그랩바·카운트 헤더·드래그 확장 리스트·입력바·포커스 중 시트 드래그 잠금·리스트 탭 키보드 닫기) 추출._CommentsSheet를 셸 기반으로 전환(동작 동일), 후기 상세도 동일 셸 사용 — 후기 댓글(내 댓글 길게 눌러 삭제, 업체 얼굴 프로필)은 리스트 빌더로 주입, 열람은 게스트 허용·입력바는 로그인 시에만. 기존 인라인 댓글 섹션·하단 입력바 제거.C. 후기 작성 (
lib/screen/facility_review_screen.dart)add_facility_review인자(별점·본문·사진≤5·영상≤2·has_incentive), 사진 자유 비율 다중(크롭 없음), 영상 uploadVideo 흐름, 카페 승격, own_facility 안내 모두 유지.공용화 정리
MediaOverlayPanel·BlobHeroContent(post_media_hero),ExpandableOverlayText(post_card)를 공개로 전환해 후기 상세가 재사용 — 블러·본문 확장 구현이 단일 출처.검증
flutter analyze새 이슈 0,dart format적용flutter build ios --no-codesign --debug성공판단 사항
VideoPlayer사본, 초기화 전엔 포스터.ValueNotifier리비전으로 셸에 전달(게시글은 기존PostDetailState그대로).🤖 Generated with Claude Code