Commit graph

11 commits

Author SHA1 Message Date
Philipp Stracker
874ebbc7a0
🎨 Minor: Apply WP Code Style
- Consistent quote-style
- Insert missing semicolons in JS
- Fix some whitespaces
2024-06-12 15:31:33 +02:00
Philipp Stracker
cea292684b
🎨 Minor code structure changes 2024-06-12 11:27:59 +02:00
Philipp Stracker
aa9c02a786
♻️ Improve SDK loading in PreviewButtonManager 2024-06-11 15:58:43 +02:00
Philipp Stracker
3d26c525e1
🔥 Remove old preview button code comment 2024-06-07 21:18:55 +02:00
Philipp Stracker
6f73e82d3e
Preview buttons can be static
When the current page does not contain any edit-fields for the current APM preview button, it enters “static” mode. Static buttons ignore most update requests, and render as they were defined during page load
2024-06-07 21:14:12 +02:00
Philipp Stracker
33c6c06e85
🐛 Fix button specific config-preparation 2024-06-07 15:42:16 +02:00
Philipp Stracker
da64ffbac5
Add preview button for Apple Pay on ACDC
Note: `phpcbf` adjusted whitespace in extensions.php
2024-06-07 15:00:15 +02:00
Philipp Stracker
d1a93a1b55
🎨 Isolate condition for preview buttons
This step makes it easier to refactor/update the logic in the next step.
2024-06-03 17:19:18 +02:00
Pedro Silva
46c575a401
Fix apm button styling 2023-12-07 18:20:58 +00:00
Pedro Silva
1b87bc3da1
Add ApplePay preview support on non ios devices
Fix clicking on preview ApplePay / GooglePay buttons
2023-11-03 11:44:06 +00:00
Pedro Silva
118e49cfde
Add ApplePay preview in admin settings. 2023-11-03 10:30:31 +00:00