Commit Graph

2311 Commits

Author SHA1 Message Date
Jeff Stieler 3dff00a9a0 Refactor connecting existing admin pages and breadcrumb generation. 2019-05-13 15:14:16 -06:00
Jeff Stieler 6b12d3e1b4 Refactor “is admin page” logic to use page controller. 2019-05-13 15:14:15 -06:00
Jeff Stieler 9fdf2cfb47 Refactor app entry page and dashboard page registration. 2019-05-13 14:30:26 -06:00
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
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
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
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
Ron Rennick 0f2788ed1c fix customer name logic on populating customer lookup data 2019-05-08 10:01:12 -03: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
Albert Juhé Lluveras 46d3be23dd Add Historical Data Import Screen (https://github.com/woocommerce/woocommerce-admin/pull/2073)
* Add Historical Data Import Screen

* Fix date picker not being accessible

* Cleanup

* Fix period selector typo

Co-Authored-By: Aljullu <aljullu@gmail.com>

* Move state to props

* Add filter to status labels

* Get rid of 'step' state property

* Format 'importDate' as YYYY-MM-DD

* Minor improvements

* Hardcode control height

* Use dateValidationMessages when possible

* Update imported all data actions

* Update filter name
2019-05-07 09:18:48 +02:00
Joshua T Flowers 0ed477fc3c Fix customer type filter param in orders report (https://github.com/woocommerce/woocommerce-admin/pull/2169) 2019-05-07 13:17:43 +08:00
Paul Sealock 70f3cbe13c Merge pull request woocommerce/woocommerce-admin#2167 from woocommerce/renovate/lock-file-maintenance
Lock file maintenance
2019-05-07 09:18:20 +12:00
Renovate Bot 0f526ee6b7 Lock file maintenance 2019-05-07 09:06:48 +12:00
Paul Sealock 819260072c Merge pull request woocommerce/woocommerce-admin#2145 from woocommerce/renovate/node-sass-4.x
Update dependency node-sass to v4.12.0
2019-05-07 09:01:21 +12:00
Paul Sealock f13f30fb70 Merge pull request woocommerce/woocommerce-admin#2144 from woocommerce/renovate/lerna-monorepo
Update dependency lerna to v3.13.4
2019-05-07 08:59:18 +12:00
Paul Sealock 7696e77dc0 Merge pull request woocommerce/woocommerce-admin#2143 from woocommerce/renovate/eslint-plugin-jest-22.x
Update dependency eslint-plugin-jest to v22.5.1
2019-05-07 08:58:19 +12:00
Paul Sealock aa2aca4f16 Merge pull request woocommerce/woocommerce-admin#2142 from woocommerce/renovate/ast-types-0.x
Update dependency ast-types to v0.12.4
2019-05-07 08:56:49 +12:00