Skip to content

Conversation

@easyhooon
Copy link
Contributor

@easyhooon easyhooon commented Jan 16, 2026

🔗 관련 이슈

📙 작업 설명

  • compose-shadow 라이브러리 관련 코드 compose first party modifier api 사용 방식으로 전환
  • compose-shadow 라이브러리 의존성 제거

🧪 테스트 내역 (선택)

  • 주요 기능 정상 동작 확인
  • 브라우저/기기에서 동작 확인
  • 엣지 케이스 테스트 완료
  • 기존 기능 영향 없음

📸 스크린샷 또는 시연 영상 (선택)

기능 미리보기 기능 미리보기
기능 설명 기능 설명

💬 추가 설명 or 리뷰 포인트 (선택)

Summary by CodeRabbit

릴리스 노트

  • 의존성 업데이트

    • Compose BOM을 2025.08.00으로 업그레이드
    • androidx-foundation 라이브러리(버전 1.10.1) 추가
    • 불필요한 의존성 제거로 빌드 최적화
  • 리팩토링

    • UI 컴포넌트의 그림자 렌더링을 최신 API로 업데이트

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link

coderabbitai bot commented Jan 16, 2026

개요

더 이상 지원되지 않는 compose-shadow 라이브러리를 제거하고 Jetpack Compose 공식 Shadow API로 마이그레이션합니다. 의존성을 제거하고 MainBottomBar의 그림자 구현을 업데이트하며 Compose BOM을 버전 업그레이드합니다.

변경 사항

응집도 / 파일(들) 변경 요약
의존성 업데이트
gradle/libs.versions.toml
Compose BOM을 2025.07.00에서 2025.08.00으로 업그레이드, foundation 라이브러리 추가(1.10.1), compose-shadow 라이브러리 항목 제거
라이브러리 의존성 제거
feature/screens/build.gradle.kts
libs.compose.shadow 의존성 제거
Shadow API 마이그레이션
feature/screens/src/main/kotlin/com/ninecraft/booket/feature/screens/component/MainBottomBar.kt
기존 dropShadow 파라미터(color, offsetY, blur)에서 Shadow 객체 기반 API로 전환, Shadow 및 DpOffset 임포트 추가

예상 코드 리뷰 노력

🎯 2 (Simple) | ⏱️ ~15분

🐰 낡은 그림자 라이브러리를 치우고
공식 Compose API를 들이니
그림자는 더 선명하게,
코드는 더 깔끔하게,
우리의 UI가 한 뼘 더 나아졌네! ✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed PR 제목이 변경의 주요 내용을 명확하게 설명하고 있습니다: compose-shadow 라이브러리 제거 및 modifier.shadow API 적용이라는 핵심 변경사항을 정확히 반영합니다.
Linked Issues check ✅ Passed PR은 연결된 이슈 #254의 모든 주요 요구사항을 충족합니다: compose-shadow 라이브러리 코드를 first-party modifier API로 마이그레이션하고 의존성을 제거했습니다.
Out of Scope Changes check ✅ Passed 모든 변경사항이 이슈 #254의 범위 내에 있습니다: gradle.kts, build.gradle.kts, libs.versions.toml에서 예상되는 리팩토링 관련 변경만 포함되어 있습니다.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

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

@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

🤖 Fix all issues with AI agents
In `@gradle/libs.versions.toml`:
- Line 79: Remove the unused explicit library declaration named
"androidx-foundation" (the entry that sets foundation = "1.10.1") from
libs.versions.toml and keep the BOM-managed "androidx-compose-foundation" entry;
ensure no references to the removed "androidx-foundation" identifier remain in
the codebase and rely on the existing BOM-managed declaration for the
androidx.compose.foundation artifact.
📜 Review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 4f609c4 and cd38271.

📒 Files selected for processing (3)
  • feature/screens/build.gradle.kts
  • feature/screens/src/main/kotlin/com/ninecraft/booket/feature/screens/component/MainBottomBar.kt
  • gradle/libs.versions.toml
💤 Files with no reviewable changes (1)
  • feature/screens/build.gradle.kts
⏰ 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). (2)
  • GitHub Check: ci-build
  • GitHub Check: Compose Stability Check
🔇 Additional comments (2)
gradle/libs.versions.toml (1)

22-22: BOM 버전 확인 완료

dropShadow API를 위해 BOM을 2025.08.00으로 업데이트한 것이 확인되었습니다. 해당 버전은 Maven 저장소에서 사용 가능하며, dropShadow API가 도입된 Compose 1.9.0을 정확히 제공합니다.

feature/screens/src/main/kotlin/com/ninecraft/booket/feature/screens/component/MainBottomBar.kt (1)

47-58: Compose Foundation dropShadow API로의 마이그레이션이 올바르게 구현되었습니다.

dropShadow 모디파이어와 Shadow 클래스의 사용법이 적절하며, 모든 임포트 문이 올바릅니다. 프로젝트에서 사용 중인 Compose BOM 2025.08.00은 dropShadow API가 도입된 정확한 버전이므로, API는 안정적으로 지원됩니다.

✏️ Tip: You can disable this entire section by setting review_details to false in your review settings.

google-service = "4.4.4"
firebase-bom = "34.7.0"
firebase-crashlytics = "3.0.6"
foundation = "1.10.1"
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Check if androidx-foundation is referenced in build files
echo "=== Searching for androidx-foundation usage in build files ==="
find . -type f \( -name "*.gradle" -o -name "*.gradle.kts" -o -name "build.gradle*" \) | head -20

echo ""
echo "=== Searching for androidx-foundation in gradle files ==="
rg "androidx-foundation" --type gradle -n 2>/dev/null || echo "No grep results for androidx-foundation"

echo ""
echo "=== Searching for libs.androidx.foundation usage ==="
rg "libs\.androidx\.foundation" -n 2>/dev/null || echo "No grep results for libs.androidx.foundation"

echo ""
echo "=== Checking the full libs.versions.toml content around lines 98 and 150 ==="
cat -n gradle/libs.versions.toml | sed -n '95,105p;145,155p'

Repository: YAPP-Github/Reed-Android

Length of output: 2982


Line 150의 androidx-foundation 선언은 사용되지 않으므로 제거해야 합니다.

androidx.compose.foundation:foundation 아티팩트에 대해 두 개의 라이브러리 선언이 존재합니다:

  • Line 98: androidx-compose-foundation (BOM으로 버전 관리)
  • Line 150: androidx-foundation (명시적 버전 1.10.1)

코드베이스 전체에서 androidx-foundation이 어디에도 사용되지 않으며, Line 98의 BOM 관리 선언이 실제로 사용되고 있습니다. Line 150의 선언은 제거하세요.

🤖 Prompt for AI Agents
In `@gradle/libs.versions.toml` at line 79, Remove the unused explicit library
declaration named "androidx-foundation" (the entry that sets foundation =
"1.10.1") from libs.versions.toml and keep the BOM-managed
"androidx-compose-foundation" entry; ensure no references to the removed
"androidx-foundation" identifier remain in the codebase and rely on the existing
BOM-managed declaration for the androidx.compose.foundation artifact.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BOOK-492/refactor] deprecated된 compose-shadow 라이브러리 제거

2 participants