fix: 작품 상세 읽기 상태 막대 그래프가 비율대로 표시되지 않음 - #954
Conversation
- 최댓값 컬럼에만 적용되던 채움 높이를 세 컬럼 모두에 적용한다 - 미선택 채움 색상을 디자인에 맞춰 EEEEF2로 변경한다 - 보는 중 막대의 기본 높이를 나머지와 동일하게 맞춘다
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. Walkthrough읽기 상태 그래프가 세 상태의 계산된 높이를 항상 적용하도록 변경되었습니다. Changes읽기 상태 그래프
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This PR corrects the proportional sizing and styling of the novel reading-status bars without changing data, interfaces, or runtime behavior; no actionable merge-blocking risk remains beyond normal checks and review. Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 1 files. (3 skipped: 3 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
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. Comment |
📌𝘐𝘴𝘴𝘶𝘦𝘴
https://discord.com/channels/1185753783020568648/1537808439965786192
📎𝘞𝘰𝘳𝘬 𝘋𝘦𝘴𝘤𝘳𝘪𝘱𝘵𝘪𝘰𝘯
디자인 QA로 접수된 막대 그래프 이슈를 수정했습니다.
1. 채움 높이를 세 컬럼 모두에 적용
막대는 바깥 트랙(
CardView)과 안쪽 채움(View) 2겹 구조이고, 안쪽 채움 높이로 비율을 표현합니다. 그런데updateGraphUi()가when (maxCountReadStatus())로 최댓값 컬럼 하나만 높이를 적용해, 나머지 두 컬럼은 XML 기본 높이가 그대로 남아 트랙을 꽉 채운 상태였습니다.높이 계산(
formattedHeight = viewHeight * count / maxCount)과formattedUnifiedReviewCount()는 이미 세 컬럼을 모두 계산하고 있어, 적용 지점만 넓히고 강조(선택) 처리만 최댓값에 남겼습니다.2. 미선택 채움 색상
#DFDFE3→#EEEEF2디자인의
UI/gray.70은#EEEEF2인데colors.xml에는 해당 색이 없었습니다. Compose 토큰에는Gray70New = #EEEEF2로 이미 존재합니다.3.
보는 중막대 기본 높이80dp→100dp세 컬럼 중
보는 중만 기본 높이가 달랐습니다.📷𝘚𝘤𝘳𝘦𝘦𝘯𝘴𝘩𝘰𝘵
작품
황후가 되고 싶은 여자(보는 중 1 / 봤어요 3 / 하차 0) 기준 실측입니다.수정 후에는 밝은 트랙 안에 아래쪽 1/3만 진한 회색으로 채워져 시안과 일치합니다.
💬𝘛𝘰 𝘙𝘦𝘷𝘪𝘦𝘸𝘦𝘳𝘴
Summary by CodeRabbit
개선 사항
스타일