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

feat:デバッグモード有効時に通知する機能 #6039

Merged
merged 3 commits into from
Feb 21, 2024

Conversation

dotani1111
Copy link
Contributor

@dotani1111 dotani1111 commented Sep 18, 2023

概要(Overview・Refs Issue)

デバックモード有効時に警告を画面出力する #5212

方針(Policy)

デバッグモードで運用しているサイトを無くすため、フロント画面にも表示
デバッグツールは表示されるので、フロントにも目立つように表示

実装に関する補足(Appendix)

テスト(Test)

admin - jp
image

admin - en
image

front - pc
image

front - sp
image

front - en
image

相談(Discussion)

表示する方針
メンテナンスモードの有効メッセージとの兼ね合い -> 修正済

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

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

レビュワー確認項目

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

@codecov-commenter
Copy link

codecov-commenter commented Sep 18, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (741b785) 82.55% compared to head (e0fcd58) 82.57%.
Report is 13 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    #6039      +/-   ##
============================================
+ Coverage     82.55%   82.57%   +0.02%     
  Complexity     6437     6437              
============================================
  Files           477      477              
  Lines         25888    25890       +2     
============================================
+ Hits          21371    21379       +8     
+ Misses         4517     4511       -6     
Flag Coverage Δ
E2E 69.50% <100.00%> (+0.02%) ⬆️
Unit 79.75% <100.00%> (-0.01%) ⬇️

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 Author

メンテナンスモードとデバッグモードが有効の場合
アナウンスをまとめて1行にする。
2行になるなら開発の邪魔にならないように表示を工夫する

デバッグモードが有効の場合は、背景を赤にする。

@shinya
Copy link
Contributor

shinya commented Dec 11, 2023

検証して、問題なければ次回のVersionUPで取り込む形とする

@dotani1111 dotani1111 modified the milestones: 4.2.x, 4.3.0 Jan 17, 2024
@dotani1111
Copy link
Contributor Author

コンフリクトの解消をします。

@dotani1111
Copy link
Contributor Author

コンフリクト解消致しました。

@ji-eunsoo
Copy link
Contributor

動作に問題ありませんでした。ありがとうございます。

@chihiro-adachi chihiro-adachi merged commit 9bc3d4e into EC-CUBE:4.3 Feb 21, 2024
196 checks passed
@dotani1111 dotani1111 mentioned this pull request Mar 4, 2024
15 tasks
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.

6 participants