* set up SidebarNavigationScreen
* install deps
* GlobalStylesProvider
* Add labels to pages/sections
* get types in order
* get SettingItem working
* tidy up
* pass icon from PHP
* add icons to each Page
* layout styles
* edit site styles
* organize
* edit-site to 6.10
* unit tests
* lint
* lint
* Add changefile(s) from automation for the following project(s): @woocommerce/settings-editor, woocommerce, woocommerce/client/admin
* lint
* better linting
* [Settings] Create a route file to handle populating Settings (#52692)
* Add settings route
* Add changelog
* Add TODO comment
* Add changelog
* Rebase on sidebar changes
* Fix types and tests
* Fix path
* Convert to tab
* Update test
* Update sidebar to reflect the route with the active item and linking
* Add changelog
* Add changelog
* fix merge conflict errors
* Revert pnpm-lock.yaml
* [Settings] Update Modern Routes (#52757)
* update Sidebar
* cleanup
* Add changefile(s) from automation for the following project(s): @woocommerce/settings-editor
* export sidebar
* export route methods
* Revert "export route methods"
This reverts commit 46a6cd1e0a.
* handle modern pages
* Add changefile(s) from automation for the following project(s): @woocommerce/settings-editor, woocommerce
* cleanup
* remove export
* update tests
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
---------
Co-authored-by: paul sealock <psealock@gmail.com>
Co-authored-by: github-actions <github-actions@github.com>
* fix: changed core profiler industry types to the correct format
- changed profiler API to match what we're actually storing, Industry[]
- changed some core profiler steps to use the API instead of saving options directly
* Update shown for action when the user navigates away to ensure we do not show the same notice again
* No need to call addActionToShownOption on dismiss since we are calling it on page change
* Use apiFetch to avoid re-render
* Use apiFetch from @wordpress/api-fetch
* Add changefile(s) from automation for the following project(s): @woocommerce/customer-effort-score
* Fix lint issue
* Fix lint issue
---------
Co-authored-by: github-actions <github-actions@github.com>
* Fix CES style for WP 6.7 -- there has been HTML structure change with a different class name
* Add changefile(s) from automation for the following project(s): @woocommerce/customer-effort-score
---------
Co-authored-by: github-actions <github-actions@github.com>
In this PR, we consolidate TypeScript config files (using the 'include' setting) and JS test directory naming. The goal is to reduce the number of processed files during different build steps.
In this PR, we introduce and integrate a new webpack plugin, which hooks into `fork-ts-checker-webpack-plugin` and turns the specified TypeScript error codes into warnings to enable React 18 migration.
* moved files
* changed paths
* changelogs
* added eslintignore for admin subfolder as it has its own eslint command
---------
Co-authored-by: rjchow <me@rjchow.com>
* Ignore payment gateway suggestion ID variation part
When searching for the current gateway ID we will ignore the
part after :.
* Use a connect link when no WCPay account connected
This allows us more control over where to direct the user.
* Use the individual payment gateway enablement flow for WCPay
* Add changelog
* Add changelog
* Fix lint errors
* Prevent recalling installAndActivate when autoinstalling
If we have installAndActivate as a dependency, when isRequesting becomes false
it will cause a second, needless installAndActivate call and we end up with two
snackbar notices about plugins being installed and/or activated.
* Replace deprecated Button props
* Make the plugins installed&activated notice message more informative
* Fix object check
* Add changelog
* Remove WooPayments task item fill and use standard task item
* refact: Separate get suggestion
* Provide WCPay task action from PHP
* Don't point directly to WCPay pages, use connect links instead
* Remove WCPay action URL logic from the main Payments task
If WooPayments is supported, the dedicated task will superseed
the default payments task. There is no need to have special action
URLs.
* Lint fixes
* Use a WCPay connect link to defer to the client logic
* Fix WCPay task link when incentive is available
* Lint fixes
* Notify wc/admin/options store changes after the data is saved in the server and not before
* Add changelog file
* Remove the subscription to the OPTIONS_STORE_NAME since its trigered many times, using useSelect instead
* Add changelog file
* Add styling for dataviews with old nav
* Add toggle to toggle between new and old navigation
* Update dataviews dependency
* Fix width for list view
* Remove unused type
* Add changelogs
* Updated storybook and renamed stories to use the *.story.js/tsx format
* Renamed stories within product editor and wc admin package
* Include *story files in product editor package
* Add storybook pages workflow
* Remove the 'on' param in storybook-pages
* Add changelogs
* Fix failing tests
* Add dirname for any other webpack configs that rely on the woocommerce-admin one
* Fix React 18 warnings
* Remove unneeded storybook packages from components package
* Remove storybook workflow, to be added as a follow up instead
* Revert @storybook/react back to fix unit tests
* Product Editor: add storybook
* fix storybook
* Add products data views list
* Add navigation on the left
* Update edit site package
* Fix styling
* Add changelog
* Add wp/icons package to syncpack exception list
* Delete some unused stuff and address types
* Add changelog
* Remove un needed css
* Remove dependency on edit-site package
* WIP
* WIP
* WIP
* Fix storybook build
* Ignore storybook from version pinning
* add slug stories
* Add products data views list
* Add navigation on the left
* Update edit site package
* Fix styling
* Add changelog
* Add wp/icons package to syncpack exception list
* Delete some unused stuff and address types
* Add changelog
* Remove un needed css
* Remove dependency on edit-site package
* Fix custom status filters
* Make sure page size works with view config
* improve storybook
* rename file
* Add changefile(s) from automation for the following project(s): @woocommerce/product-editor
* Remove use of canvasMode and navigation context as it is not needed
* Remove wordpress/dom from syncpack
* Add changefile(s) from automation for the following project(s): @woocommerce/product-editor, woocommerce
* add edit-site style
* Add changefile(s) from automation for the following project(s): @woocommerce/product-editor
* remove not necessary file
* address feedback
* fix webpack configuration
* fix lint errors
---------
Co-authored-by: Lourens Schep <lourensschep@gmail.com>
Co-authored-by: Sam Seay <samueljseay@gmail.com>
Co-authored-by: github-actions <github-actions@github.com>
* Add products data views list
* Add navigation on the left
* Update edit site package
* Fix styling
* Add changelog
* Add wp/icons package to syncpack exception list
* Delete some unused stuff and address types
* Add changelog
* Remove un needed css
* Remove dependency on edit-site package
* Fix custom status filters
* Make sure page size works with view config
* Remove use of canvasMode and navigation context as it is not needed
* Remove wordpress/dom from syncpack
* Fix typo in initCustomFieldsToogle variable name
* Add changelog file
---------
Co-authored-by: Daniel W. Robert <danielwrobert@users.noreply.github.com>