-
Notifications
You must be signed in to change notification settings - Fork 0
[Feat] #184 - 이력서 수정 API 추가 #205
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
Conversation
-> MyCareerManageView
career / activity
career / activity
-> ManageView
Yeonnies
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
잘봤습니다!
저번주부터 보던건데, 이제서야 마무리해서 올리네요..ㅜ
| func toActivityListEntity() -> ActivityListEntity { | ||
| return ActivityListEntity( | ||
| list: activityDetailResponses.map{ $0.toResumeEntityData() } | ||
| list: activityDetailResponses.map{ $0.toActivityEntity() } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
p3
여기서 같은 엔티티를 써주고 있었군용!
| let formats = [ | ||
| "yyyy.MM.dd", | ||
|
|
||
| // TODO: - 서버에서 연,월,일 주면 삭제 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
p3
이건 왜 만드신건지 궁금합니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
기존에 서버에서 연,월만 주고 있어서 그 값을 대응하기 위해서 썼습니다. 서버 응답이 연,월,일 값으로 변경되었기 때문에 해당 부분 삭제했습니다
| action() | ||
| } label: { | ||
| Text("추가하기") | ||
| Text(buttonText) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
p3
혹시 추가하기 버튼 말고 다른 곳에서도 사용되나여?
추가하기에만 사용된다면 걍 추가하기 박아도 되지 않을까여..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
넹 수정뷰에서 수정하기 버튼으로도 써야해요ㅠㅠ
| case myExtracurricularActivityEditView | ||
| case myExtracurricularActivityWriteView | ||
| case myCareerManageView | ||
| case myCareerWriteView(mode: CareerWriteMode) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
p3
이 모드는 먼가요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
경력사항 추가, 수정 뷰를 재사용하기 때문에 mode로 구분하여 edit 모드일 때는 기존 값을 불러와서 수정하도록 하였습니다
OneTen19
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
확인했습니다! 충돌만 해결하고 머지해주세요!
🌴 작업한 브랜치
feat/#184✅ 작업한 내용
❗️PR Point
앱잼 때 모델을 하나로 같이 써가지고 이번에 수정 API 붙이면서 model과 entity를 분리를 했고여,
경력사항 추가와 수정은 하나의 뷰에서 add인지 edit인지에 따라 기존 값을 넣어주는 것으로 처리했습니다.
📸 스크린샷
📟 관련 이슈