Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

フロント側アラートメッセージが長い場合の崩れ修正 #6102

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

tatsuishi
Copy link
Contributor

@tatsuishi tatsuishi commented Feb 26, 2024

概要(Overview・Refs Issue)

フロント側アラートメッセージが長い場合の崩れ修正
Issue番号 カート メッセージが長いとアイコンが改行されてしまう #6092

方針(Policy)

メッセージが長いとアイコンが改行して表示されてしまいます(商品名が長い場合に発生しやすくなります)。
短い場合も長い場合も同様のデザインになるよう修正を行いました。

修正前
image

修正後
image

実装に関する補足(Appendix)

Issueにて報告したカートページ以外にも同様のアラートメッセージを表示している箇所があったため
合わせて修正いたしました。
・カートページ
・お届け先選択画面
・注文確認画面

テスト(Test)

各ページにて実際アラートを表示させ、崩れがないことを確認しました

マイナーバージョン互換性保持のための制限事項チェックリスト

  • 既存機能の仕様変更はありません
  • フックポイントの呼び出しタイミングの変更はありません
  • フックポイントのパラメータの削除・データ型の変更はありません
  • twigファイルに渡しているパラメータの削除・データ型の変更はありません
  • Serviceクラスの公開関数の、引数の削除・データ型の変更はありません
  • 入出力ファイル(CSVなど)のフォーマット変更はありません

レビュワー確認項目

  • 動作確認
  • コードレビュー
  • E2E/Unit テスト確認(テストの追加・変更が必要かどうか)
  • 互換性が保持されているか
  • セキュリティ上の問題がないか
    • 権限を超えた操作が可能にならないか
    • 不要なファイルアップロードがないか
    • 外部へ公開されるファイルや機能の追加ではないか
    • テンプレートでのエスケープ漏れがないか

@codecov-commenter
Copy link

codecov-commenter commented Feb 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.77%. Comparing base (8e96ee9) to head (f79de9a).
Report is 2 commits behind head on 4.3.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff            @@
##                4.3    #6102   +/-   ##
=========================================
  Coverage     82.77%   82.77%           
  Complexity     6509     6509           
=========================================
  Files           479      479           
  Lines         26029    26029           
=========================================
  Hits          21546    21546           
  Misses         4483     4483           
Flag Coverage Δ
E2E 70.08% <ø> (ø)
Unit 79.57% <ø> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dotani1111
Copy link
Contributor

@tatsuishi
PRありがとうございます👍
以下のテストが落ちてしまっていました。こちら対応して頂くことはできますか?
もし難しい場合はお声がけください。
https://github.com/EC-CUBE/ec-cube/actions/runs/8043291350/job/21965143760?pr=6102

@tatsuishi
Copy link
Contributor Author

@dotani1111
お待たせしました。テストが通ったようですので、改めてよろしくお願いいたします。

@ji-eunsoo ji-eunsoo added bug:Low improvement 機能改善 and removed bug:Low labels Mar 4, 2024
@ji-eunsoo ji-eunsoo added this to the 4.3.0 milestone Mar 4, 2024
@ji-eunsoo
Copy link
Contributor

動作確認は問題ありませんでした。
ボックスの色も変わりませんでした。
スクリーンショット 2024-03-04 10 33 57

@dotani1111 dotani1111 merged commit e9edc3b into EC-CUBE:4.3 Mar 4, 2024
94 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement 機能改善
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants