DeveloperAcademy-POSTECH / DeveloperAcademy-POSTECH/MacC-Team-Trying-iOS

✨후기 수정 구현, 홈 화면에서 지도 화면 연결

Open
#255 0 comments 0 reactions 1 assignee Claimed by @LentoAssai View on GitHub
🎹Charlie
Dominant language
Swift
Stars
5
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## 💬 Description
- 등록한 후기를 수정할 수 있도록 기능을 추가합니다.
- 홈 화면에서 날짜를 클릭하였을 때 해당 별자리를 지도에서 보여줄 수 있도록 합니다.

### 후기 수정
기존에는 후기 관련해서 등록 기능만 가능하여 `CourseCoordinator`의 마지막 단계에서 후기를 등록할 수 있도록 하였습니다.
`CourseCoordinator`는 `HomeCoordinator`에서 코스 등록을 시작하면 실행되는 Coordinator이고, 그 마지막 flow에서 후기를 등록하였습니다.

후기를 수정하기 위해서는 2번째 탭인 로그 탭에서 수정 버튼을 눌러야 하므로 수정을 위해 `CourseCoordinator`를 실행하는 것은 어색해보입니다.
`CourseCoordinator`에는
1. 타이틀 입력
2. 장소 추가
3. 타입에 따라 후기 등록
4. complete 화면 보여주기
의 테스크들이 있기 때문입니다.

이 중에 3. 후기 등록 테스크만 필요하므로 Coordinator를 분리하여 후기를 담당하는 Coordinator를 따로 만들어야겠다고 생각하였습니다.


### 홈 화면 -> 지도 화면
후기 수정과 비슷한 맥락으로 기존에는 로그 탭에서만 LogMapViewController를 사용하였습니다.
이제는 홈 탭에서도 해당 ViewController를 사용하게 되어서 `LogMapCoordinator`를 따로 분리하여 각각의 탭을 담당하는 Coordinator에서 하위 코디네이터로 실행할 수 있도록 할 예정입니다.


## 📝 Todo
- [x] RegisterReviewCoordiantor 생성 (생성, 수정 type 분리하기)
- [x] CourseCoordinator에서 후기 등록 플로우 제거, ReviewCoordinator 연결
- [ ] TicketView에서 ReviewCoordinator의 수정 type 실행 (present full screen)
- [x] LogMapCoordinator 생성
- [ ] 후기가 없으면 LogMapViewController에서 별자리 후기 버튼 보여주지 않기

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.