Jeff Stieler
7506201571
Refactor analytics page registration.
2019-05-13 14:19:26 -06:00
Jeff Stieler
19bfd01599
Add new page controller class, replace page registration function.
2019-05-13 14:19:26 -06:00
Mike Jolley
d226b80cd4
Merge pull request woocommerce/woocommerce-admin#2215 from woocommerce/renovate/lock-file-maintenance
...
Lock file maintenance
2019-05-13 19:13:08 +01:00
Mike Jolley
03b564e7a5
Merge pull request woocommerce/woocommerce-admin#2221 from woocommerce/fix/string-float-debug
...
fix warning for string shipping tax meta value
2019-05-13 19:11:28 +01:00
Ron Rennick
85e82f07f5
fix warning for string shipping tax meta value
2019-05-13 15:01:05 -03:00
Ron Rennick
6780ae0136
update unit tests for new customer count
2019-05-13 14:14:53 -03:00
Ron Rennick
33919a652d
phpcs sniff fixes
2019-05-13 13:48:22 -03:00
Ron Rennick
28b10f2eb6
restrict customer import to customer role with filter
2019-05-13 13:47:16 -03:00
Renovate Bot
14c162f3de
Lock file maintenance
2019-05-13 04:00:13 +00:00
Ajay Ghaghretiya
38c40430ef
Hide WordPress Upgrade Nag ( https://github.com/woocommerce/woocommerce-admin/pull/2213 )
2019-05-13 10:58:29 +08:00
Joshua T Flowers
fb91cd8788
Add import status endpoint and progress options ( https://github.com/woocommerce/woocommerce-admin/pull/2189 )
...
* Update import progress during batches
* Add import status route for querying import progress
* Update import totals before import start
* Move wc admin notes to separate action scheduler group
* Add import totals route to query customer and order totals
* Add wc helper queue job processing method
* Add import status and total tests
* Separate action type clearing for imports and notes
* Typecast action types as array in clear_pending_wcadmin_actions()
2019-05-13 10:30:07 +08:00
Paul Sealock
c9f738dec8
Dashboard: Fix index and extension issues
2019-05-13 07:20:14 +12:00
Ron Rennick
e9aa903fc6
update default capability for analytics report to view_woocommerce_reports
2019-05-10 15:02:38 -03:00
Albert Juhé Lluveras
54a09ab232
Replace Rebuild reports settings with Import Historical Data ( https://github.com/woocommerce/woocommerce-admin/pull/2198 )
...
* Hide progress bars and status from Import Historical Data screen
* Remove Rebuild Reports Sections from Settings
* Add Delete Imported Data button to the default actions
* Unify @todo comments
2019-05-10 11:34:03 +02:00
Joshua T Flowers
c6a6e737c4
Add refund filtering to order reports ( https://github.com/woocommerce/woocommerce-admin/pull/2179 )
...
* Add customer functions to order and refund classes
* Extract shared order and refund methods to trait
* Add refund filter to advanced filters in orders report
* Filter refund types in orders data store
* Extract refunds subquery to parent report data store method
* Add refund subquery filtering to order stats data store
* Add tests around refund type filtering
* Change the default option for the refunds filter
2019-05-10 14:56:57 +08:00
Joshua T Flowers
3382fb7011
Record refunds separate from order entries ( https://github.com/woocommerce/woocommerce-admin/pull/2083 )
...
* Sync refunds on order sync
* Separate order and refund class extensions
* Add customer functions to order and refund classes
* Change products store to work with refund amounts
* Return early for refunds in coupon data store
* Allow refund processing in tax data store
* Remove unused refund amounts from tables and data stores
* Change order counts to parse out refund entries
* Include refunded orders in default queried statuses
* Only process order number filter on shop order post types
* Extract shared order and refund methods to trait
* Fix renamed schedule_single_order_import method
* Bump PHP and WP version requirements
2019-05-10 14:39:25 +08:00
Ron Rennick
41a341f690
Merge pull request woocommerce/woocommerce-admin#2190 from woocommerce/fix/2180
...
fix customer name logic on populating customer lookup data
2019-05-09 09:39:49 -03:00
Ron Rennick
2cd44376de
Merge pull request woocommerce/woocommerce-admin#2150 from woocommerce/add/report-filter-default-value
...
add a defaultValue parameter to the ReportFilters, ReportChart component
2019-05-09 09:39:16 -03:00
Mike Jolley
a3b90cdb9e
Update get_count to use lookup table
2019-05-09 10:38:26 +01:00
Mike Jolley
d7b81e40d4
Update count query for low stock
2019-05-09 10:28:28 +01:00
Albert Juhé Lluveras
77ff3ea5cf
Hook up API Historical Data screen to API endpoints ( https://github.com/woocommerce/woocommerce-admin/pull/2177 )
...
* Hook up API Historical Data screen to API endpoints
* Avoid making an unnecessary Math.abs()
2019-05-09 11:11:58 +02:00
Albert Juhé Lluveras
065c1fc660
Show Y grid ticks/lines in charts where all values are lower than 1 ( https://github.com/woocommerce/woocommerce-admin/pull/2147 )
...
* Show Y grid ticks/lines in chart where all values are below 1
* Improve how step is calculated for -1 to 1 values
* Add tests
* Handle case when max and min values are 0
2019-05-09 10:20:48 +02:00
Joshua T Flowers
1df54fdae5
Check for page suffix to fix blank pages with WC Branding ( https://github.com/woocommerce/woocommerce-admin/pull/2187 )
2019-05-09 10:39:11 +08:00
Paul Sealock
1a7ba43d46
Merge pull request woocommerce/woocommerce-admin#2185 from woocommerce/renovate/eslint-plugin-wpcalypso-4.x
...
Update dependency eslint-plugin-wpcalypso to v4.1.0
2019-05-09 09:14:21 +12:00
Paul Sealock
add7061a17
Merge pull request woocommerce/woocommerce-admin#2186 from woocommerce/renovate/gridicons-3.x
...
Update dependency gridicons to v3.3.1
2019-05-09 09:13:33 +12:00
Timmy Crawford
d51845930a
Dashboard: Rename class/feature to remove conflict with legacy dashboard widget ( https://github.com/woocommerce/woocommerce-admin/pull/2138 )
...
* Dashboard: Rename class/feature to remove conflict with legacy dashboard class
* Updates per feedback, and fixes.
2019-05-08 09:10:05 -07:00
Mike Jolley
196543ef7f
Render stock status as 'low' on stock report
2019-05-08 15:25:46 +01:00
Mike Jolley
d95e69532e
Update stock report filtering to use correct low stock amounts and lookup table data for performance
2019-05-08 14:58:28 +01:00
Mike Jolley
f85b25f34d
Update stock and sku search query in API to use lookup table.
...
Lookup table was introduced in 3.6 and will improve performance for these 2 queries.
2019-05-08 14:05:35 +01:00
Ron Rennick
0f2788ed1c
fix customer name logic on populating customer lookup data
2019-05-08 10:01:12 -03:00
Mike Jolley
684c526d1e
Fix low stock report due to NULL _low_stock_amount
...
Empty meta values are not stored from WC 3.6+. _low_stock_amount could be NULL. This fixes the low stock queries.
2019-05-08 13:43:25 +01:00
Ron Rennick
d4f1e6bbd8
Merge pull request woocommerce/woocommerce-admin#2139 from woocommerce/add/table-default-order
...
add defaultOrder field to tablecard header
2019-05-08 08:41:48 -03:00
Paul Sealock
ed1d7c5f62
Merge pull request woocommerce/woocommerce-admin#2184 from woocommerce/fix/travis-failing-build-success
...
Travis: Exit scripts with error when one occurs
2019-05-08 21:12:45 +12:00
Albert Juhé Lluveras
6a8c7a235b
Use hiddenBlocks in store-perf
...
Co-Authored-By: psealock <psealock@gmail.com>
2019-05-08 20:41:38 +12:00
Renovate Bot
2d30017ff6
Update dependency gridicons to v3.3.1
2019-05-08 02:16:06 +00:00
Renovate Bot
3ab98be1fc
Update dependency eslint-plugin-wpcalypso to v4.1.0
2019-05-08 02:14:21 +00:00
Paul Sealock
b3ca4961da
Merge pull request woocommerce/woocommerce-admin#2183 from woocommerce/renovate/eslint-plugin-react-7.x
...
Update dependency eslint-plugin-react to v7.13.0
2019-05-08 14:11:40 +12:00
Paul Sealock
9efe16c485
Fix lint error
2019-05-08 14:02:12 +12:00
Paul Sealock
7fc14eae85
Travis: Exit scripts with error when one occurs
2019-05-08 13:54:11 +12:00
Paul Sealock
9b905765be
Merge pull request woocommerce/woocommerce-admin#2182 from woocommerce/renovate/deasync-0.x
...
Update dependency deasync to v0.1.15
2019-05-08 13:36:11 +12:00
Renovate Bot
63ac1e1c5f
Update dependency eslint-plugin-react to v7.13.0
2019-05-08 01:29:25 +00:00
Renovate Bot
e318f2bdce
Update dependency deasync to v0.1.15
2019-05-08 01:27:51 +00:00
Paul Sealock
ee895e0f77
Check for config.defaultValue in Report Chart
2019-05-08 08:46:58 +12:00
Paul Sealock
448d12b91d
Replace use of 'all' in filters with check for config.defaultValue
2019-05-08 08:42:29 +12:00
Justin Shreve
00cbca33df
Add profile wizard base page ( https://github.com/woocommerce/woocommerce-admin/pull/1933 )
...
* Add profile wizard base page
* Update wizard base to the new color/font treatments
2019-05-07 15:25:51 -04:00
Ron Rennick
8744a8d6c9
fix merge conflicts
2019-05-07 15:22:48 -03:00
Ron Rennick
fb9011f191
update component change log
2019-05-07 15:16:42 -03:00
Albert Juhé Lluveras
cab0e38c30
Save section/block preferences in user data ( https://github.com/woocommerce/woocommerce-admin/pull/2148 )
...
* Save section/block preferences in user data
* Optimize updateSection code
* Remove no longer used prop
* Refactor dashboard blocks to make them extendable
* Check that defaultSection exists before merging
* Rename 'sectionsDefinion' to 'defaultSections'
* Add Dashboard README
* Update README with new props
* Update settings when moving/removing dashboard sections
* Add missing props to README example
* Move 'section.js' inside 'components' folder
* Fix README sentence
2019-05-07 09:21:34 +02:00
Albert Juhé Lluveras
d0981d2101
Vertically center Dashboard 'Add more' button ( https://github.com/woocommerce/woocommerce-admin/pull/2171 )
...
* Vertically center Dashboard 'Add more' button
* Remove top padding instead of using negative margin
2019-05-07 09:21:16 +02:00
Albert Juhé Lluveras
644c1e99e3
Don't make an API call when there are no performance indicators ( https://github.com/woocommerce/woocommerce-admin/pull/2157 )
...
* Don't make an API call when there are no performance indicators
* Hide store-performance elements if it's empty
2019-05-07 09:20:48 +02:00