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

#2350: Generate survey files async #2362

Draft
wants to merge 33 commits into
base: main
Choose a base branch
from

Conversation

anaPerezGhiglia
Copy link
Contributor

Changes

  • create new SurveyResults GenServer
  • move responsibility of generating files from RespondentController to new SurveyResults actor
  • change files endpoints to "common" POST (without csv format)
  • change UI to make the POST call instead of a redirect to a new location

Out of scope

  • Keep track of generated files in the db
  • Files cleanup policy
  • Download existing files

for #2350

The info about the generated files is still pending.

See #2350
This will allow us to check if there already is a file generated or not.

Also, we move the decision of whether to regenerate a file or not to the
user (instead of checking if we should generate the file again or not).

See #2350
From the UI, request that the CSV files are generated by the backend.

We still miss checking if the files exist or are currently being
generated.

See #2350
Small changes, nothing too relevant.

See #2350
There's probably still an issue with react-timeago not being properly
ignored yet.

See #2350
There are no definitions available.

See #2350
Thanks, eslint!

See #2350
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

Successfully merging this pull request may close these issues.

2 participants