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

削除モーダルのダブルクリックをpointer-event:none で回避 #5971

Merged
merged 3 commits into from
Feb 21, 2024

Conversation

cajiya-nakamura
Copy link
Contributor

@cajiya-nakamura cajiya-nakamura commented Apr 3, 2023

概要(Overview・Refs Issue)

以下ISSUEの対策です。
削除モーダルでダブルクリックで「ページがみつかりません。」画面に遷移する #5922

方針(Policy)

a[token-for-anchor] を押下されるとJavaScriptで formを作成してPOSTする仕様になっていて、
aタグにdisable属性を付与しても駄目(form生成&postしてしまう)だったので、cssでpointer-event:none;しています。

実装に関する補足(Appendix)

テスト(Test)

相談(Discussion)

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

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

レビュワー確認項目

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

@codecov-commenter
Copy link

codecov-commenter commented Apr 3, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (cc2ee13) 82.45% compared to head (0fb8abe) 82.52%.

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

Additional details and impacted files
@@             Coverage Diff              @@
##                4.3    #5971      +/-   ##
============================================
+ Coverage     82.45%   82.52%   +0.06%     
  Complexity     6465     6465              
============================================
  Files           477      477              
  Lines         25946    25946              
============================================
+ Hits          21394    21412      +18     
+ Misses         4552     4534      -18     
Flag Coverage Δ
E2E 69.46% <ø> (+<0.01%) ⬆️
Unit 79.73% <ø> (+0.06%) ⬆️

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.

@xuelian311 xuelian311 added this to the 4.2.2 milestone May 8, 2023
@xuelian311
Copy link
Contributor

実装方法の修正から必要ですので、4.2.2のスコープから外します。

@xuelian311 xuelian311 modified the milestones: 4.2.2, 4.2.x May 24, 2023
@xuelian311 xuelian311 modified the milestones: 4.2.x, 4.2.3 Jul 5, 2023
@dotani1111 dotani1111 modified the milestones: 4.2.3, 4.2.x Nov 10, 2023
@ji-eunsoo
Copy link
Contributor

@cajiya-nakamura
こちらCSSで実装された理由についてソースコードにコメントでいただけますでしょうか?
また、コードの最新化をお願いいたします。

@xuelian311 xuelian311 modified the milestones: 4.2.x, 4.3.0 Feb 14, 2024
@dotani1111
Copy link
Contributor

コメントと最新化を行いました。

@dotani1111
Copy link
Contributor

動作確認済みです。

@dotani1111 dotani1111 merged commit e26bbbf into EC-CUBE:4.3 Feb 21, 2024
196 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants