Repository navigation
ホーム画面ウィジェットの路線記号の枠線と文字を太くして視認性を改善 - #6576
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_016YPp2NkWQiVs5WALPKjwGP
Contributor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthrough番号サークルの描画を調整しました。線幅、文字の太さ、余白を変更しました。小サイズと中サイズの直径を拡大しました。 Changes番号サークル表示
Estimated code review effort: 1 (Trivial) | ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
This was referenced Aug 6, 2026
Merged
4 of 9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
iOS ホーム画面ウィジェット(
systemSmall/systemMedium)のナンバリングサークルについて「枠線と文字が細すぎる」という指摘を受けたため、線幅と文字ウェイトを引き上げました。指摘時のスクリーンショットを実測したところ、外径 約162px に対し枠線 約15px(@3x = 外径約55pt / 枠線約5pt)で、枠線が直径の約 1/11 しかありませんでした。アプリ内の
NumberingIconRoundは 72pt に対し 8pt(1/9)、SMALL/MEDIUMサイズでは 1/5 なので、ウィジェットだけが明確に細い状態でした。変更の種類
変更内容
HomeScreenNumberingCircleの枠線をCircle().stroke(lineWidth: diameter / 10)からCircle().strokeBorder(lineWidth: diameter / 7)に変更strokeはパス中央揃えで線幅の半分がframeの外へはみ出すため、太くするほどレイアウト上の寸法と見た目がずれます。strokeBorderは線を内側に描くのでdiameterがそのまま外径になります.boldから.heavyに変更diameter * 0.18からdiameter * 0.2に変更し、太くなった枠線との間隔を確保strokeBorder化で見かけの外径が縮むぶんを直径で補正(systemSmall44 → 48 /systemMedium56 → 60)diameter * 0.4連動の文字サイズも 17.6 → 19.2pt / 22.4 → 24pt に上がります変更対象は
ios/RideSessionActivity/HomeScreenWidget.swiftの 1 ファイルのみです。ロック画面ウィジェット(LockScreenWidget.swift)、watchOS(WatchWidget.swift)、Android(widget_numbering_circle.xml)は今回のスコープ外で未変更です。テスト
npm run lintが通ることnpm testが通ること(208 suites / 2195 tests passed)npm run typecheckが通ること上記 3 点はいずれもローカルで成功していますが、変更が Swift のみのため、これらのチェックは今回の差分をカバーしていません。また作業環境に Xcode / iOS シミュレータが無いため、シミュレータ・実機での表示確認は未実施です。太さの調整が必要な場合は
diameter / 7の分母で加減できます(1/8 でやや控えめ、1/6 でさらに太め)。関連Issue
スクリーンショット(任意)
UI 変更ですが、上記のとおりビルド環境が無いため変更後のスクリーンショットは未取得です。レビュー時に実機での確認をお願いします。
Generated by Claude Code
Summary by CodeRabbit