Skip to content

Refactor/#419 3차 스프린트 2차 디자인 QA 반영 (승준)#420

Merged
dev-domo merged 4 commits intodevelopfrom
refactor/#419-secondDesignQASeungjun
Mar 19, 2026
Merged

Refactor/#419 3차 스프린트 2차 디자인 QA 반영 (승준)#420
dev-domo merged 4 commits intodevelopfrom
refactor/#419-secondDesignQASeungjun

Conversation

@dev-domo
Copy link
Copy Markdown
Collaborator

🔗 연결된 이슈

📄 작업 내용

  • 공통퀘스트 하단 패딩 조정
  • 공통퀘스트 작성 화면 내비게이션바 좌우 패딩 조정
  • 나의 여정 아이콘 재세팅

💻 주요 코드 설명

CommonQuestViewModel

  • 공통퀘스트 날짜별 조회 화면에서 마지막 셀은 하단에 패딩 값을 부여해주는 상황이었습니다.
  • 맨 마지막 셀임을 파악하기 위해 아래와 같이 뷰모델에 isLast 함수를 추가해주었습니다.
var answersCount: Int {
    commonQuest?.answerCount ?? 0
}
    
func isLast(at index: Int) -> Bool {
    // 실제 공통퀘스트 개수와 answers 배열에 담아놓은 공통퀘스트 수가 같고
    // 파라미터로 들어온 index가 answers 마지막 index 값과 같을 때
    answersCount == answers.count && index == answers.count - 1
}

@dev-domo dev-domo requested review from juri123123 and y-eonee March 17, 2026 10:38
@dev-domo dev-domo self-assigned this Mar 17, 2026
@dev-domo dev-domo added 승준🤠 refactor 기존 코드 리팩토링 labels Mar 17, 2026
@dev-domo dev-domo linked an issue Mar 17, 2026 that may be closed by this pull request
1 task
Copy link
Copy Markdown
Member

@y-eonee y-eonee left a comment

Choose a reason for hiding this comment

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

고생하셨습니당

@dev-domo dev-domo merged commit e65d3cf into develop Mar 19, 2026
1 check passed
@dev-domo dev-domo deleted the refactor/#419-secondDesignQASeungjun branch March 19, 2026 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor 기존 코드 리팩토링 승준🤠

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Refactor] 3차 스프린트 2차 디자인 QA 반영 (승준)

3 participants