Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Refactor] #197 - 미션 리스트 디테일 UI 로직 변경 #202

Merged
merged 13 commits into from
Jan 7, 2024

Conversation

jeongdung-eo
Copy link
Member

@jeongdung-eo jeongdung-eo commented Nov 19, 2023

🫧 작업한 내용

  • 미션 리스트 디테일 UI 로직 변경했습니다.
  • 스크롤 영역을 수정했습니다.

🔫 PR Point

  • cancel버튼과 edit 버튼을 collectionview의 헤더로 구현했더니 se에서 같이 스크롤이 되는 문제가 발생했습니다.
    리팩토링하면서 cancel버튼과 edit 버튼은 따로 headerTopview로 구현하여 스크롤 영역을 수정했습니다.
    또한, 레이아웃의 속성을 UICollectionLayoutListConfiguration(appearance: .plain)으로 주었더니 footer는 스크롤이 되지 않아서 속성을 UICollectionLayoutListConfiguration(appearance: .grouped) 으로 변경했습니다.
  • 누락된 앰플리튜드 추가했습니다 94bb683

📸 스크린샷

기존 화면

Simulator.Screen.Recording.-.iPhone.SE.3rd.generation.-.2023-11-19.at.01.10.15.mp4

수정된 화면

Simulator.Screen.Recording.-.iPhone.SE.3rd.generation.-.2023-11-19.at.03.48.32.mp4

📮 관련 이슈

guard let data = response.data else { return }
self.nottodoInfoList[1] = data.title
self.nottodoInfoList[2] = data.situation
self.nottodoInfoList[3] = data.actions.first!.name
Copy link
Member

Choose a reason for hiding this comment

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

호옥시나 데이터가 빈걸로 넘어오면 크래시가 발생할 수도 있을 것 같아서 안전하게 언래핑 해주면 좋을 것 같아욥~

Copy link
Member Author

Choose a reason for hiding this comment

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

넹 :)

Copy link
Member Author

Choose a reason for hiding this comment

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

@jeongdung-eo jeongdung-eo merged commit d6f50b5 into develop Jan 7, 2024
1 check passed
@jeongdung-eo jeongdung-eo deleted the feat/#197 branch January 7, 2024 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Refactor] 미션 리스트 디테일 UI 로직 변경
2 participants