Commit Graph

19 Commits

Author SHA1 Message Date
Paul Sealock c145783e0a Fix dependency declarations (https://github.com/woocommerce/woocommerce-admin/pull/4972)
* renmove WC comment block

* client routes

* more fixes

* moar search

* getting there

* by hand now

* david beating goliath

* mission accomplished

* client filepath

* save

* got it

* remove script

* fixes

* deal with package internal dep

* remove webpack alias

* fix webpack relative paths

* remove commented rule

* remove extra line

* remove unused modules entry
2020-08-13 14:05:22 +12:00
Fernando 5ab72f6137 Activity Panel - event tracking improved (https://github.com/woocommerce/woocommerce-admin/pull/4861)
* Added event recording to `ProductStockCard`

This commit adds event recording to `ProductStockCard`

* Added event recording to `OrdersPanel`

This commit adds event recording to the orders panel

* Added event recording to `ReviewsPanel`

This commit adds event recording to the reviews panel

* Added `learn_more` event recording

* Modified orders event names

* Added event 'wcadmin_activity_panel_orders_learn_more' to Orders

* Modified "orders.js" indentation

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2020-08-03 13:38:57 -03:00
Paul Sealock 41481a7299 Button: Remove deprecated isDefault (https://github.com/woocommerce/woocommerce-admin/pull/4548) 2020-06-12 07:22:20 +12:00
Darren Ethier 33c5b41e3f Align WooCommerce javascript code standards/linting/styles with WordPress core. (https://github.com/woocommerce/woocommerce-admin/pull/3674)
* align code styles with the same configuration as Woo-Blocks

* initial pass of reformat-files

* applies manual fixes to various new linting errors surfaced by the configuration change.

* Fix state mutation in image-upload

* remove unused pre-commit-hook.js

* requestAnimationFrame -> window.requestAnimationFrame

* wc-api eslint changes

* eslint fixes on client/lib and client/settings

* client/header eslint changes

* fixes for client/dashboard part 1

* fixes client/dashboard part 2 of 2

* client/analytics part 1

* client/analytics continued

* client/analytics, last batch

* rename __mock__ directory

* pass in useEffect, useState from React component or function

* remove '+' from sprintf string argument

* use ref instead of findDOMNode

* reformat and repaply package.json changes

* install deps before running linter in Travis

* useGetCountryStateAutofill

* counryStateAutofill

* countryStateAutofill

Co-authored-by: Paul Sealock <psealock@gmail.com>
2020-02-14 15:23:21 +13:00
Darren Ethier f8ebc4cd6d refactor all client files to use new settings api (https://github.com/woocommerce/woocommerce-admin/pull/3002) 2019-10-07 07:51:25 -04:00
Albert Juhé Lluveras 808143d7c9 Remove updated stock products from Activity Panel (https://github.com/woocommerce/woocommerce-admin/pull/2442)
* Remove updated stock products from Activity Panel

* Use prefers-reduced-motion preference

* Update comparison to check if stock quantity is 'lower or equal to' lowStockAmount

* Focus quantityInput on 'beginEdit' instead of 'componentDidUpdate'

* Add comment explaining why we hide cards

* Refactor updateProductStock action

* Add type and parent_id properties to update
2019-06-27 11:21:43 +02:00
Albert Juhé Lluveras 4174db4874 Allow keyboard interaction in Stock Activity Panel form (https://github.com/woocommerce/woocommerce-admin/pull/2447) 2019-06-18 17:58:10 +02:00
Albert Juhé Lluveras 2d4b7b9938 Fix Activity Panel layout on mobile (https://github.com/woocommerce/woocommerce-admin/pull/2405) 2019-06-12 23:51:08 +02:00
Albert Juhé Lluveras 1c67b40d76 Scroll to top of the table when navigating table pages (https://github.com/woocommerce/woocommerce-admin/pull/2051)
* Scroll to top of the table when navigating table pages

* Cleanup

* Avoid using scroll-padding-top

* Add space between the table top and the scroll point

* Only call  if the page is different

* Move focus to the top of the table when switching pages

* Use CSS variables in the Activity Panel and breadcrumbs CSS (https://github.com/woocommerce/woocommerce-admin/pull/2096)

* Use CSS variables in the Activity Panel and breadcrumbs CSS

* Cleanup

* Focus on table element when navigating pages
2019-04-30 11:43:55 +02:00
Albert Juhé Lluveras 164bae3075 Fix product link in stock panel.
Thanks @Aljullu

Co-Authored-By: jeffstieler <jeff.m.stieler@gmail.com>
2019-04-12 08:15:58 -06:00
Jeff Stieler e2f163c2f2 Fix stock quantity input on change. 2019-04-05 14:31:20 -06:00
Jeff Stieler a36788dfb4 Fix stock panel product link for variations. 2019-04-04 11:11:48 -06:00
Jeff Stieler c3ef41fc12 Focus quantity input when entering edit mode.
Makes the keyboard-first and screen reader experience much better.
2019-04-03 18:05:19 -06:00
Jeff Stieler 6c5f8e5e38 Show variation attribute options in stock panel. 2019-04-02 11:37:50 -06:00
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 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 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