Skip to content

[Feature/#181] : 경기 일정 UI 수정#182

Merged
sohyun127 merged 3 commits intodevelopfrom
feature/match-ui-fix
Oct 14, 2025
Merged

[Feature/#181] : 경기 일정 UI 수정#182
sohyun127 merged 3 commits intodevelopfrom
feature/match-ui-fix

Conversation

@sohyun127
Copy link
Copy Markdown
Collaborator

@sohyun127 sohyun127 commented Oct 14, 2025

✅ 𝗖𝗵𝗲𝗰𝗸-𝗟𝗶𝘀𝘁

  • merge할 브랜치의 위치를 확인해 주세요(main❌/develop⭕)
  • 리뷰가 필요한 경우 리뷰어를 지정해 주세요
  • P1 단계의 리뷰는 필수로 반영합니다.
  • Approve된 PR은 assigner가 머지하고, 수정 요청이 온 경우 수정 후 다시 push를 합니다.

📌 𝗜𝘀𝘀𝘂𝗲𝘀

📎𝗪𝗼𝗿𝗸 𝗗𝗲𝘀𝗰𝗿𝗶𝗽𝘁𝗶𝗼𝗻

  • 경기 일정 UI 수정했습니다 (스코어 나중에 다시 보여줄 수도 있어서 visible만 없애뒀어요!)
  • 10월까지 안드로이드 15 (API 수준 35) 이상을 타겟팅 해야 한다고 해서, 일단 타깃 전환해뒀습니다.

📷 𝗦𝗰𝗿𝗲𝗲𝗻𝘀𝗵𝗼𝘁

image

💬 𝗧𝗼 𝗥𝗲𝘃𝗶𝗲𝘄𝗲𝗿𝘀

너무... 오랜만에 안드 하니까 다 까먹은....😢

Summary by CodeRabbit

  • 신기능
    • 팀 프로필 아이콘 추가 및 매핑 확장: AL, PSG, MKOI, BLG, TES, IG, FLY, VKS, 100T, CFO, TSW, G2, FNC 등 지원. 경기 카드에서 해당 팀 아바타가 정확히 표시됩니다.
  • 스타일
    • 경기 점수 영역 UI 개선: 숫자 점수 표시를 숨기고, 구분자를 “:”에서 “VS”로 변경해 가독성 향상.
  • 작업
    • SDK 타깃을 35로 상향하고 앱 버전을 1.4.1(코드 10401)로 업데이트.

@sohyun127 sohyun127 requested a review from chanubc October 14, 2025 11:30
@sohyun127 sohyun127 self-assigned this Oct 14, 2025
@sohyun127 sohyun127 added 🛠️ [CHORE] 버전 코드 수정, 패키지 구조 변경, 타입 및 변수명 변경 등의 작은 작업 💟 [UI] UI 작업 xml 파일 건들면 요거 🐱 소현 리나 labels Oct 14, 2025
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Oct 14, 2025

Walkthrough

새 팀 프로필 아이콘 3종(VectorDrawable)을 추가하고, 경기 카드에서 팀-아이콘 매핑을 확장했다. 경기 스코어 TextView 두 개를 GONE으로 변경하고 구분자 텍스트를 ":"에서 "VS"로 수정했다. 빌드 타겟과 컴파일 SDK를 35로 올리고 앱 버전/코드를 갱신했다.

Changes

Cohort / File(s) Change Summary
Vector Drawables 추가
core/common/src/main/res/drawable/ic_news_team_profile_al.xml, core/common/src/main/res/drawable/ic_news_team_profile_mkoi.xml, core/common/src/main/res/drawable/ic_news_team_profile_psg.xml
44dp 벡터 아이콘 3종 추가. 각 파일은 다중 path/clip-path를 포함한 팀 프로필 일러스트 정의.
팀 아이콘 매핑 확장
feature/news/src/main/java/com/teamwable/news/match/NewsMatchScoreViewHolder.kt
setTeamProfile에 BLG, AL, TES, IG, FLY, VKS, 100T, CFO, TSW, PSG, G2, MKOI, FNC 등의 매핑 케이스 추가.
레이아웃 텍스트/가시성 수정
feature/news/src/main/res/layout/item_news_match_score.xml
스코어 TextView 2개 visibility를 gone으로 변경. 구분자 텍스트를 ":"에서 "VS"로 변경하고 텍스트 스타일 조정.
빌드 설정/버전 업데이트
gradle/libs.versions.toml
compileSdk 34→35, targetSdk 34→35, appVersion 1.0.0→1.4.1, versionCode 1→10401로 갱신.

Sequence Diagram(s)

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

새 아이콘 깡충깡충, 팀들이 늘었네!
스코어는 숨어들고, VS가 반짝이네.
토끼는 귀 춤추며 빌드 번호 세어보니,
35로 점프! 버전도 업그레이드!
오늘도 뉴스 카드에 당근 이모지 한 스푼 🥕✨

Pre-merge checks and finishing touches

❌ Failed checks (2 warnings)
Check name Status Explanation Resolution
Out of Scope Changes Check ⚠️ Warning gradle/libs.versions.toml에서 compileSdk, targetSdk, appVersion 및 versionCode를 업데이트한 변경 사항은 linked issue #181의 UI 수정 및 해외 팀 추가 범위를 벗어난 별도 빌드/버전 관리 조치입니다. 빌드 및 버전 관리 변경은 이 PR과 분리된 별도 PR로 처리하거나 해당 변경이 이 PR 목표와 연관됨을 설명해 주세요.
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
✅ Passed checks (3 passed)
Check name Status Explanation
Title Check ✅ Passed 제목 “[Feature/#181] : 경기 일정 UI 수정”은 PR의 핵심 변경 사항인 경기 일정 UI 수정 작업을 명확히 요약하고 있어 대상 변경 내용을 한눈에 파악하기에 충분합니다.
Linked Issues Check ✅ Passed linked issue #181의 “스코어 숨기기” 작업은 xml 파일에서 뷰 visibility를 gone 처리한 것으로, “해외 팀 추가” 작업은 NewsMatchScoreViewHolder에 다양한 팀 매핑과 벡터 드로어블 리소스 추가로 모두 구현되어 있습니다.
Description Check ✅ Passed PR 설명은 레포지토리의 템플릿에 정의된 Check-List, Issues, Work Description, Screenshot, To Reviewers 섹션을 모두 포함하고 있어 요구된 구조와 내용을 충족합니다.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/match-ui-fix

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.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 24102ab and 0cc5a9f.

⛔ Files ignored due to path filters (10)
  • core/common/src/main/res/drawable/ic_news_team_profile_100t.png is excluded by !**/*.png
  • core/common/src/main/res/drawable/ic_news_team_profile_blg.png is excluded by !**/*.png
  • core/common/src/main/res/drawable/ic_news_team_profile_cfo.png is excluded by !**/*.png
  • core/common/src/main/res/drawable/ic_news_team_profile_fly.png is excluded by !**/*.png
  • core/common/src/main/res/drawable/ic_news_team_profile_fnc.png is excluded by !**/*.png
  • core/common/src/main/res/drawable/ic_news_team_profile_g2.png is excluded by !**/*.png
  • core/common/src/main/res/drawable/ic_news_team_profile_ig.png is excluded by !**/*.png
  • core/common/src/main/res/drawable/ic_news_team_profile_tes.png is excluded by !**/*.png
  • core/common/src/main/res/drawable/ic_news_team_profile_tsw.png is excluded by !**/*.png
  • core/common/src/main/res/drawable/ic_news_team_profile_vks.png is excluded by !**/*.png
📒 Files selected for processing (6)
  • core/common/src/main/res/drawable/ic_news_team_profile_al.xml (1 hunks)
  • core/common/src/main/res/drawable/ic_news_team_profile_mkoi.xml (1 hunks)
  • core/common/src/main/res/drawable/ic_news_team_profile_psg.xml (1 hunks)
  • feature/news/src/main/java/com/teamwable/news/match/NewsMatchScoreViewHolder.kt (1 hunks)
  • feature/news/src/main/res/layout/item_news_match_score.xml (3 hunks)
  • gradle/libs.versions.toml (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: PR Checker
🔇 Additional comments (6)
feature/news/src/main/res/layout/item_news_match_score.xml (2)

83-83: 스코어 숨김 처리가 올바르게 구현되었습니다.

android:visibility="gone"을 사용하여 스코어를 숨기면서도 레이아웃 제약조건은 유지되므로, 향후 스코어를 다시 표시해야 할 때 visibility만 변경하면 됩니다.

Also applies to: 108-108


93-95: VS 라벨 스타일 변경이 적절합니다.

":"에서 "VS"로 텍스트를 변경하고 Head0에서 Head1로, gray에서 black으로 스타일을 변경하여 시각적으로 더 명확한 구분자를 제공합니다.

core/common/src/main/res/drawable/ic_news_team_profile_psg.xml (1)

1-64: PSG 팀 프로필 아이콘이 올바르게 추가되었습니다.

벡터 드로어블이 적절한 크기(44dp x 44dp)로 정의되었고, NewsMatchScoreViewHolder.kt에서 정상적으로 참조됩니다.

core/common/src/main/res/drawable/ic_news_team_profile_mkoi.xml (1)

1-19: MKOI 팀 프로필 아이콘이 올바르게 추가되었습니다.

벡터 드로어블이 일관된 크기(44dp x 44dp)로 정의되었고, NewsMatchScoreViewHolder.kt에서 정상적으로 참조됩니다.

core/common/src/main/res/drawable/ic_news_team_profile_al.xml (1)

1-34: AL 팀 프로필 아이콘이 올바르게 추가되었습니다.

벡터 드로어블이 일관된 크기(44dp x 44dp)로 정의되었고, NewsMatchScoreViewHolder.kt에서 정상적으로 참조됩니다.

gradle/libs.versions.toml (1)

2-6: Android 15(API 35) 주요 변경사항 검증
SDK 레벨을 35로 올린 후, 다음 항목을 앱 전반에서 직접 테스트하고 호환성을 확인하세요:

  • Edge-to-edge(WindowInsets) 및 투명 상태/내비게이션 바 처리
  • Foreground-service: dataSync·mediaProcessing 6시간 타임아웃, BOOT_COMPLETED·SYSTEM_ALERT_WINDOW 제약
  • DND 정책 접근 방식(AutomaticZenRule) 변경
  • Audio focus 요청: 최상위 앱 또는 포그라운드 서비스 조건
  • String.format() 유효성 강화
  • Kotlin List.removeFirst()/removeLast() 대신 removeAt() 또는 API 레벨 가드
  • 제한된 Non-SDK API 및 호환성 플래그(ENFORCE_EDGE_TO_EDGE 등)
  • PendingIntent 백그라운드 액티비티 런칭 기본 차단
  • 로케일 글꼴(metrics/line-height) 변경

위 항목별 코드·테스트를 업데이트하고 주요 호환성 이슈를 검증하세요.

Comment on lines +63 to +75
"BLG" -> com.teamwable.common.R.drawable.ic_news_team_profile_blg
"AL" -> com.teamwable.common.R.drawable.ic_news_team_profile_al
"TES" -> com.teamwable.common.R.drawable.ic_news_team_profile_tes
"IG" -> com.teamwable.common.R.drawable.ic_news_team_profile_ig
"FLY" -> com.teamwable.common.R.drawable.ic_news_team_profile_fly
"VKS" -> com.teamwable.common.R.drawable.ic_news_team_profile_vks
"100T" -> com.teamwable.common.R.drawable.ic_news_team_profile_100t
"CFO" -> com.teamwable.common.R.drawable.ic_news_team_profile_cfo
"TSW" -> com.teamwable.common.R.drawable.ic_news_team_profile_tsw
"PSG" -> com.teamwable.common.R.drawable.ic_news_team_profile_psg
"G2" -> com.teamwable.common.R.drawable.ic_news_team_profile_g2
"MKOI" -> com.teamwable.common.R.drawable.ic_news_team_profile_mkoi
"FNC" -> com.teamwable.common.R.drawable.ic_news_team_profile_fnc
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

해외 팀 매핑이 올바르게 추가되었습니다.

13개의 새로운 팀 매핑이 추가되어 PR 목표를 달성했습니다. 모든 참조된 드로어블 리소스가 존재하는지 확인하세요.

다음 스크립트로 모든 참조된 드로어블이 존재하는지 확인하세요:


🏁 Script executed:

#!/bin/bash
# 설명: NewsMatchScoreViewHolder에서 참조된 모든 팀 프로필 드로어블이 존재하는지 확인

echo "=== 새로 추가된 팀 드로어블 확인 ==="
for team in blg al tes ig fly vks 100t cfo tsw psg g2 mkoi fnc; do
  file="core/common/src/main/res/drawable/ic_news_team_profile_${team}.xml"
  if [ -f "$file" ]; then
    echo "$team: $file 존재"
  else
    echo "$team: $file 없음"
  fi
done

echo ""
echo "=== 기존 팀 드로어블 확인 ==="
for team in t1 gen bro drx dk kt bfx ns dnf hle; do
  file="core/common/src/main/res/drawable/ic_news_team_profile_${team}.xml"
  if [ -f "$file" ]; then
    echo "$team: $file 존재"
  else
    echo "$team: $file 없음"
  fi
done

Length of output: 1715


누락된 드로어블 리소스 추가 필요
다음 팀 프로필 리소스가 core/common/src/main/res/drawable에 없습니다:
• 새로 추가된 팀: blg, tes, ig, fly, vks, 100t, cfo, tsw, g2, fnc
• 기존 팀: bfx
해당 XML 파일을 추가하거나 매핑을 수정하세요.

🤖 Prompt for AI Agents
In
feature/news/src/main/java/com/teamwable/news/match/NewsMatchScoreViewHolder.kt
around lines 63–75, the switch/map references drawable IDs that do not exist in
core/common/src/main/res/drawable (new teams: blg, tes, ig, fly, vks, 100t, cfo,
tsw, g2, fnc and existing team bfx). Add the missing drawable XML or PNG files
to core/common/src/main/res/drawable using the exact resource names referenced
(ic_news_team_profile_blg, ic_news_team_profile_tes, ic_news_team_profile_ig,
ic_news_team_profile_fly, ic_news_team_profile_vks, ic_news_team_profile_100t,
ic_news_team_profile_cfo, ic_news_team_profile_tsw, ic_news_team_profile_g2,
ic_news_team_profile_fnc, and ic_news_team_profile_bfx) so
com.teamwable.common.R.drawable resolves, or alternatively update the mapping in
this file to point to existing drawable resource names if different naming was
intended.

Copy link
Copy Markdown
Member

@chanubc chanubc left a comment

Choose a reason for hiding this comment

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

이집 잘하네요! 맛집 인정ㅎㅅㅎ

@sohyun127 sohyun127 merged commit 0c089a8 into develop Oct 14, 2025
2 checks passed
@sohyun127 sohyun127 deleted the feature/match-ui-fix branch October 14, 2025 14:34
@coderabbitai coderabbitai bot mentioned this pull request Oct 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐱 소현 리나 🛠️ [CHORE] 버전 코드 수정, 패키지 구조 변경, 타입 및 변수명 변경 등의 작은 작업 💟 [UI] UI 작업 xml 파일 건들면 요거

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[UI] : 경기 일정 UI 수정

2 participants