Philipp Stracker
534e412524
♻️ Extract preview classes to own files
2024-07-12 17:32:59 +02:00
Emili Castells Guasch
11105d913b
Run eslint autofix
2024-07-12 12:58:34 +02:00
Philipp Stracker
0197896500
🥅 Catch several JS/API related preview issues
2024-07-01 15:25:06 +02:00
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
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
b1cc83b238
🔥 Remove old preview button code comment
2024-06-07 12:23:35 +02:00
Philipp Stracker
93c6b40abc
♻️ Clean up the Google Pay preview button code
2024-06-07 12:23:03 +02:00
Philipp Stracker
0b326fbaa9
🔥 Remove debug code
2024-06-05 18:40:01 +02:00
Philipp Stracker
ebb1f6962f
♻️ Create generic base classes for preview buttons
2024-06-05 17:58:54 +02:00
Philipp Stracker
9342086f33
♻️ Refactor Google Pay preview button
...
Mainly, separate the preview code into three main parts:
- Configuration
- Button
- ButtonManager
Remove dependency from DOM structure
2024-06-04 22:10:37 +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
9ab11b40e4
Fix GooglePay preview buttons
2023-10-16 17:56:58 +01:00
Pedro Silva
b38658aeeb
Fix GooglePay preview rendering race condition.
2023-10-16 15:32:25 +01:00
Pedro Silva
7d1f8b5187
Refactor options for release preparation
2023-10-12 15:27:55 +01:00
Pedro Silva
fd156024d2
Add GooglePay button preview reactiveness to settings.
2023-09-21 15:46:20 +01:00
Pedro Silva
08d8cded5b
Add GooglePlay preview in admin settings.
2023-09-21 11:58:51 +01:00