Commit Graph

902 Commits

Author SHA1 Message Date
Albert Juhé Lluveras e4f05f31cb Make ChartPlaceholder have the same height than the resulting Chart (https://github.com/woocommerce/woocommerce-admin/pull/908)
* Make ChartPlaceholder have the same height than the resulting Chart

* Update Chart docs
2018-11-23 07:54:53 -06:00
Albert Juhé Lluveras 2057741853 Merge table stores (https://github.com/woocommerce/woocommerce-admin/pull/896) 2018-11-22 17:12:12 -06:00
Paul Sealock 77589bae6f Merge pull request woocommerce/woocommerce-admin#902 from woocommerce/fix/chart-placeholder
Chart: persist orderedKeys when requesting data
2018-11-23 09:57:45 +13:00
Albert Juhé Lluveras 23d032d675 Remove unnecessary IF in reports/utils.js (https://github.com/woocommerce/woocommerce-admin/pull/909) 2018-11-22 14:49:52 -06:00
Paul Sealock 7d65df783c Chart: Persist orderedKeys between state changes 2018-11-23 09:49:28 +13:00
Albert Juhé Lluveras 56d3a69d13 Default charts to 'time-comparison' (https://github.com/woocommerce/woocommerce-admin/pull/905)
* Default charts to 'time-comparison'

* Fix broken test in ReportChart
2018-11-22 07:03:35 -06:00
David Levin ff2c0014b5 Merge pull request woocommerce/woocommerce-admin#883 from woocommerce/update/coupon-report-summary-numbers
Update coupon and category report summary numbers to match design
2018-11-21 20:11:05 -08:00
David Levin 222a70608a Update package-lock.json 2018-11-21 20:59:11 -07:00
David Levin c3275fd4c9 Update order of summary numbers and remove product count 2018-11-21 20:52:24 -07:00
Paul Sealock 92763e69bb Merge pull request woocommerce/woocommerce-admin#901 from woocommerce/fix/persist-orderedKeys
Chart: Persist orderedKeys between state changes
2018-11-22 13:17:38 +13:00
Paul Sealock ab70ef4099 Chart: Persist orderedKeys between state changes 2018-11-22 13:12:03 +13:00
Robert Elliott 616bf6e434 Merge pull request woocommerce/woocommerce-admin#818 from woocommerce/try/chart-as-package
Try: chart component as a package part 1
2018-11-21 16:55:04 +02:00
Robert Elliott fe66aa9623 updated tests remove layout 2018-11-21 16:41:09 +02:00
Robert Elliott 24758bc80d squashed commits for chart packaging
expand formatting function to xFormats

adding getTooltipValueFormat

remove old chart examples

remove magic numbers and use variables

refactor getTooltipRowValue

update package-lock

allow function formatters and use @wordpress/elements
2018-11-21 16:10:56 +02:00
Paul Sealock 01259eaa24 Merge pull request woocommerce/woocommerce-admin#898 from woocommerce/fix/gutenberg-popover-refresh
Update uses of Gutenberg popover for content sizing
2018-11-21 16:04:54 +13:00
Paul Sealock f4c2140258 Update uses of Gutenberg popover for content sizing 2018-11-21 12:00:40 +13:00
Albert Juhé Lluveras 2a95345bb9 Add chartMode property to filters configuration (https://github.com/woocommerce/woocommerce-admin/pull/884)
* Add chartMode property to filters configuration

* Add tests

* Cleanup

* Add chartMode propType to filters
2018-11-20 16:21:47 -06:00
Kelly Dwan 38ef25a272 Add missing dependency from components package (https://github.com/woocommerce/woocommerce-admin/pull/890) 2018-11-20 14:23:42 -05:00
Paul Sealock 1a9ce46cdb Merge pull request woocommerce/woocommerce-admin#764 from woocommerce/add/variations-table
Product Detail: Add Variations Table
2018-11-20 13:48:37 +13:00
Paul Sealock 67c7dabc29 Add Variations table 2018-11-20 13:42:55 +13:00
Paul Sealock 762cc3d9dd Merge pull request woocommerce/woocommerce-admin#840 from woocommerce/add/release-notes-note-pr-template
Add a note about using SwaggerHub in PR template
2018-11-20 13:26:59 +13:00
Paul Sealock 38264239fc Merge pull request woocommerce/woocommerce-admin#824 from woocommerce/add/product-detail-link
Add/product detail link
2018-11-20 13:14:34 +13:00
Paul Sealock 0a16d09a40 Merge pull request woocommerce/woocommerce-admin#841 from woocommerce/fix/chart-settings-persistence
Chart: Persist interval and chart type
2018-11-20 13:01:39 +13:00
Paul Sealock b7acbd9b2f Add Product Detail link in table 2018-11-20 12:57:36 +13:00
Paul Sealock 0d59998625 Persist chart settings 2018-11-20 12:55:30 +13:00
Albert Juhé Lluveras 209a200e78 Fix wrong variable name in Legend tests (https://github.com/woocommerce/woocommerce-admin/pull/889) 2018-11-19 14:27:06 -06:00
Albert Juhé Lluveras 9938707970 Add Taxes report table (https://github.com/woocommerce/woocommerce-admin/pull/881)
* Add Taxes report table

* Add taxes autocompleter to Search

* Minor fixes

* Improve @TODO comment explanation
2018-11-19 09:55:15 -06:00
renovate[bot] 982e2ccc76 chore(deps): update dependency webpack to v4.26.0 (https://github.com/woocommerce/woocommerce-admin/pull/888) 2018-11-19 09:55:29 -05:00
renovate[bot] e3e0af6427 chore(deps): update dependency concurrently to v4.1.0 (https://github.com/woocommerce/woocommerce-admin/pull/886) 2018-11-19 09:38:32 -05:00
renovate[bot] 0f5bee1dd8 chore(deps): update dependency recast to v0.16.1 (https://github.com/woocommerce/woocommerce-admin/pull/885) 2018-11-19 09:34:51 -05:00
renovate[bot] 126aaf3e89 chore(deps): lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/887) 2018-11-19 09:31:10 -05:00
Albert Juhé Lluveras 2acdd04d7a Remove duplicated 'Coupons' menu entry and reorder them (https://github.com/woocommerce/woocommerce-admin/pull/878) 2018-11-16 14:34:40 -06:00
Kelly Dwan 741f5cc6c6 chore(release): publish
- @woocommerce/components@1.0.1
 - @woocommerce/date@1.0.1
2018-11-16 15:31:11 -05:00
Kelly Dwan 87cf118878 Remove imports from file that doesn’t exist in packages (https://github.com/woocommerce/woocommerce-admin/pull/876) 2018-11-16 14:31:20 -05:00
renovate[bot] 098b24e99e fix(deps): update dependency @babel/runtime-corejs2 to v7.1.5 (https://github.com/woocommerce/woocommerce-admin/pull/865) 2018-11-16 09:14:34 -05:00
renovate[bot] 97faa52909 fix(deps): update dependency d3-array to v2 (https://github.com/woocommerce/woocommerce-admin/pull/872) 2018-11-16 09:13:50 -05:00
Jonathan Belcher f167c27b5e Adds UI wiring for Coupons chart and summary (https://github.com/woocommerce/woocommerce-admin/pull/724)
* Adds UI wiring for Coupons chart and summary

* Update for changes in master

* Update to use current method

* Remove accidental paste

* Fix typo

* Seperate WooCommerce deps
2018-11-16 08:39:29 -05:00
Jonathan Belcher 8ddcb7ce4a Adds UI wiring for Catgories chart and summary (https://github.com/woocommerce/woocommerce-admin/pull/725)
* Adds UI wiring for Catgories chart and summary

* Use new format for charts

* Use swagger api

* Get rid of store references

* Final touch ups

* Seperate out WooCommerce dep
2018-11-16 08:33:58 -05:00
Albert Juhé Lluveras cc86233e0f Add Coupons report table (https://github.com/woocommerce/woocommerce-admin/pull/867)
* Add Coupons report table

* Fix propTypes warning in CouponsReportTable

* Remove unnecessary constructors from tables
2018-11-15 21:35:10 -06:00
Albert Juhé Lluveras ba7d6ef29f Minor fixes to stores (https://github.com/woocommerce/woocommerce-admin/pull/868)
* Minor fixes to stores

* Fix 'parameters' typo
2018-11-15 21:32:11 -06:00
Kelly Dwan 94200cbbc1 chore(release): publish
- @woocommerce/components@1.0.0-alpha.1
 - @woocommerce/csv-export@1.0.0-alpha.1
 - @woocommerce/currency@1.0.0-alpha.1
 - @woocommerce/date@1.0.0-alpha.1
 - @woocommerce/navigation@1.0.0-alpha.1
2018-11-15 18:31:20 -05:00
Allen Snook d8dd2a0083 Update README.md 2018-11-15 13:13:35 -08:00
renovate[bot] 9f390ba0da Pin dependencies (https://github.com/woocommerce/woocommerce-admin/pull/863)
* Pin dependencies

* Update Package-lock.json
2018-11-15 14:59:34 -05:00
Kelly Dwan 2a9cb6509b Build: Move components to packages dir (https://github.com/woocommerce/woocommerce-admin/pull/804)
* Move components to packages folder

* Update documentation generator to handle packages/components and client/components

* Update component locations

* Update CSS build process

* Remove react-dates css, this is already included by gutenberg

* Fix CSS style - single quotes

* Fix incorrect imports

* Update package-lock with new dependencies

* Update component locations for devdocs

* Fix location of tests
2018-11-15 13:16:23 -05:00
Allen Snook e150ce4034 Merge pull request woocommerce/woocommerce-admin#851 from woocommerce/add/admin-notices-rest-api-unit-tests-2
Add admin notices REST API unit tests
2018-11-15 09:24:17 -08:00
Albert Juhé Lluveras 8997d4ca26 Update chart breakpoints (https://github.com/woocommerce/woocommerce-admin/pull/838)
* Update chart breakpoints to match the other parts or wc-admin

* Make chart have always the specified height so it matches the legend total label

* Remove obsolete test

* Remove exports no longer needed

* Remove @wordpress/viewport dependency from chart.js

* Update chart docs

* Make tooltipPosition PropType more strict
2018-11-15 09:27:55 -06:00
Peter Fabian 0374119245 Added zero padding to hours in unit tests. (https://github.com/woocommerce/woocommerce-admin/pull/858) 2018-11-15 08:19:13 -05:00
Jonathan Belcher 2dbe3e8cc7 Adds UI wiring for Taxes chart and summary (https://github.com/woocommerce/woocommerce-admin/pull/779)
* Adds UI wiring for Taxes chart and summary

* Update to latest method for creating summary/chart

* Switch out API for swagger

* Fix copy pasta

* Implement swagger api

* Update config to match swagger API

* Code review fixes

* Remove store code as it isnt used
2018-11-14 16:04:59 -05:00
Jonathan Belcher 5132e81b7c Fixes code comments on return value type (https://github.com/woocommerce/woocommerce-admin/pull/850) 2018-11-14 15:33:13 -05:00
Allen Snook 384ef910fd Merge pull request woocommerce/woocommerce-admin#842 from woocommerce/renovate/pin-dependencies
Pin dependency phpunit/phpunit to 6.5.13
2018-11-14 11:39:50 -08:00