Skip to content

Conversation

@hsw1920
Copy link
Collaborator

@hsw1920 hsw1920 commented Nov 14, 2024

🤔 배경

  • EditPhotoRoomFeature에서 SharePhotoRoomFeature로 화면전환 시 담아 보낼 데이터 구조가 필요했습니다.
  • 해당 데이터는 현재 ImageData 하나는 확정이며 추가될 수 있기 때문에 SharePhotoComponent로 모아서 전달할 수 있도록 DomainInterfaceEntity를 두었습니다.
  • FrameImageGeneratorframeView 인스턴스가 존재하지 않는 문제가 있었습니다.

📃 작업 내역

  • SharePhotoComponent 구현
  • SharePhotoViewModelimageDataSharePhotoViewController가 참조하여 자신의 photoView에 표현하는 기능 구현
  • FrameImageGenerator 버그 픽스

✅ 리뷰 노트

  • 이벤트 스트림을 처리할 필요가 아직 없기 때문에 리액티브는 구현하지 않았습니다.
  • FrameImageGenerator 버그 픽스의 경우 아래 트러블 슈팅을 작성하였습니다.

🎨 스크린샷

SharePhotoFeature 공유 시트 파일 생성
image image image

🚀 테스트 방법

SharePhotoFeatureDemo를 실행해주세요.

- didSet에서 frameView 생성이 안되는 문제를 해결
- EditPhotoRoomFeature에서 SharePhotoRoomFeature로 화면전환될 때 필요한 의존성을 구현하였습니다.
- 현재는 image를 Data 타입으로 담아 보내며, 필요한 의존성이 추가될 수 있습니다.
- SharePhotoViewModel은 SharePhotoViewController에 필요한 모델을 가집니다.
- 현재 imageData의 경우 리액티브가 필요 없으므로 viewModel에서 참조하여 자신의 PhotoImageView에 넣어줍니다.
FrameImageGenerator로부터 이미지를 생성하고, 해당 이미지를 Data 타입으로 변환하여 SharePhotoComponent에 담아 의존성을 주입하는 과정을 표현합니다.
@hsw1920 hsw1920 linked an issue Nov 14, 2024 that may be closed by this pull request
2 tasks
@hsw1920 hsw1920 added ✨ feat 새로운 기능 추가 🔧 fix 버그 수정 labels Nov 14, 2024
@hsw1920 hsw1920 self-assigned this Nov 14, 2024
Copy link
Member

@Kiyoung-Kim-57 Kiyoung-Kim-57 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

엘쥐티엠 👁️o👁️

- Data 타입을 유추하기 쉽도록 프로퍼티명을 변경하였습니다.
Copy link
Member

@youn9k youn9k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다!!

- DataLayer와 DomainLayer가 소통하는 Entity와 Presentation과 Domain이 소통하기위한 Component를 분리하기 위한 디렉터리 네이밍을 변경
@hsw1920 hsw1920 merged commit a732847 into develop Nov 14, 2024
1 check passed
@youn9k youn9k deleted the feat/#33-share-photo-bind-image branch November 23, 2024 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ feat 새로운 기능 추가 🔧 fix 버그 수정

Projects

None yet

Development

Successfully merging this pull request may close these issues.

결과물 화면에 이미지가 보인다

4 participants