Commit graph

5100 commits

Author SHA1 Message Date
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
Philipp Stracker
5f90949c7d
Refactor the model class, add the new sanitation 2024-10-24 16:48:44 +02:00
Philipp Stracker
6bbb1d83e6
Add data sanitation logic for REST endpoints 2024-10-24 16:27:40 +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
317ba4e8ec
Extend the debounce helper with flush & cancel 2024-10-24 12:48:33 +02:00
Philipp Stracker
9629c86447
♻️ Make client ID and secret persistent 2024-10-24 12:47:30 +02:00
Emili Castells
9f3e8a0723
Merge pull request #2714 from woocommerce/PCP-3347-rework-location-settings
Use basic redirect gateway when checkout smart buttons disabled
2024-10-24 11:10:43 +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
Philipp Stracker
e4430996ca
♻️ Change naming from “update” to “set” 2024-10-23 18:12:17 +02:00
Philipp Stracker
c5e8a85acf
♻️ Rename store selectors
Selectors now only differentiate between persistent or transient data
2024-10-23 18:11:09 +02:00
Philipp Stracker
a0dcfc1bad
Integrate Redux store with the welcome screen 2024-10-23 16:31:00 +02:00
Philipp Stracker
550812b746
♻️ Replace component state with props 2024-10-23 16:30:35 +02:00
Philipp Stracker
7592938487
Update REST endpoint to store new attributes 2024-10-23 16:30:03 +02:00