Commit graph

79 commits

Author SHA1 Message Date
Philipp Stracker
35716db65a
💡 Add comment about intentional error propagation 2025-02-07 12:07:34 +01:00
Philipp Stracker
9c1e6f3b27
♻️ Remove error handling from persist actions 2025-02-07 12:07:12 +01:00
Philipp Stracker
657eb9e772
🔥 Common store: Clean up 2025-02-06 14:22:09 +01:00
Philipp Stracker
4f5b254452
♻️ Common store: Detach a reducer from controls 2025-02-06 14:21:59 +01:00
Philipp Stracker
d90a893a38
♻️ Common store: Convert to thunks 2025-02-06 14:20:22 +01:00
Philipp Stracker
e18f7fd7ae
♻️ Common store: Split control-actions to new file 2025-02-06 13:48:21 +01:00
Philipp Stracker
b00ef330f4
♻️ Simplify hook 2025-02-04 21:14:36 +01:00
Philipp Stracker
91c8bdafb9
Initial version of Disconnect button 2025-02-04 18:55:45 +01:00
Daniel Dudzic
0daf56b2af
Settings UI: Move Things To Do config data to a separate definition file. Add settings highlighting. Add todos dismissing. 2025-01-30 12:54:05 +01:00
Philipp Stracker
d2cab43c8f
🔀 Merge branch 'trunk'
# Conflicts:
#	modules/ppcp-settings/resources/js/Components/ReusableComponents/SettingsBlocks/PaymentMethodItemBlock.js
#	modules/ppcp-settings/resources/js/Components/Screens/Settings/Tabs/TabOverview.js
2025-01-23 19:59:45 +01:00
Philipp Stracker
4de4e05829
♻️ Rename reducer methods for better clarity 2025-01-21 15:33:03 +01:00
Philipp Stracker
7fad70d6e5
Consistent storeInit and error handling logic 2025-01-21 13:32:03 +01:00
Daniel Dudzic
b902d2eea2
Settings UI: Fix merchant features state retrieval in hooks 2025-01-21 13:04:30 +01:00
Philipp Stracker
77ed657394
♻️ Apple new code style to common store 2025-01-17 19:25:55 +01:00
Philipp Stracker
99d93888e1
🧑‍💻 Debug tool “reset” respects onboarding state 2025-01-13 14:42:59 +01:00
Philipp Stracker
364c1b55c5
🐛 Fix the disconnect Redux action 2025-01-13 14:41:08 +01:00
Philipp Stracker
401faf6975
New Redux action to disconnect merchant 2025-01-13 14:16:46 +01:00
Philipp Stracker
bc08aa74da
♻️ Shorten action name 2025-01-13 14:12:57 +01:00
Philipp Stracker
30ab1bd51f
♻️ Consolidate authentication name: OAuth, not ISU 2025-01-13 14:11:24 +01:00
Philipp Stracker
53ce535f4a
♻️ Shorten REST endpoints: Features 2025-01-13 14:08:20 +01:00
Philipp Stracker
8f38bac810
♻️ Consolidate REST endpoints: Webhooks 2025-01-13 14:07:45 +01:00
Philipp Stracker
54e2258d62
Improve the loading experience
Before this change, the settings screen was briefly visible, before the merchant details were loaded from the REST endpoint
2025-01-10 19:15:02 +01:00
Philipp Stracker
9101c1830b
🐛 Fix webhook retrieval via REST 2025-01-09 20:28:34 +01:00
Philipp Stracker
4180556ecd
🔀 Merge branch 'temp/settings-ui'
# Conflicts:
#	modules/ppcp-settings/resources/js/Components/Screens/Overview/TabOverview.js
#	modules/ppcp-settings/resources/js/data/common/hooks.js
2025-01-09 12:41:21 +01:00
Philipp Stracker
67a6d9e765
♻️ Adjust “webhooks” property in Redux state 2025-01-08 16:52:21 +01:00
Philipp Stracker
6591889079
🚧 Refactor the eligible-feature REST response 2025-01-08 16:51:04 +01:00
Philipp Stracker
6167955374
🔥 Remove setters for clientId/secret
Those values should only be set by PHP after validating some authentication details
2025-01-08 15:10:25 +01:00
Philipp Stracker
54b174e447
♻️ Decouple API authentication from Redux 2025-01-08 15:01:40 +01:00
Philipp Stracker
1bf6e488a3
♻️ Apply more accurate authentication naming
- “authenticate” instead of “connect”
- “withCredentials” instead of “direct”
- “OAuth” instead of “ISU”
2025-01-08 14:59:59 +01:00
Philipp Stracker
4e7d89fd26
💡 Improve a code comment 2025-01-08 13:21:30 +01:00
Philipp Stracker
3f691bea01
♻️ Use EnvironmentConfig in ConnectionUrlGenerator 2025-01-03 13:52:42 +01:00
Philipp Stracker
9a84c7b4a9
🔀 Merge branch 'trunk'
# Conflicts:
#	modules/ppcp-settings/resources/js/data/common/action-types.js
#	modules/ppcp-settings/resources/js/data/common/controls.js
#	modules/ppcp-settings/resources/js/data/common/hooks.js
#	modules/ppcp-settings/services.php
2025-01-03 11:03:18 +01:00
Philipp Stracker
de3ab2c479
💬 Add missing prefix to an unrelated action-type 2025-01-02 18:22:53 +01:00
Philipp Stracker
0d5832aa8b
Add React logic for final ISU authentication 2025-01-02 18:22:09 +01:00
Philipp Stracker
1246a02f07
♻️ Adjust naming to new “authentication” pattern 2025-01-02 18:19:41 +01:00
Philipp Stracker
69d169533d
♻️ Unify function- and hook names 2025-01-02 17:59:33 +01:00
Philipp Stracker
084327c635
♻️ Rename ambgious hooks
Two different hooks and one store property shared the same name. This commit resolves the ambiguity and makes all names unique
2025-01-02 17:43:02 +01:00
Philipp Stracker
565ee96bb6
🚧 First steps for the final ISU authentication 2025-01-02 14:43:33 +01:00
Philipp Stracker
ef0e7e756c
♻️ Rename REST endpoint for manual login 2025-01-02 14:43:06 +01:00
Daniel Dudzic
b7ec9747a5
Merge branch 'trunk' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3942-add-help-center-components-ver2 2025-01-02 14:42:41 +01:00
Daniel Dudzic
e4e95de5f6
Refactor the Overview tab > Features > Buttons 2025-01-02 13:55:32 +01:00
Philipp Stracker
f9809bdc53
🚧 Rename ConnectManual endpoint
This is a preparation to include the UI login authentication in the same endpoint as the manual connection logic
2025-01-02 12:26:40 +01:00
inpsyde-maticluznar
da0a81036a
Move api requests to controls 2024-12-20 13:43:41 +01:00
inpsyde-maticluznar
f0a09ba83b
Small code fixes 2024-12-20 12:38:42 +01:00
inpsyde-maticluznar
64f97e8022
Remove unnecessary action types 2024-12-20 12:05:23 +01:00
inpsyde-maticluznar
f4b1a6e392
Updating messages, cleanup 2024-12-20 09:58:15 +01:00
inpsyde-maticluznar
80853c6fd4
Fix bugs & do some maintenance 2024-12-20 08:59:52 +01:00
Philipp Stracker
1e26852aa1
♻️ Rename actions for better semantics 2024-12-19 13:26:19 +01:00
Philipp Stracker
da96c084ab
♻️ Consolidate the onboarding-url-generation 2024-12-19 13:23:40 +01:00
inpsyde-maticluznar
ed77ad63ca
Add messages, separate components, finish actions 2024-12-19 13:10:19 +01:00