* Remove use of wc-admin-settings from packages
* Move getSetting to getAdminSetting and remove wc-admin-settings package
* Add changelog
* Update package.json and remove last use of wc-admin-settings
* Add SlotFill area to header
* Add activity panel fill
* Move activity panel to root client folder
* Move activity panel registration to its own folder
* Add navigation fill
* Add page title slotfill
* Slot fill the back button
* Move mobile banner to slot fill
* Fix navigation fill on embed pages
* Add changelog entry
* Allow order prop to header item fill
* Split header into before and after
* Fix header title gaps
* Fix nav and mobile app banner placement
* Fix display options import
* Only use last item for page header title fill
* Use function to pass fill props instead of bind
* Rename header slots
* Fix mobile banner dismissal check
* Fix up inbox panel rename
* Update task title in tests
* Fix up task status retrieval
* Add endpoint to unhide task list
* Rename show method to unhide
* Replace requests for hidden task list options
* Replace unhide task list requests
* Replace task list complete checks
* Replace dismiss option requests
* Remove complete task option check
* Fix up panel buttons
* Update finished setup to wait for task list resolution
* Create selector for getting a single task list
* Add selector for single task
* Fix task list panel visibility
* Add changelog entry
* Fix empty product types in profiler data
* Revert to checking for hidden task list
* Add extra status properties to tasks
* Convert extra properties to camelcase
* Replace task status usage in client
* Remove task status data store
* Remove task status endpoint
* Remove remaining task status references
* Add has products to appearance task data
* Handle PR feedback
* Fix up additional data for Avalara task
* Add changelog entry
* Render extended task list
* Remove margin-bottom when the extended task list is empty
* Fix typo
* Remove redundant isVisible check
* Remove unallowedTasks and move it to concat
* Remove woocommerce_tasklist_progression experiment
* Remove duplicate array items
* Use isVisible to check the visibility
* Remove redundant logic
* Add two column version of task list with a new design
* Show number in the status circle
* Set background for the active task
* Remove border top
* Changes in single column
* Task list does not render in the left column if two column task list has been rendered already.
* Your store today and activity panel does not render if user is running two column experiment
* Update the circle border color
* Fix lint issue
* Support single column mode
* Add box-shadow transition
* Fix max width
* Set the first card as the default if all tasks are complete
* Adjust font-weight for the complete tasks
* Use experiment
* Remove unnecessary placeholder
* Use two-column placeholder
* Use the new task REST API
* Remove unused code -- these are no longer used as we are using the new task list REST API
* Update logic to use the new fields
* Update css to fit the homescreen card
* Remove unused var
* Sync changelog from 2.8.0-rc.2 (https://github.com/woocommerce/woocommerce-admin/pull/7783)
* Remove changelogs that were picked into 2.8.0-beta.2
* Update changelog for 7690
* Update changelog for 7743
* Update changelog for 7734
* Update changelog for 7763, 7771
* Remove changelog for 7763 from 2.8.0 since it was in 2.7.2
* Update changelog for 7798
* Show keep & dismiss page when tasks are complete (https://github.com/woocommerce/woocommerce-admin/pull/7684)
* Add two column version of task list with a new design
* Changes in single column
* Task list does not render in the left column if two column task list has been rendered already.
* Your store today and activity panel does not render if user is running two column experiment
* Prompt a modal when hiding the task list
* Add completed compoent
* Move completed task to task-list
* Implement hide and keep list buttons
* Fix keep task list button
* Rename hideTaskCard to hideTasks and keepTaskCard to keepTasks
* Add two column version of task list with a new design
* Show number in the status circle
* Set background for the active task
* Remove border top
* Changes in single column
* Task list does not render in the left column if two column task list has been rendered already.
* Your store today and activity panel does not render if user is running two column experiment
* Update the circle border color
* Fix lint issue
* Support single column mode
* Add box-shadow transition
* Fix max width
* Set the first card as the default if all tasks are complete
* Adjust font-weight for the complete tasks
* Use experiment
* Remove unnecessary placeholder
* Use two-column placeholder
* Use the new task REST API
* Remove unused code -- these are no longer used as we are using the new task list REST API
* Update logic to use the new fields
* Update css to fit the homescreen card
* Remove unused var
* Show keep & dismiss page when tasks are complete (https://github.com/woocommerce/woocommerce-admin/pull/7684)
* Add two column version of task list with a new design
* Changes in single column
* Task list does not render in the left column if two column task list has been rendered already.
* Your store today and activity panel does not render if user is running two column experiment
* Prompt a modal when hiding the task list
* Add completed compoent
* Move completed task to task-list
* Implement hide and keep list buttons
* Fix keep task list button
* Rename hideTaskCard to hideTasks and keepTaskCard to keepTasks
* Remove unnecessary feature checking logic
* Separate && operator for Activity Header and Panel since one of them can be empty
* Add changelog
Co-authored-by: Matt Sherman <matt.sherman@automattic.com>
* Added first set of task-list tests
* Fix event prefix and add two extra task list tests
* Add test for task list item
* Update package to allow tests with slotfill to work
* Add tests for Task component
* Add tasks tests
* Revert package.json changes
* Update prefixEvent function and revert package.json changes
* Remove class additions to body tag
* Add missing styles to tasks container as well
* Remove feature flag
* Remove unused task status items
* Remove old task list components
* Remove more unused task status items
* Move completion checking to TaskList class
* Move completion checking to Task class
* Add changelog entry
* Fix up old task-list component references
* Remove flag around slotfill area
* Add back missing task stylesheet
* Move task specific styles to respective fills
* Add PR number to changelog entry
* Add initial task list render
* Add task list item render
* Separate task list menu component
* Fix click handling for tasks
* Add task started count data
* Scroll to top after selecting task
* Handle PR feedback
* Handle PR feedback round 2
* Set default value for orders var
* Add changelog
* Add PR # to the changelog
* Return default orders in the early return statement
* Adding the default value for the order var
* Revert the early return changes
* Sentence case all the things
* Update a few more things that were missed on the first round
* update documentation titles to use title case
* Add changelog
* Handle PR feedback
* Revert readme changelog changes
* Revert changes to ALT text in dev documentation
* Revert a change to ALT text in dev documentation
* Fix failing tests
Co-authored-by: David Levin <davidlevin@Davids-MacBook-Pro-2.local>
Co-authored-by: Joshua Flowers <joshuatf@gmail.com>
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
* Using order items endpoint instead of reports and added customer and products support
* Add total_formatted key
* Converted component to functional component and memoized getItems function
* Using orders meta table instead of reports product_lookup table
* Add changelog entry
* Add a new endpoint to get low in stock products.
* Set images and attributes property
* WIP -- set last order date
* Do not join postmeta if store does not have any custom stock threshold
* Combine get_query() and get_query_for_sitewide_threshold() into one method and a few code clean ups
* Support status field
* Use new products/low-in-stock endpoint to count low in stock products.
* Use new products/low-in-stock to get low in stock products data.
* Remove low_in_stock support
* Deprecate low_in_stock
* Use the new ProductsLowInStock when low_in_stock is set
* Set cache-control header for the new endpoint
* Use wc_rest_prepare_date_response to format the response date
* Extract low in stock test to a separate file
* Make is_using_sitewide_stock_threshold_only protected
* Revert Products.php changes
* Add back low in stock test to products test
* Remove unnecessary if
* Make the controller final
* Deprecate low_in_stock
* Bug fix -- last_order_date was not setting correctly for variation post type. This commit fixes it
* Add changelog
* add @slotFill to process
* add types
* committing data
* use filter instead of hook
* changelog
* add action type
* update paths to ignore builds and node_modules
* changelog
* Add action data type
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
* Add appropriate text props to supplement variant revamp
* Add font styles to navigation title since its removed in wp.components
* Add more missing styles
* Accidental change
* Add changelog
* Fix lint
* Update jest snapshots
* Close activity panels by default and track shown
* Add task list shown data to tracks
* Add changelog and testing instructions
* Fire the panel tracks again when the task list is hidden
* Move user data store folder
* Add user capability check hook
* Don't limit script loading by user capability
* Convert ActivityPanel to functional component
* Update ActivityPanel to use useSelect
* Check that a user can manage woocommerce for the store setup tab
* Add capabilities to pages
* Add testing instructions