woocommerce/plugins/woocommerce-admin/client/header/activity-panel
Jeff Stieler 2a302603c6 Migrate Stock Panel to Homescreen (https://github.com/woocommerce/woocommerce-admin/pull/5729)
* Refactor low stock variable to be the count instead of a boolean.

* Add initial render of the Stock panel on the homescreen.

* Move existing Stock panel to homescreen accordion.

* Ensure int value for low stock product count.

* Update ProductImage styling.

* Update stock activity car styles.

* Only show 5 low stock products.

* Add "undo" action to the stock updated snackbar.

* Fix check for explicit notice dismissal when taking actions.

* Hide now-in-stock products after updating.

By cllearing "edited" flag on successful update.

* Fetch more products after updating stock.

* Fix the number of product placeholders shown.

* Only show products placeholders on the initial fetch.

* Fix placeholder style.

* Fetch low stock count dynamically.

* Let initialOpen prop toggle Accordion panels if they haven't been toggled by the user.

* Refactor item total count state.

Allows for auto-updating item totals whenever identical queries (from a totals perspective) are issued.

* Add last order date to low stock products API response.

* Allow non-date strings in ActivityCard date prop.

* Add last order date to stock panel cards.

* Remove empty stock panel view.

* Add test file for StockPanel.

* Only request necessary fields from products endpoint.

* Add test for products fetch after stock update.

* Fix field name.

* Add test for last order date in low stock products API response.

* Stock panel should be initially closed.

* Skip updating a product if the quantity is unchanged.
2020-11-25 13:51:15 -05:00
..
activity-card Migrate Stock Panel to Homescreen (https://github.com/woocommerce/woocommerce-admin/pull/5729) 2020-11-25 13:51:15 -05:00
activity-header Home Screen - migrated orders panel (https://github.com/woocommerce/woocommerce-admin/pull/5455) 2020-11-06 14:21:05 +13:00
display-options Fix column scroll collision after layout change. (https://github.com/woocommerce/woocommerce-admin/pull/5586) 2020-11-11 12:19:24 -05:00
panels Migrate Stock Panel to Homescreen (https://github.com/woocommerce/woocommerce-admin/pull/5729) 2020-11-25 13:51:15 -05:00
tab Add help tab to the home screen (https://github.com/woocommerce/woocommerce-admin/pull/5538) 2020-11-10 09:36:04 -04:00
tabs Update panel icon order - moving help tab far right (https://github.com/woocommerce/woocommerce-admin/pull/5624) 2020-11-16 09:48:50 -04:00
test Update panel icon order - moving help tab far right (https://github.com/woocommerce/woocommerce-admin/pull/5624) 2020-11-16 09:48:50 -04:00
README.md Home Screen - migrated orders panel (https://github.com/woocommerce/woocommerce-admin/pull/5455) 2020-11-06 14:21:05 +13:00
index.js Migrate Stock Panel to Homescreen (https://github.com/woocommerce/woocommerce-admin/pull/5729) 2020-11-25 13:51:15 -05:00
setup-progress.js Add Homescreen layout control (https://github.com/woocommerce/woocommerce-admin/pull/5429) 2020-10-22 18:13:14 -04:00
style.scss Add help tab to the home screen (https://github.com/woocommerce/woocommerce-admin/pull/5538) 2020-11-10 09:36:04 -04:00
toggle-bubble.js Align WooCommerce javascript code standards/linting/styles with WordPress core. (https://github.com/woocommerce/woocommerce-admin/pull/3674) 2020-02-14 15:23:21 +13:00
unread-indicators.js Migrate Stock Panel to Homescreen (https://github.com/woocommerce/woocommerce-admin/pull/5729) 2020-11-25 13:51:15 -05:00

README.md

Activity Panel

This component contains the Activity Panel. This is shown on every page and is rendered as part of the header. It provides access to the notices system and actionable items like reviews and stock.

Components

ActivityCard

See activity-card/README.md