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

bulk reponse editing interface #218

Merged
merged 3 commits into from
Jan 9, 2025
Merged

bulk reponse editing interface #218

merged 3 commits into from
Jan 9, 2025

Conversation

struan
Copy link
Member

@struan struan commented Jan 8, 2025

Allows uploading a CSV with updated responses to a question for bulk editing

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 16.37931% with 97 lines in your changes missing coverage. Please review.

Project coverage is 81.40%. Comparing base (f9f76a8) to head (97ec07f).
Report is 115 commits behind head on main.

Files with missing lines Patch % Lines
crowdsourcer/views/questions.py 18.05% 59 Missing ⚠️
crowdsourcer/forms.py 13.95% 37 Missing ⚠️
crowdsourcer/scoring.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #218      +/-   ##
==========================================
+ Coverage   80.84%   81.40%   +0.55%     
==========================================
  Files          88      103      +15     
  Lines        4449     6524    +2075     
  Branches      391      626     +235     
==========================================
+ Hits         3597     5311    +1714     
- Misses        766     1063     +297     
- Partials       86      150      +64     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@struan struan force-pushed the question-import-page branch 2 times, most recently from 21868f0 to 57d2b30 Compare January 9, 2025 12:23
struan added 2 commits January 9, 2025 12:31
If a response has multiple answers then use pipes and not commas to
split them as commas in the answer then confuse things if you are trying
to re-import.

Update the import_answers command to reflect this.
@struan struan force-pushed the question-import-page branch from 57d2b30 to 42792b4 Compare January 9, 2025 12:37
This is mostly to allow people to download a CSV of responses, edit that
and re-upload it to correct the responses. It will only update an
existing response if it has changed.
@struan struan force-pushed the question-import-page branch from 42792b4 to b47cd4e Compare January 9, 2025 13:01
@struan struan merged commit b47cd4e into main Jan 9, 2025
5 checks passed
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