Commit graph

118 commits

Author SHA1 Message Date
Emili Castells Guasch
836badd48c Fix settings ui merge conflict 2024-11-04 11:29:21 +01:00
Philipp Stracker
6d0a6c8653
Merge branch 'trunk' into PCP-3786-manual-input 2024-10-31 17:41:01 +01:00
Philipp Stracker
a881838cf4
🔇 Remove console.log from getSteps function 2024-10-31 16:22:07 +01:00
Philipp Stracker
05657b8b27
♻️ Refactor Onboarding component and step handling 2024-10-31 15:21:41 +01:00
Philipp Stracker
426230bee9
🏗️ Add conditional routing to onboarding steps 2024-10-31 15:03:25 +01:00
Philipp Stracker
847bce3510
🎨 Standardize imports, remove unneccesary consts 2024-10-31 14:44:45 +01:00
Alex P.
5ad4cce8f7
Perform manual connection request 2024-10-31 09:47:06 +02:00
Alex P.
2ec94b1113
Update manual inputs labels for sandbox/live 2024-10-31 09:44:57 +02:00
Philipp Stracker
6e3664ade8
♻️ Extract onboarding state to custom hooks 2024-10-30 17:33:48 +01:00
Philipp Stracker
cff9919c78
♻️ Consolidate hook props 2024-10-30 17:19:47 +01:00
Philipp Stracker
fcf2a972a7
👔 Introduce new hook details 2024-10-30 17:17:36 +01:00
Philipp Stracker
ee2c374f79
♻️ Move constants to a central config file
Reason: The constants are also used by the store and are synced to the server. Their use is not isolated to the specific component
2024-10-30 17:02:01 +01:00
Philipp Stracker
6a30bb01b3
👔 Introduce new props in the Redux store 2024-10-30 16:56:42 +01:00
Philipp Stracker
49c24f56d0
🧑‍💻 Add a Reset-Store action for testing 2024-10-30 16:55:44 +01:00
Philipp Stracker
0faeb5fd6b
♻️ Separate eligibility flags from user input 2024-10-30 16:52:06 +01:00
Emili Castells
99d4c15ca6
Merge pull request #2738 from woocommerce/PCP-3819-Update-placeholder-links
Update placeholder links (3819)
2024-10-29 14:19:21 +01:00
inpsyde-maticluznar
52a1bb7383
Insert missing links 2024-10-29 13:03:24 +01:00
inpsyde-maticluznar
5d38233923
Create payment methods list 2024-10-29 12:39:44 +01:00
Philipp Stracker
98224690ee
🐛 Ensure the wizard displays a valid step 2024-10-29 12:31:58 +01:00
Philipp Stracker
3d05c65f50
New “isReady” flag to avoid invalid page content
Before this change, the onboarding wizard was briefly displayed on every page load
2024-10-28 18:57:39 +01:00
Philipp Stracker
6a80a016cf
♻️ MInor code organization 2024-10-28 18:56:25 +01:00
Philipp Stracker
46c7b84088
🐛 Add missing reducer for the “completed” flag 2024-10-28 18:27:57 +01:00
Philipp Stracker
ef60cca606
Integrate Redux store to onboarding naviagtion 2024-10-28 18:27:12 +01:00
Philipp Stracker
164af7f515
♻️ MInor reorganization of code 2024-10-28 18:11:04 +01:00
Philipp Stracker
4944c2427b
🧐 Add debug tool to restart onboarding 2024-10-28 18:10:30 +01:00
Philipp Stracker
2bf9832844
Separate logic for onboarding and settings 2024-10-28 17:56:23 +01:00
Philipp Stracker
dbd37fc282
Introduce “completed” flag for Redux store 2024-10-28 17:00:07 +01:00
Philipp Stracker
b369756cfd
🐛 Validate the initial tab, improve component 2024-10-28 16:58:50 +01:00
Philipp Stracker
0c16bfeb93
🔀 Merge branch 'trunk'
# Conflicts:
#	modules/ppcp-settings/resources/css/components/reusable-components/_settings-wrapper.scss
#	modules/ppcp-settings/resources/css/style.scss
#	modules/ppcp-settings/resources/js/Components/ReusableComponents/TabNavigation.js
#	modules/ppcp-settings/resources/js/Components/Screens/Dashboard/Dashboard.js
#	modules/ppcp-settings/resources/js/Components/Screens/Settings.js
2024-10-28 16:10:25 +01:00
Philipp Stracker
b95af5c1b3
Sync active tab with browser URL 2024-10-28 15:58:40 +01:00
Philipp Stracker
69ca811b96
Set container width based on active tab panel 2024-10-28 15:56:11 +01:00
Philipp Stracker
7ecbd6a1ca
♻️ Integrate the new TabNavigation component 2024-10-28 15:47:53 +01:00
Philipp Stracker
3c31297e10
New utility method to determine visible tabs 2024-10-28 15:44:27 +01:00
Emili Castells
e664052b62
Merge pull request #2733 from woocommerce/PCP-3813-eligibility-flags-for-redux
Determine feature eligibility for the Redux store; server-side logic (3813)
2024-10-28 15:31:15 +01:00
inpsyde-maticluznar
3a9f2a4a1f
Merge remote-tracking branch 'origin/trunk' into PCP-3814-Create-dashboard-placeholder-page-in-new-settings-module
# Conflicts:
#	modules/ppcp-settings/resources/js/Components/Screens/Onboarding/StepWelcome.js
2024-10-28 12:28:07 +01:00
inpsyde-maticluznar
8b67aa4265
Implements dashboard layout 2024-10-28 12:26:13 +01:00
inpsyde-maticluznar
2afc530af5
TODO implementation and partial status implementation on the dashobard page 2024-10-25 14:35:16 +02:00
Philipp Stracker
3c577c8b2d
Add new eligibility flags to Redux store 2024-10-25 13:01:01 +02:00
Philipp Stracker
cc3e52046b
🧐 Add console tool to dump the store contents 2024-10-25 12:59:29 +02:00
Emili Castells
80d58851af
Merge pull request #2732 from woocommerce/PCP-3810-Create-products-placeholder-page-in-new-settings-module
Create products placeholder page in new settings module (3810)
2024-10-25 11:08:30 +02:00
inpsyde-maticluznar
637a9c6dca
Merge remote-tracking branch 'origin/trunk' into PCP-3814-Create-dashboard-placeholder-page-in-new-settings-module 2024-10-25 06:46:51 +02:00
inpsyde-maticluznar
af4c2b0905
Create dashboard container 2024-10-25 06:45:01 +02:00
Philipp Stracker
a91b727121
Replace the debounce-hook with a control 2024-10-24 16:58:03 +02:00
inpsyde-maticluznar
fc51e7f1a3
Implement product view 2024-10-24 13:54:50 +02:00
Philipp Stracker
046e3d5699
Flush the debounced Redux handler on unmount
Ensure that pending changes are written to the store instead of discarding them.
2024-10-24 12:49:20 +02:00
Philipp Stracker
9629c86447
♻️ Make client ID and secret persistent 2024-10-24 12:47:30 +02:00
inpsyde-maticluznar
1ced06b24e
Implement business view 2024-10-24 06:35:48 +02:00
Philipp Stracker
7b12e65ca8
Integrate new Redux props to the welcome screen
The new fields are managed by a debounced field hook that instantly stores the field values in a local state and propagates the new value to the Redux store after a debouncing-delay
2024-10-23 18:17:08 +02:00
Philipp Stracker
52d04c7347
New state props for client ID and secret 2024-10-23 18:15:37 +02:00
Philipp Stracker
e20a6fdbce
🎨 Reorganize code 2024-10-23 18:14:25 +02:00