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.
* 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>
* Add validation for global_unique_id in classic editor
* Fix an issue with validations in the text block
* Replace everything that is not number or hyphen in the product API
* Add pattern validation in the product and variation templates
* Add changelogs
* Increment regex to also accept empty string
* Fix e2e test
* Update update-stricter-global-unique-id
* Refactor to add steps in 'can create a simple product' test
* Remove unnecessary await
* Fill in shipping dimensions
* Add frontend verification step
* Get permalink from editor page
* Verify shipping dimensions
* Verify sku and gtin
* Fix label association for sku field
* Fill in shipping class
* Fill custom field
* Handle SKU auto-update before filling in SKU
* Changelog
* Changelog
* Add more specific locator for attributes "Add new" button
* Update comment for why click() is used instead of check() for toggle
* Fix incorrect selector for attributes "Add new" button
* Remove check for toggle being checked, as it is flaky
* Await isChecked()
* Scroll custom fields toggle into view if needed
* Make custom field toggling more reliable
* Break filling into a separate step
* Break filling and verifying of full description into separate steps
* Verify the description and fix verifying shipping details
* Make showing of description toolbar more reliable
* Suppress errant warning
* Suppress warning for conditional and add comment about why it is okay
* Remove unused const
* Fix image gallery state conflict with external consumer state
* Fix the image gallery removal conflict now that the image gallery is stateless
* Add changelog files
* Ignore the media if it is replaced by itseft
* Make use of GB Combobox for the product select
* Update E2E tests
* Add changelog
* Small CSS changes
* Fix create variable product E2E test
* Add changelogs
* Use our internal wrapper of the combobox
* A couple small fixes
* Fix bug and address feedback
* Address small formatting in comments
* Move search products back to consolidated function
* Commit at a functional state
* Change role to 'listbox'
* Add --highlighted class rules
* Fix overflow in create category modal
* Add countNumberOfItems
Fix multiple bugs
Refactor
Rename and move use-linked-tree file to linked-tree-utils
* Add comments
* Escape regExp
* Allow to select/remove with the enter key
* Add changelogs
* Fix unit tests
* Fix bug on css selector, since role was changed
* Fix bug in index calculation and handle focus on checkboxes and expander button correctly
* Only add activedescendant when something is highlighted
preventDefault when pressing arrowUp
* Fix bug: items array was being used instead of using linked tree
* Call onSelect when pressing enter
* Add guards to prevent tests breaking
* Add additional tests for SelectTree
* Add comments and rename some functions in linked-tree-utils
* Create combobox-control
* Exporting the combobox control
* Integrate the combobox control into the custom field names component
* Remove some non needed styles
* Add changelog file
* Fix comment text typo
Co-authored-by: louwie17 <lourensschep@gmail.com>
* Fix linter errors
---------
Co-authored-by: louwie17 <lourensschep@gmail.com>
* Add media query rules for mobile and fix rule for .block-editor-list-view-tree
* Add missing translation call
* Add small screen title to show product name on mobile
* Add changelog
* Add media-query for inserter-sidebar
* Close inserter when is mobile viewport
* Hide variation related notices when product type is not variable
* Revert "Hide variation related notices when product type is not variable"
This reverts commit 66a67b6ada.
* Hide variation related notices when product type is not variable