* Add woocommerce.com data source poller
* Change data source back to .com
* Fix namespace
* Make use of the sub_title prop to display payment cards
* Fix some styling issue and add TS types
* Rename admin script to keep it more generic
* Add br tag as allowed, and update expected data format
* Update styling
* Address PR feedback
* Render psuedo wc pay payment gateway in payment method table
* Fix lint errors
* Fix lint error
* Add setup event and make use of script_assets file
* Left align payment icons
* Fix feature import and update pageview track
* Fix broken test and add an extra one
* Fix payment method ordering persistance
* Remove the use of psuedo and addressed several PR related feedback
* Fix PHP lint errors
* Make sure track props use underscore
* Fix test
* Update comment
* Add await
* Add optional parameter to `/currency`'s `formatAmount` to display currency code.
To support rendering non-ambiguous results.
* Add the changelog entry.
* Add hide and show task list tests
* The start to adding tests for the activity panel
* Add activity panel tests and WP-API plugin on initialize
* Update task list tests to be more flexible
* Add changelog in package
* Update the re-enable task list logic to be more robust
* Use a more generic selector
* Make sure task list is shown in previous test
* Add test screenshot
* Remove screenshot and update logic
* Address PR feedback
* Add endpoint to hide task lists
* Migrate old setup task list hidden option
* Use option to store all hidden lists
* Add getter for deprecated options
* Migrate old task list options
* Move task lists into separate class
* Add TaskList class for individual task list control
* Update hidden checks to use TaskList api
* Update docs for hidden lists
* Update use of should_show_tasks to check for visible task lists
* Remove hide endpoint to reduce scope on PR
* Fix up failing tests
* Fix up rebase
* Add back in should_show_tasks with deprecation notice
* Add delay between payment tests
* Add initial task list render
* Add task list item render
* Separate task list menu component
* Fix click handling for tasks
* Add task started count data
* Scroll to top after selecting task
* Handle PR feedback
* Handle PR feedback round 2
* Initial set up for the WCAdminSettingsRegistry
* Make use of filter for admin settings
* Add wc/settings package and remove depreciated dropzone wrapper
* Make use of the getSetting function instead of accessing window directly
* Add comments
* Add changelog
* Remove un needed changes
* Update dropzone provider logic and fix styling
* Remove old css
* initial refactor
* Fix auto fill and write tests
* Removed autofill from country/region and added support for abbreviation regions
* Add changelog
* Add changelog for the component package
* Fix clear form for autofill
* Sentence case all the things
* Update a few more things that were missed on the first round
* update documentation titles to use title case
* Add changelog
* Handle PR feedback
* Revert readme changelog changes
* Revert changes to ALT text in dev documentation
* Revert a change to ALT text in dev documentation
* Fix failing tests
Co-authored-by: David Levin <davidlevin@Davids-MacBook-Pro-2.local>
Co-authored-by: Joshua Flowers <joshuatf@gmail.com>
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
* Fix end date for last periods
* Test February end date for leap year
* Add changelog and testing instructions
* Handle feedback
* Fix merge conflict
* Add changelog
* Update Table components to align texts and numeric a bit smarter
Text fields are left-aligned and numeric values should be right-aligned.
* Update a snapshot test
npm run test:client -- --updateSnapshot client/analytics/components/leaderboard/test/index.js
* Add tests for property isLeftAligned
* Do not retain values when switching between rules in the DateFilter component
* Add changelog entry
* Remove unnecessary use of the ternary operator
* Fix the changelog entry
* Add tests
* Add changelog entry
Co-authored-by: Chris <chris.aprea@automattic.comchris.aprea@automattic.comchris.aprea@automattic.com>
* Add initial plugin list components and marketing task
* Add marketing task styles
* Fix action button alignment
* Only allow specific plugin lists
* Add button to activate already installed plugins
* Record event when marketing plugin is installed
* Update plugin list when plugins are installed or activated
* Disable and set buttons as busy when installing/activating
* Update data source to use v2 controller
* Add changelog entry
* Add `hidden` legendPosition to `Chart`.
Sometimes, for example, when there is a single data set, there is no need for rendering the legend. It may even introduce more confusion than value. It seems interactive, but there is nothing you can do with it.
Fixes: https://github.com/woocommerce/google-listings-and-ads/issues/618
* Add `@storybook/addon-knobs` to devDependencies.
It was used but not explicitely stated.
* Add a changelog entry.
* Add tests for legendPosition in Chart component
Co-authored-by: Lourens Schep <lourensschep@gmail.com>
The deprecated (but not removed) `onChangeCallback` and `onSubmitCallback` props were not being called because of an error in the logic that checked for presence of the new callbacks (it was always truthy due to it having a fallback to an empty function).
This reverses the logic so that if the deprecated props are provided they will be called, if the new props (only) are provided they will be called instead.
This also pushes the removal of these back to 9.0.0, because in the past these deprecated version numbers had little thought behind them, but this gives a more realistic time frame for removal and an understanding that a *major* version will break compatibility, not a patch version as the old version number suggested.