Skip to content

Exporting: Support for trigger background exports #720

@mihow

Description

@mihow

Quick description

  • User tiggers an export for the Occurrences list view based on current filters https://antenna.insectai.org/projects/18/occurrences (an other list views)
  • Choose from various formats (CSV, json, sql)
  • New model for tracking export history
  • Background job for generating export
  • Show user links to exports that are ready
  • Start with polling the exports endpoint
  • Look into websockets & notifications to user
  • Consider emailing the user with link

When we have an Occurrence Collection/Dataset type, then the user can create a dataset/collection from the Occurrence filters first, then export the Dataset/collection. So exports could actually be a method on Occurrence Datasets.

Examples of good asynchronous exports with notifications

  • GBIF export
  • Label Studio

Sub-issues

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions