Commit Graph

1370 Commits

Author SHA1 Message Date
Paul Sealock f8df315c27 Merge pull request woocommerce/woocommerce-admin#1222 from woocommerce/renovate/marked-0.x
Update dependency marked to v0.6.0
2019-01-03 12:49:44 +13:00
Timmy Crawford a1887eb4d7 Prepping for 0.4.0 2019-01-03 12:32:00 +13:00
Paul Sealock 812cb17bd5 Merge pull request woocommerce/woocommerce-admin#1215 from woocommerce/fix/date-range-focus-endDate
DateRange: change focusInput prop on input focus
2019-01-03 10:48:51 +13:00
Paul Sealock 37fe2eda00 Merge pull request woocommerce/woocommerce-admin#1219 from woocommerce/renovate/eslint-plugin-react-7.x
Update dependency eslint-plugin-react to v7.12.1
2019-01-02 16:02:08 +13:00
Paul Sealock ede9adda32 Merge pull request woocommerce/woocommerce-admin#1223 from woocommerce/fix/search-css-tags
Fix/search css tags
2019-01-02 15:54:06 +13:00
Renovate Bot f112ddfbaa Update dependency eslint-plugin-react to v7.12.1 2019-01-02 02:51:54 +00:00
Paul Sealock c6b466694c DateRange: change focusInput prop on input focus 2019-01-02 15:46:40 +13:00
Paul Sealock 1401bc1bd1 Search: make certain styles just for inlineTags 2019-01-02 15:44:53 +13:00
Paul Sealock 7bb9265383 Merge pull request woocommerce/woocommerce-admin#1217 from woocommerce/fix/css-lint-errors
CSS lint: fix errors
2019-01-02 15:37:35 +13:00
Renovate Bot 9ae31a6d60 Update dependency marked to v0.6.0 2019-01-02 01:47:50 +00:00
Paul Sealock 49fe2c1f93 CSS lint: fix errors 2019-01-02 12:38:11 +13:00
Albert Juhé Lluveras da8c49c90f Update chart interval thresholds (https://github.com/woocommerce/woocommerce-admin/pull/1214) 2019-01-01 23:30:28 +01:00
Paul Sealock 5bf4d95acc Merge pull request woocommerce/woocommerce-admin#1207 from woocommerce/renovate/lock-file-maintenance
Lock file maintenance
2019-01-01 11:30:38 +13:00
Renovate Bot 2e0468083d Lock file maintenance 2018-12-31 06:55:16 +00:00
Timmy Crawford 78ca63a72d Dashboard: Add Leaderboard Component (https://github.com/woocommerce/woocommerce-admin/pull/1198)
* Create Leaderboard component. Update Top Selling Products to use it.

* Use date picker values in Top Selling Products.

* Convert top selling products tests into leaderboard tests

* Updates per feedback.

* Skipping failing test for now.
2018-12-31 14:42:46 +08:00
Joshua T Flowers 7bbdd78bde Add missing intervals to product reports (https://github.com/woocommerce/woocommerce-admin/pull/1200)
* Add missing intervals to product reports

* Fix failing tests for product stats API

Before and after query should be within today's date since missing intervals for other days will be filled in with remaining dates.
2018-12-31 13:20:22 +08:00
Albert Juhé Lluveras 029ff9cc9c Show today charts up to the current hour (https://github.com/woocommerce/woocommerce-admin/pull/1203)
* Show today charts up to the current hour

* Fix tests

* Fix doc comment
2018-12-28 10:10:40 -08:00
Joshua T Flowers 2d5e592a10 Update chart button active state for dashboard charts (https://github.com/woocommerce/woocommerce-admin/pull/1202)
* Update chart button active state for dashboard charts

* Add default active state when no query is present
2018-12-28 09:59:05 -08:00
Joshua T Flowers 8dc3398636 Extract IE11 specific styles to IE stylesheet (https://github.com/woocommerce/woocommerce-admin/pull/1199)
* Extract IE11 specific styles to IE stylesheet

* Enqueue IE stylesheet conditionally

* Use server-side http user agent to detect IE11

IE11 and up does not detect conditional comments for stylesheets so match user agent string and conditionally load stylesheet.
2018-12-28 09:58:03 -08:00
Albert Juhé Lluveras 21ab4da93e Enable Autoprefixer 'grid' in packages (https://github.com/woocommerce/woocommerce-admin/pull/1204) 2018-12-28 09:57:18 -08:00
Joshua T Flowers 3f388028ac Sort default category response by category ID (https://github.com/woocommerce/woocommerce-admin/pull/1201) 2018-12-28 09:50:58 -08:00
Joshua T Flowers 268182e75f Add invalid note ID test (https://github.com/woocommerce/woocommerce-admin/pull/1197) 2018-12-28 09:44:53 -08:00
Joshua T Flowers e0596ea249 Add 404 response to REST response for invalid note ID (https://github.com/woocommerce/woocommerce-admin/pull/1194) 2018-12-28 09:51:22 +08:00
Albert Juhé Lluveras a0f23c93c9 Improve Charts X-axis when displaying a single date (https://github.com/woocommerce/woocommerce-admin/pull/1195)
* Improve Charts X-axis when displaying a single date

* Add tests for getXTicks

* Fix typo in tests

* Add assertion in compareStrings test for dates with commas

* Update interval options

* Fix secondaryDate always showing 12AM

* Don't convert dates to UTC when checking if they belong to the same date
2018-12-27 19:51:58 +01:00
Albert Juhé Lluveras 7287fa3b22 Allow Search box to break into several lines (https://github.com/woocommerce/woocommerce-admin/pull/1196) 2018-12-27 18:53:20 +01:00
renovate[bot] bca949feb6 Update dependency eslint to v5.11.1 (https://github.com/woocommerce/woocommerce-admin/pull/1172) 2018-12-27 11:52:40 +08:00
Joshua T Flowers b3979ff984 Fix order status product sync (https://github.com/woocommerce/woocommerce-admin/pull/1151)
* Move order product sync to product data store

* Move order taxes sync to taxes data store

* Move order coupons sync to coupons data store

* Use table_name constant in data syncs

* Remove order data for incomplete order statuses

* Fix report rebuild tool

* Update comments to describe create/update entry reference

* Fix data_store_init function name change
2018-12-27 11:49:00 +08:00
Joshua T Flowers 987929da83 Filter by categories query param in categories data store (https://github.com/woocommerce/woocommerce-admin/pull/1179) 2018-12-27 11:31:08 +08:00
Joshua T Flowers 017db0b339 Sync order status on refund delete (https://github.com/woocommerce/woocommerce-admin/pull/1074) 2018-12-27 11:11:33 +08:00
Peter Fabian 48dfb54a48 Switched average order value from gross to net revenue (https://github.com/woocommerce/woocommerce-admin/pull/1158)
* Switched Average order value calculation from gross to net revenue.

* Updated tests to reflect switch of average order value from gross to net revenue.
2018-12-26 15:49:46 -08:00
Timmy Crawford 1ed9813e3b Chart: Fix/current of undefined (https://github.com/woocommerce/woocommerce-admin/pull/1153)
* Add undefined check for this.listRef

* Update changelog
2018-12-26 09:27:24 -08:00
renovate[bot] a4434e3e67 Pin dependency babel-plugin-transform-es2015-template-literals to 6.22.0 (https://github.com/woocommerce/woocommerce-admin/pull/1178) 2018-12-26 15:21:54 +08:00
renovate[bot] ce3d895c27 Update dependency grunt-wp-i18n to v1.0.3 (https://github.com/woocommerce/woocommerce-admin/pull/1173) 2018-12-26 15:21:04 +08:00
renovate[bot] fc6057184b Update dependency lerna to v3.8.0 (https://github.com/woocommerce/woocommerce-admin/pull/1175) 2018-12-26 15:19:54 +08:00
renovate[bot] b22c2f6c83 Update dependency webpack to v4.28.2 (https://github.com/woocommerce/woocommerce-admin/pull/1177) 2018-12-26 13:55:29 +08:00
renovate[bot] 48c90fc5b9 Update dependency husky to v1.2.1 (https://github.com/woocommerce/woocommerce-admin/pull/1174) 2018-12-26 13:49:42 +08:00
renovate[bot] eea6ef7314 Update dependency css-loader to v2.1.0 (https://github.com/woocommerce/woocommerce-admin/pull/1171) 2018-12-26 13:46:24 +08:00
Joshua T Flowers ab310320dd Fix ie11 blank screen by babel transforms (https://github.com/woocommerce/woocommerce-admin/pull/1170)
* Add specific vendor packages to babel loader to fix ie11 transforms

* Remove unused buble
2018-12-26 10:46:32 +08:00
Joshua T Flowers c747d3399e Use unbounded per_page limit in apiFetch for categories (https://github.com/woocommerce/woocommerce-admin/pull/1149) 2018-12-26 10:37:02 +08:00
Joshua T Flowers f88311b372 Check for product categories before loading value (https://github.com/woocommerce/woocommerce-admin/pull/1164)
* Check for product categories before loading value

* Filter product category list for undefined values

* Remove unnecessary double check of productCategories
2018-12-25 18:28:37 +08:00
Albert Juhé Lluveras f51dba44a0 Charts: fix weird Y-axis ticks when max Y value is a small number (https://github.com/woocommerce/woocommerce-admin/pull/1168) 2018-12-25 11:16:52 +01:00
Albert Juhé Lluveras 1ca1dba3e7 Add Categories report filters (https://github.com/woocommerce/woocommerce-admin/pull/1167)
* Add Categories report filters

* Remove the option to sort categories by name, given that it's not supported by the endpoint
2018-12-25 10:28:20 +01:00
Joshua T Flowers 024d267ae6 Set minimum content height to prevent cutoff of absolute content (https://github.com/woocommerce/woocommerce-admin/pull/1166)
* Set minimum content height to prevent cutoff of absolute content

* Add admin bar height vars for SCSS and apply them
2018-12-25 12:34:24 +08:00
Joshua T Flowers 7cf9e293e1 Fix margin on dashboard block charts (https://github.com/woocommerce/woocommerce-admin/pull/1165) 2018-12-25 11:02:23 +08:00
Joshua T Flowers dcaa35c7bf Add product SKU to products report (https://github.com/woocommerce/woocommerce-admin/pull/1161)
* Add product SKU to products report

* Add tests for SKU data
2018-12-25 11:02:06 +08:00
Joshua T Flowers bdcebd7ea3 Clear filter query on removing all items (https://github.com/woocommerce/woocommerce-admin/pull/1162) 2018-12-25 11:01:39 +08:00
Albert Juhé Lluveras 5c8cfbc03f Report components docs (https://github.com/woocommerce/woocommerce-admin/pull/1140)
* Extend docs to report components

* Improve inline documentation in some files

* Update doc files

* Undo unnecessary doc changes

* Remove unnecessary line breaks in sidebar

* Rename 'Client components' to 'Analytics components'

* Minor docs fixes

* Rename toc contents to toc sections

* Update endpoint props doc to add an example and more information

* Fix outdated comment

* Fix merge error
2018-12-22 12:46:10 +01:00
Joshua T Flowers 9a4e613a2e Make user column preferences refer to hidden columns (https://github.com/woocommerce/woocommerce-admin/pull/1150)
* Make user column preferences refer to hidden columns

* Destructure props in onColumnsChange
2018-12-22 10:27:30 +08:00
renovate[bot] dfc7d8ae1b Update dependency core-js to v2.6.1 (https://github.com/woocommerce/woocommerce-admin/pull/1128) 2018-12-21 20:03:41 -06:00
Justin Shreve 579113910d Add remaining filters to the downloads report (https://github.com/woocommerce/woocommerce-admin/pull/1141)
* Add order number, username, and IP address filters to the downloads report.

* Adds tests
2018-12-21 16:40:41 -08:00