Commit Graph

853 Commits

Author SHA1 Message Date
Albert Juhé Lluveras 540a191b57 Use X-WP-Total header to set the total number of items in tables (https://github.com/woocommerce/woocommerce-admin/pull/952)
* Use X-WP-Total header to set the total number of items in tables

* Improve naming

* Improve tests

* Make getReportItems() return a 'data' property by default

* Make getSummary prop behavior more clear
2018-11-29 08:03:04 -06:00
Allen Snook b27aa9b0aa Merge pull request woocommerce/woocommerce-admin#946 from woocommerce/update/0.2.0
Roll version to 0.2.0
2018-11-28 18:53:18 -08:00
Paul Sealock 2a4b9bada9 Merge pull request woocommerce/woocommerce-admin#951 from woocommerce/fix/order-statuses-prefix
Remove order statuses "wc-" prefix
2018-11-29 15:01:06 +13:00
Albert Juhé Lluveras d59e5803d3 Hide selected items from autocomplete dropdown (https://github.com/woocommerce/woocommerce-admin/pull/932) 2018-11-28 16:55:11 -06:00
Albert Juhé Lluveras c65709f2db Fix false positives in Reports stats resolvers (https://github.com/woocommerce/woocommerce-admin/pull/955) 2018-11-28 13:08:53 -06:00
Paul Sealock 0ab5c735be Remove order statuses wc- prefix 2018-11-28 15:58:17 +13:00
Allen Snook d223eb25fd Roll to 0.2.0 2018-11-27 13:12:16 -08:00
Kelly Dwan 4b8969acc7 chore(release): publish
- @woocommerce/components@1.1.0
 - @woocommerce/date@1.0.2
 - @woocommerce/navigation@1.1.0
2018-11-27 15:57:27 -05:00
Jonathan Belcher e2faa2fee2 Tag component snapshots (https://github.com/woocommerce/woocommerce-admin/pull/877)
* Tag component snapshots

* Make snapshots better

* Update snapshots
2018-11-27 13:57:52 -05:00
Kelly Dwan 8828345f86 Remove import from local files (https://github.com/woocommerce/woocommerce-admin/pull/939)
These are exported packages, they can’t rely on any local files.
2018-11-27 10:46:22 -08:00
Albert Juhé Lluveras 5fe5dbe5cd Categories table (https://github.com/woocommerce/woocommerce-admin/pull/903)
* Merge table stores

* Add Categories table

* Add numberFormat to non-currency numbers displayed to the user in the Categories Table

* Rename 'Coupons' to 'Categories' in Categories table title

* Update Categories table to use the ReportTable
2018-11-27 10:44:03 -08:00
Allen Snook dbb386c6e5 Merge pull request woocommerce/woocommerce-admin#938 from woocommerce/fix/937-js-translations
Call wp_set_script_translations when possible
2018-11-27 09:50:51 -08:00
Robert Elliott 0a134d2d53 Merge pull request woocommerce/woocommerce-admin#910 from woocommerce/fix/chart-empty-data
Bug: noticed a new NaN error caused by attempt to draw chart with empty data
2018-11-27 11:39:40 +02:00
Allen Snook a7667c2aff Call wp_set_script_translations when possible 2018-11-26 16:18:36 -08:00
Jonathan Belcher eddf8bc609 Remove duplicate config
https://github.com/woocommerce/wc-admin/pull/618#issuecomment-441742419
2018-11-26 15:54:50 -05:00
Jonathan Belcher a308fcc830 Adds snapshots for the Split Button component (https://github.com/woocommerce/woocommerce-admin/pull/891)
* Adds snapshots for the Split Button component

* Update snapshots

* Remove duplicate test
2018-11-26 13:44:05 -05:00
Albert Juhé Lluveras 0cbe3034d8 Merge report tables (https://github.com/woocommerce/woocommerce-admin/pull/928)
* Merge report tables

* Remove unnecessary semicolon

* Improve sorting of variables

* Rename props to tableProps in ReportTable
2018-11-26 08:01:20 -06:00
Robert Elliott 2ac101f1c2 fix check on this.props.data 2018-11-26 12:04:37 +02:00
Albert Juhé Lluveras b84fce8580 Add Summary to Products table (https://github.com/woocommerce/woocommerce-admin/pull/904)
* Add Summary to Products table

* Use numberFormat() in tables summary
2018-11-25 21:41:56 -06:00
Albert Juhé Lluveras 0acc43a551 Use numberFormat() to format all non-currency numbers in tables (https://github.com/woocommerce/woocommerce-admin/pull/913) 2018-11-25 21:31:38 -06:00
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
Robert Elliott 427d0ac7dd combine isRequesting and check that there is data 2018-11-23 10:31:50 +02: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 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 ab70ef4099 Chart: Persist orderedKeys between state changes 2018-11-22 13:12:03 +13: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 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 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