Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSV and JSON export are not implemented #160

Open
almereyda opened this issue Mar 2, 2022 · 0 comments
Open

CSV and JSON export are not implemented #160

almereyda opened this issue Mar 2, 2022 · 0 comments

Comments

@almereyda
Copy link

What's this issue about?

The submission export currently only allows XLSX export, with no option to get the other CSV or JSON forms, as suggested by the README. This issue tracks their implementation, following on from #124

https://github.com/ohmyform/ui/blob/23e67c8f7e65396782f48ef5dfeef56ec8e45da9/components/form/admin/export.submission.action.tsx

Expected behavior

  • Allow to download CSV as well. The presence of @fast-csv/ parse and format in yarn.lock suggests this is somewhat anticipated. https://github.com/ohmyform/ui/search?q=csv&type=code
  • Allow to download JSON as well. Ideally, this can also happen through the API by providing an authorization token, which would have to be created in the user profile first.

Actual behavior

When exporting submissions, they are delivered as an XLSX blob.

Steps to reproduce

  1. Open the list of submissions.
  2. Press export.

Environment

This is a Docker environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant