* Updated mobile banner icon with cross-small gridicon
* Update analytics dashboard icons, removing use of dashicon
* Remove use of dash icon in tag component
* Remove dash icon from ellipsis menu
* Remove use of dashicon in calendar
* Update icon imports and remove use of Dashicon in collapsible list
* Remove Dashicon usage from store alerts as it is depreciated
* Remove dashicon usage in shipping label
* Fix up old css for icons
* Removed dashicon usage in favorite button
* Update the wordpress/icons package
* Add changelogs
* Fix broken test
* Remove remnants of legacy changelog script
* Add 2.3.0 section to TESTING-INSTRUCTIONS.md and moved all relevant instructions
* Update readme.txt with changelog from 2.3.1
* Add a new store to interact with WC Payments REST APIs
* Convert to Typescript
* Refactor payments store
* Fixed type on GET_PAYMENT_GATEWAYS_SUCCESS action name
* Added SettingDefinition
* Added PaymentSelectors type
* Updated Array<type> to string[]
* Update action name in test
* Move stub.ts out of test directory
* Set type for the test stub and change order type to number | ""
* Rename action type name
* Add changelog
* Follow _REQUEST _SUCCESS _ERROR action naming
* Add a new action and reducer for getPaymentGateway
* Change store key
* Move to packages/data
* Export store name
* Remove unused spec properties
* Move default payment gateways to separate file
* Add Stripe to default gateways
* Fix payfast image and visibility conditions
* Fix setup button action when no fields are present
* Fix localized string and help text
* Fix settings transform and add help text
* Show connection button if oauth connection URL exists
* Add fallback when no fields exist
* Remove ToS text in favor of help text
* Update payment action boolean check
* Add changelog entry
* Call existing filters for leaderboards.
Fixes category data not refreshing when selecting a different currency while using docs/examples/extensions/sql-modification
* Update changelog
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
* transform data
* working
* better
* check for marketplace suggestions
* changelog
* copy initialInstallableExtensions before transform
* parse locales server side
* deep equality
* Match remote data to local data
* reflect changes on UI
* fix keys
* Add method to collect post install scripts from payment gateway
* Add reusable JS method to add scripts
* Enqueue gateway script after plugin install
* Fix current method not found when resolving methods
* Add changelog entry
* Fix readme merge conflict
- Forward `autocompleter` prop from `CompareFilter` to `Search`.
Allow, to use the `custom` type of search,
previously it was complaining about lack of `autocompleter`,
even though it was provided.
- Move `path` in Storybooks example to a parameter, to allow setting it in unit tests.
- Add few tests for FilterPicker.
- it renders the basic storybook example without throwing an error
- it forwards `autocompleter` & `type` props
Fixes: woocommerce/woocommerce-admin#6890
* Add PluginInstaller class
* Redirect to referring page if one exists
* Store message and show after redirect
* Add transient notices feature
* Fix default and empty state of notices
* Use TransientNotices to display plugin notices
* Add transient notices readme
* Add feature unit tests
* Update notice queue client-side
* Add filter to queued option prior to notice creation
* Use the core/notices2 data store
* Fix filtered queued notices
* Add methods to get individual notices and queue
* Allow user ID specific notices
* Remove errant script asset dependencies
* Add user ID property to docs
* Use preloaded option instead of window var
* Refactor transient notices to directly use option instead of state
* Show error message from WP_Error in plugin installer
* Add tests around notice queue in client
* Add changelog entry
* Only fetch remote payment specs when marketplace suggestions enabled
* Fall back to default specs if remote fetch fails
* Change ruleset to object
* Add changelog entry
* Add notes helper method for date ranges
* Update two of the notes with date ranges
* Add tests and fix range logic
* Add changelog
* Update comments
* Update range name and added exception if invalid range passed in.
* Fix php unit tests
* Fix another test
* Extend the existing REST endpoint with gateway status data
* Add settings URL to response
* Add setup specific fields to response
* Fix controller class name
* Only pass required setting keys instead of fields
* Add changelog entry
* Update readme with changelog from 2.2.* releases
* Add 2.2.5 release to the changelog
* Update with 2.2.6
Co-authored-by: Lourens Schep <lourensschep@gmail.com>
* Replace google icon
* Remove note for Google Ads extension
* Replace extension in API OnboardingProfile
* Record event for new extension
* Replace extension in onboarding flow
* Replace extension benefits
* Change background colour of Google icon
* Fix svg warnings
* Add changelog entry
* Fix prettier error
* Add old note to obsolete list for removal
* Fix an issue with OBW when wc-pay and Jetpack are both being installed
* Add readme and testing instructions for woocommerce/woocommerce-admin#6957
* Add filters for the installed and activated plugins and tie into those filters for ensuring Jetpack is installed ahead of WCPay
* Update the get_script_asset_filename function calls to match new format
* Added e2e test for the coupons page
* Add changelog
* Remove typo in changelog
* Added payment method to onboarding data store
* Add reducer test
* Address feedback on reducer naming convention, isResolving, enabledMethods
* Move out types to live in its own island
* Add a comment to remind ourselves for utilizing payments data store for enabled payment gateways
* Update changelog
* Fix select-control component to preserve currently selected item on focus and de-focus
* No longer auto select option on initial render, pressing tab would only select if selection exists
* Fix to reflect the proper suggested changes
* Attempt to fix unnecessary search reset on pressing tab
* Fix for keyboard interactions and added accompanying tests
* Add task hierarchy support to task item
* Add optional tooltip
* Add changelog
* Update the logic to keep it more generic
* Fix up css
* Change level to numbers
* Switched the levels around where 1 is the highest priority
* Updated classnames and made sure tooltip does not show on completed item
* Partial change with new task-list
* Made use of the new CollapsibleList for the extended list
* Add test for expansion item
* Add changelog
* Add tracks for expand and collapse
* Update translation to plural/singular option
* Add disabled props to SelectControl
This commit adds "disabled" props to SelectControl
* Added changelog
* Fixed prop name
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
* Add a Basic test for FilterPicker.
Test that it renders the basic storybook example without throwing an error.
Move `path` in Storybooks example to a parameter, to allow setting it in unit tests.
* Forward `autocompleter` prop from `FilterPicker` to `Search`.
Allow, to use the `custom` type of search, previously it was complaining about lack of `autocompleter`, even though it was provided.
Fixes: https://github.com/woocommerce/woocommerce-admin/issues/6062.
* Add changelog entry.
* Move `FilterPicker` config creation closer to tests that use it.
* Remove unused type prop from `FilterPicker` tests.
Addresses https://github.com/woocommerce/woocommerce-admin/pull/6880/files#r620285400.
* Add changelog note also to `CHANGELOG.md`.
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
* Add initial task item component with the new task list
* Switch components to functional components
* Some minor updates from the last rebase
* Fix missing variables.
* Fix tests
* Add animation for the experimental list
* Fix lint error
* Add changelog
* Fix E2E tests
* Update PR suggestions and export list from experimental package
* Fix dismiss styling issue
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
* Use remote payment methods endpoint for payments list
* Use the generic payments step for the payments container
* Use field config to update options
* Move remote payments to separate folder and restore old payments
* Restore PaymentSetup
* Add changelog entry
A custom exception `NotesUnavailableException` will be thrown on attempts to load the "admin-note" data store using the `Notes::load_data_store()` method introduced in this PR.
All calls to `\WC_Data_Store::load( 'admin-note' )` were replaced with calls to the above method.
* Add login page wait script for e2e tests
* Re-navigate to login page, if initial selector does not exist
* Add screenshot if login page did not render
* Add screenshot code, and screenshot artifacts to GH action
* Update screenshot logic for login
* Update artifact task
* Update upload artifact workflow
* Update jest config to make sure the screenshots work on test failures
* Remove old screenshot code
* Add screenshots to daily e2e tests as well incase of failure
* Add changelog
* Add initial payment recommendations code for the payments settings
* Added request data for the recommended payments
* Some styling updates and make sure it does not show when marketplace suggestions is disabled
* Update url
* Update comment in php class
* Add tests
* Fix lint errors
* Remove unnecessary type
* Fix lint error
* Fix broken test
* Convert plugin package to typescript
* Fix lint errors
* Add changelog
* Add support for locale-data
* Fix track name
* Fix up the tests
* Fix lint errors
* Address PR feedback
* Add tests for option hydration
* Make types more robust in plugins reducer
* Made use of SlotFill component instead of page registry and router
* Removed console log, and fixed types
* Add newer version of i18n to data package, for newer types
* Make the request to WooCommerce.com more restrictive
* Fix path of import
* Update PHP with suggested changes
* Remove SlotFill with applyFilters
* Update copy and PR feedback
* Update package lock
* Updated package lock
* Fix the package lock
* Added dot, and some minor styling changes
* Add test instructions
* Remove PayPal for India
This commit removes PayPal payment option for India
* Added changelog
* Added testing instructions
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
* Add store timezone string to preloaded settings
* Get current timezone periods based on store timezone
* Use current moment object to append timestamps
* Add changelog and testing instructions
* Consolidate timezone logic into getStoreCurrentTime
* Use const for default datetime format
* Use store moment converted via tz
* Make testing instructions more clear
* Add information to date readme about timezones
* Add tests around getStoreTimeZoneMoment
* Allow any plugin to be installed or activated
* Add PluginInstaller class
* Redirect to referring page if one exists
* Store message and show after redirect
* Add changelog and testing instructions
* Rename extensions task list card.
* Remove unused function parameter.
* Fix extended task list view tracking event name.
* Move completed extension tasks to the end of the list.
* Add extension task list toggle to display options.
* Avoid toggle width changing based on status.
* Remove redundant prefix from event name.
* Add changelog entry.
* Handle an empty extension task list.
* Only show extension task list display options when tasks have been filtered in.
* Add database columns
* Add support for nonces in note actions
* Add test for nonces in note actions
* Fix db values should default to null
* Fix a bug where URLs had encoded ampersands
* Update variable naming for clarity
* Add throwing an exception when note name not found
* Add tests for nonces in the datastore
* Add changelog
* Fix default paramater name
* Add changelog
* Revert "Add changelog"
This reverts commit f842bc58e4db66c8a497ca4f38d1b0294590192d.
* Created Admin helper for helper functions
* Only set task_list to hidden on plugin update when store is less then day old
* Add onboarding skipped as well
* Add changelog
* WIP add details prop to summary number component. New optional prop to add additional information at the bottom.
* Update component readme and stories to include new prop
* Revert commits to use children instead of a new prop
* Render optional summary number component children
* Typo fix, doc improvement and add entry to changelog
* Add readme.txt entry
* Partial local version to run php8 unit tests
* Remove the post install scripts
* Remove tab
* Make sure woocommerce version contains patch number
* Remove unnecessary script
* Update bin settings and unit test script
* Remove phpunit binary
* Updated how php unit is being run
* Add specific phpunit version for php8
* Update bin phpunit composer.json
* Final cleanup of scripts
* Fix potential test where image is an object
* Move setting image below save
* Add changelog
* Do not convert obj/array to string for email_actions
* Remove some uses of tabs
* Set WP and WC version to minimum php 8 supported
* Remove unnecessary composer install within tests
* Add types
* Add type definitions for @wordpress/components
* Fix formatting
* Fix JSX return type
* Fix incorect type for rows
* Add null to return type for react component
* Add type definitions for @wordpress/components to main package
* Add changelog entry
* Remove TS filename from import
* Re-add @types/wordpress__components
* Modified MerchantEmailNotifications class
This commit modifies the class "MerchantEmailNotifications" in order to set the current user before the events tracking
# Conflicts:
# src/Notes/MerchantEmailNotifications/MerchantEmailNotifications.php
# src/Notes/MerchantEmailNotifications/NotificationEmail.php
# tests/notes/class-wc-tests-email-notes.php
* Added changelog
# Conflicts:
# readme.txt
* Added testing instructions
* Fixed changelog
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
* Update all references to of Loader::is_feature_enabled to use Feature class
* Check if feature is enabled instead of existence in deprecated feature method
* Add changelog entry
* Add method to enable features
* Add the navigation nudge note
* Add changelog entry and testing instructions
* Update note name
* Fix renamed note class name
* Use redirect to settings instead of directly enabling note
* Remove old feature settings filter
* Add warning and default to empty array for contains operation, when value is not array
* Add changelog
* Move option is array check and warning to the OptionRuleProcessor
* Added a check for the new_value as well, given we do the same for the old_value
* Update contrast and hover / active colors
* Update hover and active state of chevron using mask
* add test instructions and changelog entries
* Update readme.txt
Co-authored-by: David Levin <davidlevin@Davids-MacBook-Pro-2.local>
Co-authored-by: Dan Hauk <dan@danhauk.com>
Co-authored-by: Paul Sealock <psealock@gmail.com>
* Initial playwright
* Updated e2e to use playwright and typescript
* Update set up environment and jest package
* Add changelog
* Add await to uncheck
* Fix formatting
* Revert jset back to ~24, as >25 runs slower, see facebook/jestwoocommerce/woocommerce-admin#9457
* Removed some unnecessary uses of waitForSelector
* Fix eslint issue
* Fix the e2e tests with latest updates
* Running most tests, with typescript now
* Fix any outstanding queries for the tests to work
* Update changelog
* Remove unnecessary jest version and unnecessary transform setting
* Fix test case broken after rebase
* Add fix to make e2e tests more robust
* Making sure dropdown value is correct
* Reove the wcpay condition for features number
* Check for function before calling
* Add comment & changelog note
Co-authored-by: Lee Willis <lee@ademti-software.co.uk>
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
* Refactor benefits component to functional component
* Update to useSelect and useDispatch
* Use state to store installing state
* Separate benefits components
* Add missing translator comments
* Don't show benefits screen when already completed
* Add benefits step tests
* Add changelog entry and testing instructions
* Close activity panels by default and track shown
* Add task list shown data to tracks
* Add changelog and testing instructions
* Fire the panel tracks again when the task list is hidden
Fixeswoocommerce/woocommerce-admin#6488
Changes.
* See the issue for the discussion, but we're changing the behaviour of triggering the connection flow as part of this. Before it was required that both wc-services and wc-admin were installed before triggering the flow.
* Also the plugins value was not being updated properly in the new flow, but plugins is not used in any useful way in the onboarding profile, so I have removed it completely. We now rely on the actual installed plugins to determine what is installed/activated.
* Add CES survey for adding product categories and tags
* Update readme and testing instructions
* Add CES survey for adding product attributes
* Change logic to use number of rows in tags table
* Replace addslashes with esc_js, use JS variables pagenow and adminpage
* Added "MailPoet" option to new Business Details step
This commit adds "MailPoet" option to the new Business Details step
* Modified the Creative Mail copy
* Added changelog
* Added testing instructions
# Conflicts:
# TESTING-INSTRUCTIONS.md
* Fixed testing instructions
* Fixed e2e tests
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>