Skip to content

feat: table export upgrades

David Flor requested to merge xflord/STR-1462/export_tweaks into main

Description

feat: table export upgrades

  • exporting paginated users/members took some time with large data, added loading dialog to all these places
  • added information about finish time and cancel button to the loading dialog (which indeed cancels the request)
  • updated openapi
  • moved some stuff to new 'perun-table-utils' lib to avoid circular dependency (it also makes more sense)
  • max amount of data that is exportable is now controlled with config property 'export_limit'

BREAKING CHANGE: new defaultConfig property 'export_limit'. Default is 1000

How to test

Try to export large data, try to export data over the limit, displayed data under the limit total data over, etc etc.

Author's checklist

  • I have followed the contribution guidelines
  • This MR has been tested or does not change functionality
  • I have added relevant merge request dependencies (if this MR has any)
  • I have added the correct labels
  • I have assigned reviewers (if any are relevant)
  • I have edited the documentation (if the changes require it) or I have noted the need for the change if I do not have access to the documentation
  • I have marked all introduced BREAKING CHANGES or necessary DEPLOYMENT NOTES in the commit message(s)

Reviewer's checklist

  • This MR has been tested or does not change functionality
  • This MR has correct commit message format

Other information

Most of the changes is just me moving things around and updating the imports, try to focus to changes to ExportDataDialogComponent, the components that use it, ExportTableDialogComponent, and the table util components

Related issues

Closes STR-1462

Edited by Rastislav Kruták

Merge request reports