Implement sending to backend 'data export'

Description

Page for Data Export should be ready within the scope of this ticket . The backend API wasn’t ready while developing this ticket therefore we have to implement mechanism to send request to API to generate zip file with chosen selected files. For that moment 'export' button generate mocked fake zip file until API is developed within those tasks .

Moreover toast must be implemented and added into ui-components react module. The information should be displayed after generating zip file.

Attachments

2

Checklists

Activity

Aleksandra Hinc 
March 8, 2023 at 10:29 AM

  • Checked on Mozilla and Chrome browsers using test instance;

  • The previously found issues (1, 2, 3) are fixed;

  • No other issues found;

Nikola Laskowska 
March 8, 2023 at 8:40 AM

merged, please make sure that your changes are available on UAT for testing

Michał Dulko 
March 8, 2023 at 8:04 AM

Updated those changes and created pull request.

Aleksandra Hinc 
March 6, 2023 at 10:19 AM

  • Checked on Chrome and Firefox using test instance;

  • The administrator ‘Data Export’ page which manages data export functionality is created;

  • The page contains two dropdowns.

Issues found:

  1. We should rename the files in the Data drop-down:

  • Orderable.csv → orderable.csv

  • OrderableIdentifier.csv → orderableIdentifier.csv

  • ProgramOrderable.csv → programOrderable.csv

  • TradeItem.csv → tradeItem.csv

2. After selecting the checkboxes, the files names fill up in the Data field, but doesn’t contain the format. We should rename the files names, displaying in the Data field:

  • orderable → orderable.csv

  • orderableIdentifier → orderableIdentifier.csv

  • programOrderable → programOrderable.csv

  • tradeItem → tradeItem.csv

3. The background is expanding after selecting the Data field. It should be sticked, as in the e.g. creating roles modal.

Actual result:

Expected result:

Seweryn Niedzielski 
March 3, 2023 at 12:16 PM

PR is merged. Please make sure change is available on UAT instance. After that could start test this whole functionality described here .

Unresolved
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Original estimate

Time tracking

7h 30m logged30m remaining

Priority

Time Assistant

Created January 20, 2023 at 2:00 PM
Updated March 31, 2023 at 11:46 AM