Closed apriofrost closed 4 years ago
Allow users to download the filtered desktop data in the current view in a JSON or CSV format.
Reuse the same API for downloading node data in Infrastructure, follow the new UI pattern.
https://chef.invisionapp.com/share/7ZWRC1GNQ2P#/412590751_-Slice_1_Release-Desktop_Dashboard-Daily_Unknown-Lg
Use the "inspect" feature at the bottom right of the mockup screen to see the UI implementation details
Click on the "Download" button
dropdown/default without label
the api for this is the same one used here:
api looks something like:
curl https://a2-dev.test/api/v0/cfgmgmt/nodes/export -d'{"output_type":"csv","filter":[],"sorting":{"field":"name","order":0}}'
User Story
Allow users to download the filtered desktop data in the current view in a JSON or CSV format.
Solution
Reuse the same API for downloading node data in Infrastructure, follow the new UI pattern.
UI Mockup
https://chef.invisionapp.com/share/7ZWRC1GNQ2P#/412590751_-Slice_1_Release-Desktop_Dashboard-Daily_Unknown-Lg
Use the "inspect" feature at the bottom right of the mockup screen to see the UI implementation details
Click on the "Download" button
Acceptance Criteria
dropdown/default without label
, restyle it to match with the mockup