6d17019827
* Add the `format` property to the items of the `rows` array in Analytics' Leaderboards API response to indicate how it's formatted. * Make the `Leaderboard` component within Analytics aware of the currency context and format the numeric columns accordingly. * Avoid a warning from the test of `Leaderboard` component when running JS tests. File: client/analytics/components/leaderboard/test/index.js Ref: https://github.com/woocommerce/woocommerce/blob/9.0.2/packages/js/components/src/pagination/pagination.tsx#L44 * Apply better practice to the test of `Leaderboard` component. File: client/analytics/components/leaderboard/test/index.js * Add changelog. * Make the `Leaderboard` component not create a new function for every `row` rendering. Address: https://github.com/woocommerce/woocommerce/pull/49097#discussion_r1667009910 |
||
---|---|---|
.. | ||
top-selling-products-mock-data.js |