* Migrate woo data navigation store to TS
* Add changelog
* Fix action type
* Update packages/js/data/src/navigation/reducer.ts
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
* Add a doc comment to MenuItem type
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
* Do not create default shipping zones when a shipping zone already exists
* Add changelog
* Use woocommerce_admin_skipped_creating_default_shipping_zones to avoid triggering spotlight tour
* Set woocommerce_admin_reviewed_default_shipping_zones to yes to prevent spotlight tour for the existing shipping zones
* Remove WCPay Subscriptions offer page experiment
This removes all code added in PR#32957 as experiment has ended.
(WooCommerce > Subscriptions admin menu item and empty state offer screen)
* Add changelog entry
* Make the php file valid
* Remove code that's no longer in PHP.
mysql_* functions were removed in PHP 7.0
* Remove deprecated setting.
This only helps detecting \r as end of line and that should only be used in old MacOS 9 which is 20 years old by now.
* Changelog
* Added compulsory file comment.
* Removed forgotten phpcs flag
* ...and more cleanup.
* Implement filtering by status in list table
* Respect ‘show_in_admin_status_list’ in list table
* Display correct status name for ‘draft’ and ‘trash’ post statuses
* Renamed e2e to e2e-legacy
* Moved e2e folder to tests/e2e
* Updated gitignore
* Updted init script to work with wp-env
* Updated readme
* Updated commands to match new test structure
* Updated workflow to work with new test structure
* Added changelog
* turned off alternate wp cron in test
* Fixed path to playwright config
* Renamed e2e to e2e-pw
* Renamed e2e-legacy to e2e
* Updated e2e-pw path
* Fixed workflow
* Fixed csv test
* Updated .gitignore
* Removed puppeteer specific step
* Add media uploader component
* Expand on mocked examples in storybook
* Add styling
* Move MediaUploder out of index
* Add changelog entry
* Handle PR feedback
* Add readme
* Fix missing media utils types
* Rebase and use variant instead of isSecondary for Button
* Fix up lock file
* Fix up lint errors
* Add initial draggable list component
* Add changelog entry
* Add drag and drop index
* Add util for checking target drop index
* Add handle component
* Rename component to SortableList
* Use dragged list item for placeholder height
* Add onOrderChange prop to subscribde to updates
* Throttle the drag over event
* Add base styles
* Add utils tests
* Add component tests
* Export component
* Update changelog entry
* Add readme
* Escape pipe in readme
* Early draft of SplitButton component.
* Changelog for SplitButton component.
* Rename SplitButton to SplitButtonDropdown, apply styles to address toggle button location/size, take primary button from children.
* Address button variant styles
* Rename 'Default' SplitButtonDropdown story to 'Secondary' for clarity.
* Add a SplitButtonDropdown story where the component is disabled.
* README for SplitButtonDropdown component.
* Add disabled prop to SplitButtonDropdown README.
* Add a SplitButtonDropdown story where some but not all actions are disabled.
* Restore PrimaryDisabled story for SplitButtonDropdown.
* Reorganize SplitButtonDropdown properties inheritance to allow both disabled and variant to apply to both the main and toggle buttons.
* Rename SplitButtonDropdown to SplitDropdown.
* Hardcode menuIcon and menuIconExpanded in SplitDropdown.
* Fix outdated stylesheet import for SplitDropdown.
* Update SplitDropdown changelog to new component name.
* Update variable names that reference Actions to Items.
* Hardcode expanded/collapsed toggle button icons without extraneous const declarations.
* Use classNames() helper fn for className concatenation.
* Increase width of SplitDropdown toggle button.
* Add a specific className to the root ButtonGroup element of SplitDropdown.
* Simple rendering test for SplitDropdown.
* For consistency, move Button text out of props in SplitDropdown README and story.
* SplitDropdown does not render a toggle button if there is nothing to put in the menu.
* Fix variant prop type declaration in SplitDropdown.
* Improve SplitDropdown test: remove snapshot, add toggle click.
Co-authored-by: Joshua Flowers <joshuatf@gmail.com>
* dev: moved shipping tour into guided tours folder
* dev: moved store address tour to guided-tour folder
* dev: updated imports for store address tour code move
* dev: move add-product-tour to guided-tours
* dev: update imports for add-product-tour code move
* Column sorting for the COT admin list table.
* Add filter for easier extensibility.
* Implement date based filtering within the admin order list table.
* Implement customer-based filtering within admin order list table.
* Allow filtering down to no results, better management of http_referer state.
* Changelog.
* Bring up-to-date, fix some conflict resolution mis-steps.
* Address coding standards.
* Remove unused import.
* Add initial product form action buttons to form
* Add new edit page and allow for updating and creating products
* Move crud functions to helper hook to keep things seperated better
* Add changelog
* ADd package changelogs
* Add isPending selector to products store
* Fix trash screen showing up when deleting product and add loading indicators
* Add extra types to Product type
* Update track names and add product data to tracks
* Update track logic when product is published
* Remove the Image section for now, to prevent confusion as it is not ready yet
* Add tests for the product form actions
* Update copy for publish & duplicate
* Remove unused code
* Set window.location correctly with href
* Reset changes in pnpm lock
* Moved pending action variables to product helper and updated buttons to reflect new suggestions
* Fix backwards compabitibility issue with Form changes
* Add switch to draft button
* Use WC_Order_Query for REST API v3 requests when COT is enabled
* Remove pre-COT internal meta keys from metadata in REST order responses
* Add changelog
* Add unit tests
* Fix test in `ProductAttributesLookup\FiltererTest`
Some tests in this class relied on a particular ordering of an array of IDs returned by a query with an `ORDER BY` that doesn’t really disambiguate sorting (all rows have the same values for the fields). As such, `assertEquals()` can’t be used to make sure arrays had the same values.
* Use `get_internal_meta_keys()` from a CPT instance to hide certain meta on COT REST response
* Move COT REST test outside of the COT datastore tests
* Fix typo
* Remove unnecessary imports
* Make ProfileItems properties optional
* Remove skip button codes and replace them with SkipButton component
* Add SkipButton component
* Add changelog
* Add back continue button callback
* Apply popover styles globally
* Add skip button on the industry step
* Add skip button on the product types step
* Add skip button on the Business Details step
* Support onSkipped callback
* Record skip event
* Add skip event track for industry, product types, and business details
* Add SkipButton to the theme step
* Update snapshot
* Change track name to separate business details and free features
* Add changelog
* Remove unused code
* Update product types test snapshot
* Add back UsageModal on Continue click
* Update e2e tests to use Skip
* Use button selector for skip btn
* Fix duplicate event dispatch
* Do not call onClose and onContinue during the rendering -- it causes cannot update a component while rendering a different warning. Instead, call them when the button is clicked
* Skip the profiler without rendering usage modal when woocommerce_allow_tracking is set
* Skip the profiler without rendering usage modal when woocommerce_allow_tracking is set
* Go to the next step when allowTracking is yes
Add screen reader labels to improve accessibility in various locations.
* Adding missing table header labels
* Adding missing form field labels
* Adding missing form field label
* Adding missing form field labels — Ideally we would add these with `<labe>` tag (may be hidden with `screen-reader-text` class), but playing safe here to prevent CSS style issues.
* Adding missing form field label
* Changing `aria-label` attribute to actual `<label>` tag
* Rebase; add changelog.
Co-authored-by: barryhughes <3594411+barryhughes@users.noreply.github.com>
Add method in utils to check whether posts and order tables are in sync.
* Add changelog.
* Fix Yoda condition
Co-authored-by: Nestor Soriano <konamiman@konamiman.com>
* Add e2e test to check ability to add and remove regions from shipping zone
* Add changelog file
* skip test in order to check CI
* add skipped test back in
* group shipping zone tests to avoid concurrency issues
* update assertions relevant to added zone region
* update test file
* update test to select appropriate delete based on other tests
* Ensure the correct Shipping Zone has been removed
* remove attempt to delte zone via front end as API call will handle this
* Update store details task complete logic
Mark as completed if the store address, city and postcode are set.
* Add changelog
* Update store details test