Skip to content

Conversation

@yurim830
Copy link
Collaborator

@yurim830 yurim830 commented Jul 25, 2025

🐿️ Pull Requests

🪵 작업 브랜치

🥔 작업 내용

  • 항목 선택 버튼 컴포넌트 제작 (SpotUploadOptionButton)
  • 식당 feature, 카페 feature, 메뉴 추천, 가성비 페이지 구현
  • ACButton(GlassConfig) 에서 Button Alignment 조정이 안 되는 문제 해결

🚨 참고 사항

  • 버튼을 글래스모피즘으로 했을 때 updateGlassButtonState가 제대로 안 되는 문제가 있어서, 일반 색상으로 구현했습니다.
    (배경이 검정색이라서 크게 문제되지 않으며, 디자이너와도 상의 완료했습니다!)
  • 식당/카페인지에 따른 페이지 분기처리는 아직 안 됐어요
  • 사진 업로드 페이지는 아직 구현하지 않았어요

📸 스크린샷

ScreenRecording_07-26-2025.02-34-41_1.mov

💥 To be sure

  • 모든 뷰가 잘 실행되는지 다시 한 번 체크해주세요 !

🌰 Resolve issue

@yurim830 yurim830 requested a review from cirtuare July 25, 2025 14:21
@yurim830 yurim830 self-assigned this Jul 25, 2025
@yurim830 yurim830 added 🌀 feature 새로운 기능 개발 🥑 유림 유림 labels Jul 25, 2025
@yurim830 yurim830 added this to the Sprint - 4 milestone Jul 25, 2025
Copy link
Contributor

@cirtuare cirtuare left a comment

Choose a reason for hiding this comment

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

💗 역시 베이스 파일 잘 만들어두니까 깔꼼하네용 최고!!!
그냥 추가적으로 제안 드려보자면... 개인적으로 버튼 스택뷰 + 버튼 제목 enum을 만들어서 쓰면 좀 더 재사용이 가능하지 않을까 생각해봤습니당

Comment on lines +28 to +49
extension SpotUploadType {

// MARK: - Restaurant

enum RestaurantOptionType: CaseIterable {

case korean, chinese, japanese, western, asian, fusion, koreanStreet, buffet, bar, others

var text: String {
switch self {
case .korean: return "한식"
case .chinese: return "중식"
case .japanese: return "일식"
case .western: return "양식"
case .asian: return "아시안"
case .fusion: return "퓨전"
case .koreanStreet: return "분식"
case .buffet: return "뷔페"
case .bar: return "술/bar"
case .others: return "기타"
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

🐿️
SpotUploadType 중 SpotFilterType과 겹치는 부분들은 따로 빼는 건 어떨지 제안드려봅니당

Copy link
Collaborator Author

@yurim830 yurim830 Jul 25, 2025

Choose a reason for hiding this comment

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

음... 혹시 CommonRestaurantOptionType 등으로 공통 case를 관리하자는 제안이실까요?
그렇게 될 경우 allCases 등을 사용하기 불편하다는 단점이 있을 것 같습니다...!
혹시 제가 잘못 이해했다면 코드 예시를 제시해주실 수 있을까요?

Comment on lines +82 to +83

// MARK: - @objc functions
Copy link
Contributor

Choose a reason for hiding this comment

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

🐿️
여기 줄바꿈 한 번만 더 부탁드립니당

@yurim830
Copy link
Collaborator Author

yurim830 commented Jul 25, 2025

@cirtuare

  • 버튼 스택뷰 만드는 메소드 구현했습니다! 좋은 아이디어 감사해요. 훨씬 깔끔해졌습니다!
  • 그런데 제안주신 방식대로 버튼 스택뷰를 만들 때 파라미터로 enum을 받아 자동으로 만들자니,
    VC에서 버튼에 대한 접근성이 떨어져서 불편함이 있었습니다.
    그래서 각 VC에서 버튼을 만들고, makeOptionButtonStack(_:)으로 스택뷰만 자동으로 생성하도록 구현했습니다!
  • SpotUploadSizeType 을 구현하여, 사이즈를 한 곳에서 관리할 수 있도록 했습니다

Merge branch 'develop' into feature/#230
@yurim830 yurim830 merged commit ab662bc into develop Jul 26, 2025
Copy link
Contributor

@cirtuare cirtuare left a comment

Choose a reason for hiding this comment

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

@yurim830
확인했습니다!! 깔끔하네요잉 ~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🌀 feature 새로운 기능 개발 🥑 유림 유림

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] 장소 업로드 - 항목 선택 버튼 컴포넌트화, 사진업로드 외 나머지 페이지 구현

3 participants