Commit graph

5122 commits

Author SHA1 Message Date
Philipp Stracker
37beb591d5
🔒️ Add array sanitizer for products field 2024-10-30 18:57:51 +01:00
Philipp Stracker
4102ba285b
👔 Add server-side onboarding profile details 2024-10-30 18:55:07 +01:00
Philipp Stracker
e28b6e35aa
♻️ Rename boolean getters/setters for data models
To make the function names more semantic
2024-10-30 18:52:10 +01: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
4457dfed12
Merge pull request #2570 from woocommerce/PCP-3535-fix-editor-paypal-buttons-grid
Do not add pay later button in editor (3535)
2024-10-30 11:46:23 +01:00
Emili Castells
c1ff2633e3
Merge pull request #2705 from woocommerce/PCP-2170_Fix_probs_with_autooptimize
Fix problems with autoptimize plugin (2170)
2024-10-30 10:41:52 +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
Philipp Stracker
98224690ee
🐛 Ensure the wizard displays a valid step 2024-10-29 12:31:58 +01:00
Philipp Stracker
dcb8d01370
⬇️ Use older version of navigation package
v 8.2.0 requires node 20, which we did not test yet
2024-10-29 11:55:33 +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
7a27c02763
💄 Use same padding for all onboarding screens 2024-10-28 18:00:23 +01:00
Philipp Stracker
0f523d7aae
💄 Adjust SCSS to address new component hierarchy 2024-10-28 17:57:05 +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
48d87100de
👔 Simplify settings page header for new UI 2024-10-28 16:33:26 +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
5f0fb376fb
♻️ Combine the import of onboarding styles 2024-10-28 15:50:51 +01:00
Philipp Stracker
cdd277d7ef
♻️ Fix node dependency
Data and Data-Controls are dev dependencies
2024-10-28 15:49:30 +01:00
Philipp Stracker
be216f3e50
💄 Style the new TabNavigation component 2024-10-28 15:48:36 +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
3b274d02af
👔 Make eligibility flags read-only 2024-10-25 13:29:21 +02:00
Philipp Stracker
7b596dbea5
👔 Resolve eligibility flags on server side 2024-10-25 13:02:22 +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
Emili Castells
d0723fe513
Merge pull request #2728 from woocommerce/PCP-3809-settings-data-store-welcome-screen
Settings data store welcome screen (3809)
2024-10-25 11:06:42 +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
Philipp Stracker
f047a9a54f
Minor change in the debounce generator helper 2024-10-24 16:57:36 +02:00