Commit graph

68 commits

Author SHA1 Message Date
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
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
inpsyde-maticluznar
40b1b0d280
Merge remote-tracking branch 'origin/trunk' into PCP-3930-Make-the-webhook-resubscribe/simulate-logic-usable-in-React-application
# Conflicts:
#	modules/ppcp-settings/resources/js/Components/ReusableComponents/SettingsBlocks/ButtonSettingsBlock.js
#	modules/ppcp-settings/resources/js/Components/Screens/Overview/TabSettingsElements/Blocks/Troubleshooting.js
#	modules/ppcp-settings/resources/js/data/common/action-types.js
#	modules/ppcp-settings/resources/js/data/common/constants.js
#	modules/ppcp-settings/src/SettingsModule.php
2024-12-18 07:05:09 +01:00
inpsyde-maticluznar
08f5b4fba5
Get and resubscribe webhooks 2024-12-18 07:00:47 +01:00
Philipp Stracker
a77b209e3e
♻️ Simplify Redux controllers 2024-12-17 15:05:34 +01:00
Himad M
f31b78f91c
New Settings UI: Move request chaining fom control to action 2024-12-17 12:58:05 +01:00
Himad M
75f3b0b7e4
New Settings UI: Implement logic for features and refresh button. 2024-12-17 12:58:02 +01:00
Philipp Stracker
2b2d5585b1
♻️ Minor: Freeze read-only state objects 2024-12-06 19:22:32 +01:00
Philipp Stracker
82b364a0ac
Add “Common” hook to access merchant data 2024-12-06 19:11:17 +01:00
Philipp Stracker
b4d1596fd1
New action to refresh merchant data from server 2024-12-06 19:10:33 +01:00
Philipp Stracker
c97464d7e2
Add merchant details to “common” hydration path 2024-12-06 19:09:01 +01:00
Philipp Stracker
4e9d588058
♻️ Rearrange code, minor change 2024-12-06 15:49:37 +01:00
Philipp Stracker
64ea8ec011
♻️ Simplify some action generators 2024-12-05 18:56:23 +01:00