* Try: Setup plugin to publish core library on npm
* Documentation clean up.
* Handle PR Feedback: Fix notices from happening in WC Core from API usage, fix sidebar dashboard ordering in menu, remove preload function check since we are supporting WP 5+, add a filter for preloading data and move usage to respective feature code, move features to a specific folder for bundiling, fix script translations.
* Fix code comment on analytics preload
* Continue refactoring code, and make it possible to launch 'embedded' features via the process as well.
* Fix note hook
* Fix note load order
* Address PR feedback: Fix class name, load leaderboard endpoint
* Remove example code prior to merge
* Add allowed leaderboards endpoint to prefetch list
* Hook up leadboards endpoint to dashboard
* Skip data fetch for leaderboard if per page is less than 1
* Add tests to check for rendered html display
* Add fresh-data dev info support for dev builds.
This adds support for dev info to be accessed from the JavaScript
console for more information about resources handled by fresh-data.
* Update fresh-data to 0.6.0
* Fix withSelect to release resources on unmount
Previously, withSelect wasn't releasing resources from fresh-data when
it was unmounting. This fixes that behavior and now clears a component's
requirements correctly when unmounting.
* Add fresh-data dev info support for dev builds.
This adds support for dev info to be accessed from the JavaScript
console for more information about resources handled by fresh-data.
* Update fresh-data to 0.6.0
* Make sure unreadReviews is a boolean so it doesn't render any character (II)
* Set unread indicator in the Reviews tab when there are on hold reviews
* 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
* 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
* 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
* 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
* 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
* Activity Panel: set reviews unread indicator based on real data
* Unify date comparisons to GMT
* Add numberOfReviews propType
* Verify date_created_gmt exists before using it
* Typos
* Table: update columns visibility on headers change
* Make sure initial user pref columns are loaded in all reports
* Return early filterShownHeaders when hiddenKeys is an empty array
* Undo 'headers', 'prevHeaders' order switch
* Add manage stock setting to global wcSettings
* Hide Stock tab from activity panel if stock management is disabled
* Hide Stock report if stock management is disabled
* Prevent stock page from loading if disabled and visited directly
* Hide stock status and quantity columns when disabled
* Add last read user data for inbox
* Check last read time against inbox note to determine read status
* Set last read in unmount to make component stateless
* Compare latest note time against last read time in activity panel
* Fix error checking and per_page limit
* Use component mount time for last read time in inbox
* Compare unread against note GMT time
* Add missing trailing comma
* Added a Margin of 40 pixel for better user interface, on mobile devices.
* applied suggestion and commited changes for all devices.
* applied suggestion and removed extra tab.
* Add product search option REST API
* Remove product_name search in favor of sku and name searching
* Search by product search term instead of generic search in autocompleter
* Add product search option REST API
* Override existing search param instead of new param
* Remove product_name search in favor of sku and name searching
* Add product search param to variations controller
* Add group by to prevent duplicate variations in response
* Use product_search in variation autocompleter
* Trim whitespace in product_search query
* Change variation search placeholder
* Override search param instead of using new product_search param
* Add baseSearchQuery to prevent losing single_product filter in variations report
* Unset s param instead of setting to false
* Add a single customer filter to the customers report
* Hook up activity panel orders customer link to customer report
* Use customer name for label instead of username
* Show error in activity panel if no actionable order statuses exist
* Localize empty actionable statuses string
* Add padding around empty content component in activity panels
* Translation call text domain change from “wc-admin” to “woocommerce-admin”.
* Fix .pot file generation.
* Fix errantly closed array item in /revenue/stats controller.
* Rename plugin zip, main file, and repo name to "woocommerce-admin".
* Improve Chart rendering performance
* Avoid reassigning yFormat prop in Chart
* Update focused keys on legend toggle
* Use selectionLimit constant instead of a hardcoded value
* Minor improvements
* Add store notice around processing historical data.
* Cleanup
* Handle PR feedback.
* Clean up `add` logic and add empty content_data. Also add logic to get_notes_count so that we can hide unactioned statuses.
* Add the ability to update a note, and to also mark a status when an alert is clicked.
* Remove mark_actioned call on sync
* add missing todo
* Make categories endpoint return zero-value items
* Rename PHP variable to make it more specific
* Remove uneeded lines
* Make variations and coupons endpoints return zero-value items
* Remove second parameter from get_ids_table
* Add button input type to analytics settings
* Add callback prop and disabled state to setting
* Add rebuild tool to settings page
* Re-enable setting if error is caught
* Remove rebuild tool from system tools page
* Move report build success message to API response
* Add back key for settings map
* Fix misspelled option group classname
* Conditionally add rebuild tool to non-wc-status page instead of removal hook
* Add actionable status setting
* Add actionable statuses to settings page
* Hook up actionable order statuses to activity panel
* Hook up actionable order statuses to activity panel
* Use instanceId to generate unique ids for chart legend items
* Decouple item key and label in Chart components
* Remove more duplicate IDs in the chart legend
* Use double underscores in element IDs following BEM rules
* Move 'withInstanceId' inside D3Legend component
* Simplify screen reader labels logic
* Add CHANGELOG message
* Use 'primary' and 'secondary' as items keys in time-comparison charts
* Display order number on reports, and add to API response.
* Add method for getting order number, avoiding loading the data store if no filter is attached.
* Add code to collection params to allow searching
* Add include param to tax rest api
* Remove duplicate get_collection_params
* Revert to previous taxes getLabel config
* Screen readers: read date instead of data keys in 'time-comparison' bar charts
* Make previous period labels more verbose
* Revert "Make previous period labels more verbose"
This reverts commit 34d13deaa982425ca2cba76dacfd2c89c96f06c0.
* Improve isSameDay check
* Add date to hour tooltip and improve screen reader label
* Add CHANGELOG message
* Make column filter menu items not focusable
* Check if onInvoke exists before calling it
* Revert "Check if onInvoke exists before calling it"
This reverts commit e3b63edd51395c0f967991e2d20fccf867e37b91.
* Revert "Make column filter menu items not focusable"
This reverts commit 3e0ac949fa057a0c235876731768b6f312ced998.
* Add isCheckbox prop to MenuItem component
* Fix arrow keys navigation in checkbox menu items
* Table: don't update showCols state when the headers prop changes
* Fix style of dashboard summary number placeholder
* Make store performance block to be a normal <div> instead of a Card
* Fix dashboard summary numbers style
* Simplify code
* Only show customer name if available
* Map customer data to extended_info in orders API response
* Add gross total and refund total to orders API response
* Hook up report orders endpoint to activity panel orders
* Add on-hold orders to activity panel orders
* Destructure extended_info in case of filtering
* Add customer link to orders panel
* Add the ability to search name, username, and email fields on the customer endpoint, update autocompletors, add in include parameter.
* Update the username to be returned in the download response, update download filtering based on customer id, and only rename include parameter on main customers endpoint.