Often countries want to print a list of all the records in a workqueue. To support existing paper processes.
To give flexibility to different country requirements. The user can export to csv. and then print the output form a local program such as excel. Similar to Vital Statistics Export
Countries can also specify what to include in the export. As the workqueue row has limited information about the record.
Note. the user would require internet to generate the csv.
Note. this csv will contain PII - very similar to Vital Statistics Export
This ticket is to:
Add a scope: export-records
Add a CTA to Workqueue and search results: 'Export'
Icon name = "Export"
Confirmation dialog showing the amount of records that will be exported
Export the records in the Workqueue / search results to .csv
Exports all records in all pages (includes paginated pages)
Configure what data to show in the export
Add action to user audit when they export a workqueue / search results
Workqueue (TopActionButtons)
Use Button component - icon variant
Search results/ Save query
ACs
GIVEN I am on a workqueue
WHEN i have the scope to export-workqueues-searchresults
THEN I can see the option Export in the workqueue menu
GIVEN I am on an advanced search result
WHEN i have the scope to export-workqueues-searchresults
THEN I can see the option Export in the advanced search results menu
Description
Often countries want to print a list of all the records in a workqueue. To support existing paper processes.
To give flexibility to different country requirements. The user can export to csv. and then print the output form a local program such as excel. Similar to Vital Statistics Export
Countries can also specify what to include in the export. As the workqueue row has limited information about the record.
Note. the user would require internet to generate the csv. Note. this csv will contain PII - very similar to Vital Statistics Export
This ticket is to:
export-records
Design
Workqueue (TopActionButtons) Use Button component - icon variant![Image](https://github.com/opencrvs/opencrvs-core/assets/46478402/f9285c29-70c5-4387-b5c9-e6a0e3f7bf06)
Search results/ Save query![Image](https://github.com/opencrvs/opencrvs-core/assets/46478402/d681cbcb-6edb-4bc9-82a7-25f54d73cdaf)
ACs
GIVEN I am on a workqueue WHEN i have the scope to export-workqueues-searchresults THEN I can see the option Export in the workqueue menu
GIVEN I am on an advanced search result WHEN i have the scope to export-workqueues-searchresults THEN I can see the option Export in the advanced search results menu
Tech tasks