forms
forms copied to clipboard
Save a Single Question as csv
Signed-off-by: hamza221 [email protected]
Codecov Report
Merging #1408 (4c1b378) into main (7a147d9) will decrease coverage by
8.38%
. Report is 23 commits behind head on main. The diff coverage is0.00%
.
:exclamation: Current head 4c1b378 differs from pull request most recent head bde8b86. Consider uploading reports for the commit bde8b86 to get more accurate results
Additional details and impacted files
@@ Coverage Diff @@
## main #1408 +/- ##
============================================
- Coverage 43.96% 35.58% -8.38%
+ Complexity 646 523 -123
============================================
Files 58 49 -9
Lines 2550 2043 -507
============================================
- Hits 1121 727 -394
+ Misses 1429 1316 -113
And also as discussed, we should probably remove the (responses) part from the export file cause it can mess with import and translations. cc @Chartman123 @jotoeri
Can you also add tests? Codecov is unhappy.
Ok - sorry for kicking in here with a bad comment, but that should probably be discussed before putting too much more work into this: Where is the benefit of having a single question exported as csv? Csv is a pure data representation, not being intended for direct reading by a user. As such, it will in 90% of the cases anyways be used with a certain data-handling / table-calculation software or alike, so the effort of deleting unused questions from the data is not very much. So overall i currently don't see the benefit of having only one question on a pure data-export, while coding-wise and UI-wise it just adds more complexity. As i always have the 'Simple forms app'(!) in mind, i would currently vote against adding a feature with such less really new functionality. But i'm open to get convinced if there is a real need for this. :wink:
(An export of the single questions summary-graphics would e.g. be a different thing! Then one could see the benefit of quickly having a human-readable representation of the summary.)
I fully agree from the technical perspective with you @jotoeri to keep things simple. However, NC was recently started to be used extensively as a complete backoffice solution for no-code office process management. This is very good news, because this means that it can completely replace the other, proprietary online offices, but it also means that some functionality cannot be simple unfortunately. The controlled data collection, surveying inside a company via Forms is also a crucial feature in other office solutions. So unfortunately, this contradicts with your "simple forms" vision. What I can tell from my experience is that it is quite common that the form creator monitors the incoming answers as they come and continuously manages partial data in her/his own calc sheet. This is definitely made much easier if getting an answer and pasting it is just two clicks instead of copying several fields by hand. This feature would help this case.
@gerazo note that right now this pull request implements the export of a single Question and its answers. But I think what you are referring to is the exporting of a single Response, correct?
@hamza221 and I talked about it and yeah, it does make sense. @jotoeri @Chartman123 what do you think? That is, having export in both the Summary and the Responses view on individual questions and responses.
Exporting question like via this PR | Where exporting individual responses could go |
---|---|
![]() |
![]() |