Skip to content

[Feat] 버스 혼잡도 정보 구하기#37

Merged
ParkSeongGeun merged 1 commit intodevfrom
feat/bus-congestion-35
Dec 17, 2025
Merged

[Feat] 버스 혼잡도 정보 구하기#37
ParkSeongGeun merged 1 commit intodevfrom
feat/bus-congestion-35

Conversation

@ParkSeongGeun
Copy link
Contributor

#35

개요: 버스 혼잡도 정보 구하기

  • BusArrivalResponse.swift
    • BusCongestion enum 추가
      • empty(여유): 0, 3 → Color("Comfort")
      • normal(보통): 4 → Color("Normal")
      • crowded(혼잡): 5, 6 → Color("Crowded")
    • BusArrivalItem에 congestion1 필드 추가 (API 응답에서 구할 수 있음)
  • HomeView.swift
    • 도착 메시지(몇분후) 옆에 혼잡도 텍스트 표시
    • arrivalInfo.congestion.rawValue로 텍스트, .color로 색상 적용

테스트

스크린샷, 2025-12-17 오후 12 56 49

- 버스 혼잡도 출력하도록 model 수정 진행
@ParkSeongGeun ParkSeongGeun self-assigned this Dec 17, 2025
@coderabbitai
Copy link

coderabbitai bot commented Dec 17, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/bus-congestion-35

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@ParkSeongGeun ParkSeongGeun merged commit a37b0a1 into dev Dec 17, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant