Repository navigation
ライセンス画面に東京メトロ・つくばエクスプレス・多摩都市モノレール・りんかい線のライセンス表記とODPT定型免責文言を追加 - #6365
Conversation
Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_018B7JLssWccqab5PKxaqwKG
📝 WalkthroughWalkthroughLicenses.tsxのLicenseId型とLICENSE_ITEMSに東京メトロ・首都圏新都市鉄道・多摩モノレール・東京臨海高速鉄道の項目を追加し、ライセンス表記をodptBasicLicense/ODPT_BASIC_LICENSE_URLに統一。ListFooterComponentにodptDisclaimer文言を追加。en.json/ja.jsonに対応する翻訳キーを追加。 ChangesODPTライセンス項目・翻訳の追加
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/screens/Licenses.tsx`:
- Around line 151-186: The license list in Licenses.tsx has duplicate emoji
icons, making entries hard to distinguish visually. Update the icon values for
mir and twr in the licenses array to use different emojis than ekidata_jp, and
keep the change localized to the item definitions in the Licenses screen so each
provider has a unique visual identifier.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro
Run ID: cb84a758-f52c-416e-89ff-ef6b0928f458
📒 Files selected for processing (3)
assets/translations/en.jsonassets/translations/ja.jsonsrc/screens/Licenses.tsx
概要
ライセンス画面に、公共交通オープンデータセンター(ODPT)経由で利用している東京圏4事業者(東京メトロ・つくばエクスプレス・多摩都市モノレール・りんかい線)のライセンス表記を追加しました。あわせて、公共交通オープンデータ基本ライセンスが出典表示とともに掲出を求めている定型免責文言を画面下部に表示するようにしました。
変更の種類
変更内容
#666)で表示ja.json/en.jsonに事業者名4件と免責文言の翻訳キーを追加レビュー時の確認ポイント
テスト
npm run lintが通ることnpm testが通ることnpm run typecheckが通ること関連Issue
スクリーンショット(任意)
Summary by CodeRabbit