Commit graph

8847 commits

Author SHA1 Message Date
Philipp Stracker
c272ba00ca
📝 Improve configuration documentation 2025-02-13 17:26:00 +01:00
Philipp Stracker
ec575f19d8
📝 Initial “default config” documentation 2025-02-13 16:52:07 +01:00
Narek Zakarian
897106499c
Fix the CS 2025-02-13 19:45:27 +04:00
Narek Zakarian
d25084aa00
Fix the CS 2025-02-13 19:44:57 +04:00
Narek Zakarian
f27339de0b
Fix the CS 2025-02-13 19:44:06 +04:00
Narek Zakarian
00486f4934
Implement a helper to map the settings tab. 2025-02-13 19:43:36 +04:00
Narek Zakarian
619c3b1467
Use a helper to map the settings tab. 2025-02-13 19:43:23 +04:00
Narek Zakarian
480dd8d8aa
Create a helper to map the settings tab.
This is necessary because we need to map the specific values too and not just the keys in some cases like for the 'subtotal_mismatch_behavior'
2025-02-13 19:42:57 +04:00
Philipp Stracker
3a096b832d
Trigger disconnect modal via URL hash 2025-02-13 16:32:18 +01:00
Philipp Stracker
12316b1022
Expose “setIsOpen” action for toggle hook 2025-02-13 16:30:53 +01:00
Philipp Stracker
d28f4f0784
♻️ Change hook props from object to argument list 2025-02-13 16:28:24 +01:00
Philipp Stracker
c6d7875fda
️ Add useCallback to make hook more stable 2025-02-13 16:24:54 +01:00
Philipp Stracker
4ecd07b453
🚚 Rename UI hook to make it more generic 2025-02-13 16:22:40 +01:00
Philipp Stracker
e8379f09e8
Default configuration for payment settings 2025-02-13 16:07:19 +01:00
Philipp Stracker
69c2e710fc
♻️ Restructure code slightly 2025-02-13 16:05:35 +01:00
Philipp Stracker
16ec522830
️ Memoize payment methods in styling tab 2025-02-13 15:27:29 +01:00
Philipp Stracker
30ff337c06
♻️ Reuse existing gateway-IDs for styling tab 2025-02-13 15:22:21 +01:00
Narek Zakarian
6814fd0a2e
Map the "Brand Name" and "Soft Descriptor" 2025-02-13 18:17:45 +04:00
Emili Castells Guasch
30dd654f83 Fix non wc gateway items null enabled key 2025-02-13 15:17:22 +01:00
Philipp Stracker
f7b2f97b89
💄 Improve visual hint for settings-reset toggle 2025-02-13 15:08:50 +01:00
Emili Castells
b74ad84030
Merge pull request #3099 from woocommerce/PCP-4214-the-styling-tab-data-isnt-showing-on-frontend
Force enabled the styling per location option (4214)
2025-02-13 15:02:04 +01:00
Philipp Stracker
769234ca15
Apply styling config after onboarding 2025-02-13 14:43:54 +01:00
Philipp Stracker
8c411c1969
♻️ Minor renaming of attributes 2025-02-13 14:27:59 +01:00
Philipp Stracker
7a5ac3caba
♻️ Move detection of “new merchant” into manager 2025-02-13 14:27:05 +01:00
Emili Castells
9cfb34ad1a
Merge pull request #3101 from woocommerce/PCP-4213-connect-settings-connect-the-other-payment-method-settings-with-the-frontend
Connect the "Other payment method settings" with the frontend (4213)
2025-02-13 13:44:36 +01:00
Narek Zakarian
83bd078eb9
Map the "Disable specific credit cards".
This will allow to bind the setting with the frontend.
2025-02-13 16:26:08 +04:00
Philipp Stracker
f8d5213b16
🎨 Apply phpcs styles 2025-02-12 21:14:52 +01:00
Philipp Stracker
275c28bfa3
👔 Apply plugin configuration after authentication 2025-02-12 21:14:26 +01:00
Philipp Stracker
6d11c8ef99
Add a plugin-config method to the data manager 2025-02-12 21:08:37 +01:00
Philipp Stracker
cda49d87e2
New DTO to define plugin setup configuration 2025-02-12 21:07:56 +01:00
Philipp Stracker
0728f80281
♻️ Refactor the settingsdata manager constructor 2025-02-12 21:07:21 +01:00
Philipp Stracker
34c67bb8d1
New onboarding flag for “setup-done” 2025-02-12 18:56:37 +01:00
Philipp Stracker
850bfb869a
♻️ Rename function argument 2025-02-12 18:55:58 +01:00
Emili Castells
6eb5e9f0d9
Merge pull request #3100 from woocommerce/PCP-4209-create-a-method-to-reset-db-settings
Create a method to reset DB settings (4209)
2025-02-12 17:18:25 +01:00
Philipp Stracker
cb218b69b6
🔀 Merge branch 'trunk' 2025-02-12 17:03:55 +01:00
Philipp Stracker
3d8121510a
Reset all settings on disconnect 2025-02-12 17:03:00 +01:00
Philipp Stracker
d8bd774744
Define new settings-data-manager service 2025-02-12 17:01:14 +01:00
Philipp Stracker
70722d1aca
🎨 Rename REST endpoint service 2025-02-12 17:00:36 +01:00
Philipp Stracker
a7ad31a35c
New data manager service to purge settings 2025-02-12 16:55:43 +01:00
Philipp Stracker
126ef5adf0
Add new method to delete settings from DB 2025-02-12 16:50:16 +01:00
Emili Castells
8258c1c993
Merge pull request #3097 from woocommerce/PCP-4183-manual-connection-credentials-are-not-working
Manual Connection credentials are not working (4183)
2025-02-12 16:47:28 +01:00
Philipp Stracker
da80defa93
Add new “reset” flag to the JS-logic 2025-02-12 16:32:52 +01:00
Philipp Stracker
921546953e
💄 Improve UI if the Disconnect-modal 2025-02-12 16:31:07 +01:00
Philipp Stracker
0a98fcb8cc
Add UI toggle to optionally reset the settings 2025-02-12 16:24:35 +01:00
Philipp Stracker
4399293a02
💄 Remove left indentation of Disconnect-button 2025-02-12 16:13:12 +01:00
Philipp Stracker
a75204804d
Allow manual connection by pressing Enter 2025-02-12 15:58:02 +01:00
Philipp Stracker
0fc0c11653
Add a “onConfirm” prop to DataStoreControl 2025-02-12 15:57:03 +01:00
Philipp Stracker
ff81617b22
🔀 Merge branch 'trunk'
# Conflicts:
#	modules/ppcp-settings/resources/js/data/common/hooks.js
2025-02-12 15:45:52 +01:00
Narek Zakarian
adf7a22301
Force enabled the styling per location option 2025-02-12 18:45:34 +04:00
Philipp Stracker
92a0977ae8
💄 Lock app in “loading state” in last oauth stage
A redirect happens, and the current page should stay locked preventing users from interacting with the wizard before the refresh is finished.
2025-02-12 15:38:55 +01:00