称号バッジの絵文字をFontAwesomeアイコンに置き換え#194
Merged
Merged
Conversation
profileStatsGoが各称号に icon(FontAwesome無料版のクラス名)を返し、 フロントは icon 優先で表示・無ければ絵文字にフォールバック (CDNキャッシュの旧レスポンス互換)。emoji フィールドは互換のため残す。 無料版に該当が無い4種は意訳: 🏮常連さん→fa-shoe-prints / 🕯️七日詣→fa-moon / 🎋おみくじ好き→fa-scroll / 🌩️不運の帝王→fa-cloud-showers-heavy 全称号にアイコンがあることを保証するテストを追加。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DwkB6Hj2JggoKcy7FoxNcU
Contributor
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
kojira
pushed a commit
that referenced
this pull request
Jul 20, 2026
kojira
pushed a commit
that referenced
this pull request
Jul 20, 2026
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.
概要
#183 の最終対応。称号バッジ17種の絵文字を FontAwesome 単色アイコンに置き換えます(機種依存の見た目を排除)。対応表はユーザーレビュー済み。
実装
badgeDef/profileBadgeにicon(FAクラス名)を追加して返す。emojiは旧クライアント・CDNキャッシュ互換のため残すiconがあればFA表示、無ければ絵文字にフォールバック対応表(抜粋: 無料版に該当が無い4種の意訳)
fa-shoe-prints(足繁く通う)fa-moon(七夜)fa-scroll(みくじ紙)fa-cloud-showers-heavy他13種は素直な対応(⛩️→torii-gate、🙏→praying-hands、💯→certificate、📅→calendar-check、🌟→star、🔥→fire、🎖️→medal、⚡→bolt、🌱→seedling、🛠️→tools、👑→crown、🌈→rainbow、💀→skull)。
検証
go test ./...全パス(新テスト含む)yarn generate成功これで #183 の残件は解消(二拍手の👏🏻は現状維持で確定済み)。マージ後、#183 をクローズ予定。
🤖 Generated with Claude Code
https://claude.ai/code/session_01DwkB6Hj2JggoKcy7FoxNcU
Generated by Claude Code