Commit Graph

2066 Commits

Author SHA1 Message Date
Jeff Stieler f4691827b1 Include item ID in product update resource name.
Keep state in sync when updating product stock quantity.
2019-04-01 17:38:36 -06:00
Jeff Stieler 5d09ceb272 Hook stock panel up to real data. 2019-04-01 17:38:34 -06:00
Jeff Stieler ad7cc4226a Handle updating product variation stock quantity. 2019-04-01 11:28:10 -06:00
Jeff Stieler 42be3afebf Hook up product stock card inventory update. 2019-04-01 11:28:10 -06:00
Jeff Stieler 68e49a9574 Add update method for products to wc-api. 2019-04-01 11:28:10 -06:00
Jeff Stieler 150088d312 Style stock quantity edit form. 2019-04-01 11:28:09 -06:00
Jeff Stieler f32f85e58e Hook up edit stock quantity form state, with cancel action. 2019-04-01 11:28:09 -06:00
Jeff Stieler a48a038f25 Create ProductStockCard component, add loading placeholder to stock panel. 2019-04-01 11:28:09 -06:00
Jeff Stieler 212882e272 Reorganize stock panel files. 2019-04-01 11:28:08 -06:00
Jeff Stieler ab980305c7 Add hardcoded low stock activity card. 2019-04-01 11:28:08 -06:00
Jeff Stieler d315f6a6f4 Merge pull request woocommerce/woocommerce-admin#1960 from woocommerce/fix/1946
Only check for unsnooze note scheduled action in admin_init
2019-04-01 10:13:35 -07:00
Ron Rennick 8830455385 Merge pull request woocommerce/woocommerce-admin#1962 from woocommerce/add-requirements
update plugin requirements in GH readme, plugin header
2019-04-01 14:10:08 -03:00
Albert Juhé Lluveras 7efd81815f Scroll to top when navigating pages (https://github.com/woocommerce/woocommerce-admin/pull/1958) 2019-04-01 19:02:39 +02:00
Ron Rennick 59d310c4f9 update requirements in GH readme, plugin header 2019-04-01 13:16:13 -03:00
Timmy Crawford c717851b46 Update readme per feedback (https://github.com/woocommerce/woocommerce-admin/pull/1941)
* Update readme per feedback

* Blank Spaces.
2019-04-01 09:15:09 -07:00
Ron Rennick f730a8ec5d Only check for unsnooze note scheduled action in admin_init 2019-04-01 11:31:28 -03:00
Albert Juhé Lluveras 17141cd4d8 Update Variations controller filter names (https://github.com/woocommerce/woocommerce-admin/pull/1949) 2019-04-01 10:09:53 +02:00
Albert Juhé Lluveras 458f3ed065 Fix SKU sorting in the Variations report when a comparison is active (https://github.com/woocommerce/woocommerce-admin/pull/1952)
* make is sortable true.

* Variations endpoint: Fix sorting by SKU when there is an active comparison

* Cleanup

* Extract FROM parameter logic to 'get_from_sql_params'

* Remove unnecessary 'get_order_by_sql_params' from Products and Variations data stores
2019-04-01 10:09:45 +02:00
Joshua T Flowers 9c3faea12f Refactor notes controller and add ordering params (https://github.com/woocommerce/woocommerce-admin/pull/1878)
* Separate notes controller request args and add collection params

* Fix page param var

* Fix collection params sanitization

* Allow array of note types to be queried

* Add order and orderby collection params to notes controller

* Allow sorting by order and orderby params in notes data store

* Make sure notes are ordered by date and unread matches inbox note types

* Allow status or type params to use an array of items

* Add tests for notes ordering

* Remove unnecessary query arg assignment in the notes data store

* Update get_notes_count to use array for status and type
2019-04-01 10:53:34 +08:00
Joshua T Flowers 5324f223b6 Check for existence of orders before adding historical data note (https://github.com/woocommerce/woocommerce-admin/pull/1943)
* Check for existence of orders before adding historical data note

* Don't add historical data note on version upgrade
2019-04-01 10:25:53 +08:00
Joshua T Flowers 42ddfc0108 Add coupons count to data store and hook up to summary numbers in orders report (https://github.com/woocommerce/woocommerce-admin/pull/1912)
* Change coupons sum to distinct coupon count in REST API

* Hook up unique coupon count to orders summary numbers

* Add coupons count to order segmenting

* Add coupons count to expected stats in order test and revenue tests
2019-04-01 10:16:57 +08:00
ronakganatra9 3cddc714c6 issue fix woocommerce/woocommerce-admin#1801 SKU filter issue fixed. (https://github.com/woocommerce/woocommerce-admin/pull/1837)
* issue fix woocommerce/woocommerce-admin#1801 SKU filter issue fixed.

* make is sortable true.

* phpcs error fix.

* Fix PHPCS errors and warnings.

* Fix PHPCS errors and warnings.

* Update client/analytics/report/products/table-variations.js

Co-Authored-By: ronakganatra9 <ronakganatra9@gmail.com>

* Update includes/data-stores/class-wc-admin-reports-variations-data-store.php

Co-Authored-By: ronakganatra9 <ronakganatra9@gmail.com>

* changed postmeta.meta_value to meta_value
2019-03-31 20:53:48 +02:00
Joshua T Flowers 6ff9d0673a Add low product stock indicator (https://github.com/woocommerce/woocommerce-admin/pull/1866)
* Move product low stock count to controller param instead of data store

* Add totalCount to items API

* Extract unread indicators to separate file and add unread stock

* Trim initial search variable in wp_query

* Parse low stock option as an absolute integer

* Fix low stock meta comparison with product specific low stock amount

* Make group by query function static

* Check for empty strings and null values for product low_stock_amount
2019-03-29 10:45:19 +08:00
Paul Sealock 20301d57d3 Merge pull request woocommerce/woocommerce-admin#1836 from woocommerce/fix/customers-adv-filters
Customers API: Fix exact match filters
2019-03-29 12:59:25 +13:00
Paul Sealock 3dd99108fa Customers API: fix exact match params 2019-03-29 11:40:37 +13:00
Albert Juhé Lluveras b737087d35 Load on hold reviews in the Activity Panel (https://github.com/woocommerce/woocommerce-admin/pull/1871)
* Load on hold reviews in the Activity Panel

* Consider reviews on hold as unread
2019-03-28 23:20:17 +01:00
Paul Sealock 0c4e4717d9 Merge pull request woocommerce/woocommerce-admin#1936 from woocommerce/fix/rebuild-inifinite-loop
Sync: Avoid infinite loop when REPLACE-ing SQL rows
2019-03-29 09:36:39 +13:00
Timmy Crawford 2165e5eeb4 Release/0.9.0 (https://github.com/woocommerce/woocommerce-admin/pull/1921)
* Docs and version updates.

* lockfile updates.
2019-03-28 11:30:57 -07:00
Albert Juhé Lluveras 71d929f47b Make sure unreadReviews is a boolean so it doesn't render any character (https://github.com/woocommerce/woocommerce-admin/pull/1930) 2019-03-28 09:48:17 +01:00
Joshua T Flowers 04e35bf197 Add onboarding task list to dashboard (https://github.com/woocommerce/woocommerce-admin/pull/1929)
* Conditionally show task list on dashbaord page

* Move task list items into TaskList component

* Set onboarding flags to false in core and plugin environments

* Hide dashboard onboarding by default temporarily
2019-03-28 14:09:44 +08:00
Paul Sealock f9ab21e745 Sync: Avoid infinite loop when REPLACE-ing SQL rows 2019-03-28 16:19:11 +13:00
Joshua T Flowers 929ad8bf63 Remove unused categories in orders data store (https://github.com/woocommerce/woocommerce-admin/pull/1928) 2019-03-28 10:25:00 +08:00
renovate[bot] 2a60f03b6f Update dependency recast to v0.17.4 (https://github.com/woocommerce/woocommerce-admin/pull/1924) 2019-03-27 10:08:10 +01:00
renovate[bot] 57faf7ad47 Update dependency history to v4.9.0 (https://github.com/woocommerce/woocommerce-admin/pull/1923) 2019-03-27 09:46:33 +01:00
renovate[bot] 702156b6de Update dependency @babel/runtime-corejs2 to v7.4.2 (https://github.com/woocommerce/woocommerce-admin/pull/1922) 2019-03-27 09:40:55 +01:00
Joshua T Flowers 896a790d8f Check if customer creation date is not null before formatting (https://github.com/woocommerce/woocommerce-admin/pull/1926) 2019-03-27 11:46:47 +08:00
Timmy Crawford 067ae2170b Config: Enable Activity Panels and Alerts for plugin. (https://github.com/woocommerce/woocommerce-admin/pull/1920) 2019-03-26 16:53:15 -07:00
Timmy Crawford 936369befd Readme updates. (https://github.com/woocommerce/woocommerce-admin/pull/1919)
* Readme updates.

* fix discrepancy in PHP versions.

* update screenshots.
2019-03-26 16:34:32 -07:00
Albert Juhé Lluveras 6862d05e2f Update packages with vulnerabilities (https://github.com/woocommerce/woocommerce-admin/pull/1913)
* Update packages with vulnerabilities

* Fix tests

* Replace require.requireActual with jest.requireActual
2019-03-26 12:31:57 +01:00
Joshua T Flowers 3dc75aff32 Hide chart name on smaller viewports and move interval select (https://github.com/woocommerce/woocommerce-admin/pull/1910)
* Hide table name on smaller viewports and move interval select

* Only hide chart titles adjacent to summaries

* Make interval selector full width when not adjacent to summary numbers
2019-03-26 18:14:32 +08:00
Joshua T Flowers ebac101b51 Don't query products all products for empty categories (https://github.com/woocommerce/woocommerce-admin/pull/1911) 2019-03-26 13:21:46 +08:00
ronakganatra9 ce6fcdabbe woocommerce/woocommerce-admin#1830 Fix/1830 move all note php files to subfolder (https://github.com/woocommerce/woocommerce-admin/pull/1879)
* added notes/ folder and moved notes file in it..

* Path changes according to new folder.

* typo correct
2019-03-26 00:18:34 +01:00
Albert Juhé Lluveras ecdc9076de Fix JSLint error in leaderboards (https://github.com/woocommerce/woocommerce-admin/pull/1914) 2019-03-25 16:36:34 +01:00
renovate[bot] ad64425948 Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/1909) 2019-03-25 10:23:24 +01:00
Albert Juhé Lluveras 23aa795a40 Activity Panel: add overlay to product placeholder images (https://github.com/woocommerce/woocommerce-admin/pull/1880)
* Activity Panel: add overlay to product placeholder images

* Replace 'background' with 'background-color'
2019-03-25 10:08:25 +01:00
Joshua T Flowers f5568b905b Automatically update versions on build (https://github.com/woocommerce/woocommerce-admin/pull/1877)
* Get plugin file version for version compare

* Add version update script before build

* Replace version getter with a defined version constant
2019-03-25 14:43:26 +08:00
Paul Sealock b32e8afeeb Merge pull request woocommerce/woocommerce-admin#1873 from woocommerce/refactor/config-getQuery
Refactor getFilterQuery by explicitly passing down configs
2019-03-25 13:12:53 +13:00
Paul Sealock b29b232a46 pass in filters 2019-03-25 13:03:53 +13:00
ronakganatra9 31791c9873 Enhancement/top customers (https://github.com/woocommerce/woocommerce-admin/pull/1858)
* Added a New widget on dashboard of Top Customers.

* Remove unused props and clean up.

* Format display value for orders count.
2019-03-22 17:15:32 +08:00
Albert Juhé Lluveras a7af5e4603 Create DEFAULT_ACTIONABLE_STATUSES constant (https://github.com/woocommerce/woocommerce-admin/pull/1867) 2019-03-22 09:48:20 +01:00