プレイ画面UIをトップ画面基調に統一し、PC/スマホで手牌まで1画面に収まるレイアウトへ改善#126
Conversation
Agent-Logs-Url: https://github.com/ut-code/hitori-mahjong/sessions/524100d1-262c-4708-a498-c01c3cd15cd9 Co-authored-by: tknkaa <145080781+tknkaa@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ut-code/hitori-mahjong/sessions/524100d1-262c-4708-a498-c01c3cd15cd9 Co-authored-by: tknkaa <145080781+tknkaa@users.noreply.github.com>
tknkaa
left a comment
There was a problem hiding this comment.
PCで開いたときに手牌を見るのにスクロールが必要になってしまうのがあまり嬉しくないので、スクロールしなくても、ゲームの進行状況、河、手牌が画面に収まるようにしてほしい。また、スマホのUIについても手牌を見るのにスクロールが必要なのがあまり嬉しくないので、一段目に7枚、二段目に6枚 + ツモ牌、という感じにしてほしい。
app/routes/play.tsx
Outdated
| <div className="modal-box bg-[#0F2918] border border-yellow-700 text-white"> | ||
| <h3 className="font-bold text-2xl text-yellow-400">ツモ!</h3> | ||
| <p className="mt-2 text-sm text-gray-200"> | ||
| お見事です。和了を確定しますか? |
There was a problem hiding this comment.
モーダル文言を「和了」のみに修正しました。反映コミット: 0ab3a59。スクリーンショット: https://github.com/user-attachments/assets/e8266e0c-6ac7-4899-a507-47e4d103945e
app/routes/play.tsx
Outdated
| <div className="modal-box bg-[#0F2918] border border-yellow-700 text-white"> | ||
| <h3 className="font-bold text-2xl text-yellow-400">流局</h3> | ||
| <p className="mt-2 text-sm text-gray-200"> | ||
| この局は終了です。結果を確定しますか? |
There was a problem hiding this comment.
モーダル文言を「流局」のみに修正しました。反映コミット: 0ab3a59。スクリーンショット: https://github.com/user-attachments/assets/e8266e0c-6ac7-4899-a507-47e4d103945e
Agent-Logs-Url: https://github.com/ut-code/hitori-mahjong/sessions/759a3c00-1f4d-44bb-b1ea-d389cad1c20e Co-authored-by: tknkaa <145080781+tknkaa@users.noreply.github.com>
対応しました。PCでは進行情報・河・手牌が1画面に収まるよう余白/牌サイズを調整し、スマホでは手牌を1段目7枚・2段目6枚+ツモ牌の2段固定に変更しています。反映コミット: 0ab3a59。スクリーンショット: https://github.com/user-attachments/assets/e8266e0c-6ac7-4899-a507-47e4d103945e / https://github.com/user-attachments/assets/10c243db-0966-4b3d-87f6-25b11f5e831b Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
tknkaa
left a comment
There was a problem hiding this comment.
PC版のUIで、ツモ牌以外の牌は隙間なく隣り合うようにしてほしい。
Agent-Logs-Url: https://github.com/ut-code/hitori-mahjong/sessions/ecb176d7-ab6e-4a6c-ac50-8fb4a8daf9ba Co-authored-by: tknkaa <145080781+tknkaa@users.noreply.github.com>
PC版手牌コンテナの Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
プレイ画面がトップページとデザイン的に分断されており、モバイルでの視認性/操作性と、ツモ・流局時の表示が弱い状態でした。
今回の変更では、既存のルーティング/loader-action構成を維持したまま、見た目と操作体験をプレイ画面内で調整しています。
UIトーン統一(トップページとの整合)
play.tsxのルートコンテナをトップと同系統の配色・フォント(和風トーン)へ統一PCレイアウト調整(スクロール不要化)
モバイル最適化(固定2段手牌)
ツモ/流局モーダル表示の調整
操作UIのアクセシビリティ
aria-labelを追加(手牌切り/ツモ切りを明示)再レンダリング課題について