Commit Graph

3 Commits

Author SHA1 Message Date
Joshua T Flowers 3d15392ecd Update CSV filenames and remove item IDs (https://github.com/woocommerce/woocommerce-admin/pull/1738)
* Separate params by underscores

* Replace spaces and underscores in params with hyphens

* Delete extended info from filename

* Delete found search IDs when search query exists

* Adjust tests to fix new filename format

* Clone params instead of modifying query

* Decode params and only allow alphanumeric characters
2019-03-06 13:16:38 +08:00
Joshua T Flowers 88c2973e2a Fix null values in CSV columns export (https://github.com/woocommerce/woocommerce-admin/pull/1652)
* Fix null values in CSV columns export

* Check if value is null or undefined to avoid falsey for 0 values

* Add null value to CSV tests

* Improve changelog message
2019-02-22 10:02:38 +08:00
Kelly Dwan 8af82f3dee Build: Move `lib/csv` to packages (https://github.com/woocommerce/woocommerce-admin/pull/756)
* Move CSV to packages

* Update CSV imports

* Add some basic usage documentation

* Add csv lib to the enqueued assets

* Change name to `csv-export`

* Update webpack build process to allow for package names with dashes

* Fix capitalization

* Update readme with docs extracted from jsdoc

* Fix merge conflict commit 😣

* Check that generateCSVFileName is called with correct params
2018-11-06 16:53:22 -05:00