View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
11811 | Feature requests | Statistics | public | 2016-10-18 15:37 | 2019-01-03 18:51 |
Reporter | jeskiv | Assigned To | |||
Priority | none | Severity | feature | ||
Status | assigned | Resolution | open | ||
Summary | 11811: View free text answers in simple mode statistics | ||||
Description | At the moment there is a message saying "No simple graph for this question type" for long free text and short free text answers. Instead, there could be a link to download the list of answers as CSV or PDF or a link to a separate page listing the answers, or the box could have the answers listed with its own scroll down bar. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 12 | ||||
Story point estimate | |||||
Users affected % | |||||
I second this one! ++ |
|
well, statistic helper code is the Hell of the Flying Spaghetti Monster. |
|
I was actually able to do this just by adding the following lines in the statistics helper before the else which shows "nograph"-view which is on line 2366: //show answers in text if type short text or text
And then the new view file _statisticsoutput_simpletext.php just has this: <?php
I needed to do quite a lot of other customizations to the simple view in statistics helper, so I ended up creating my own "plugin", which now includes this as well. Feel free to add this to the original if it follows the design principles, I don't know about that. |
|
I'm not for actual update of statistics. Rewriting is need before. And here : if you have 1000 answers : you show 1000 lines in "quick statistics" => quick ? Really ? |
|
Well yes. I don't have such big data to test with so don't know how fast it works. It will show a scrollbar, so it will still look nice. As said, if you feel like it doesn't follow your design principles don't add it. I got what I needed and thought it might help. Doesn't it also go through all those 1000 answers in all the graphs so shouldn't it be as quick as those? |
|
I now created a testfile of 1000 text answers, and it does load the "Simple statistics"-page quickly and looks nice. To specify: it shows scrollbar in each separate text field question answer box, so doesnt destroy the general layout. IMHO a lot more usable than showing "no simple graph for this question type". Yes sure, its quite hard to go through 1000 responses in that format, but I need it for maybe 10-20 respondents, where it still works well. |
|
Thinking
|
|
I think that it is useful for the user to see the free text answers right away. At least for us this removes the need to use the expert mode. The data of answer vs no-answer could be also shown similar to arithmetic mean and standard deviation are shown under the question before the graph. You don't need a graph to say "answers 13 no answers 15". |
|
it appears the free text answers do not show up in expert mode as well , even if "Show text responses inline" is selected (using Version 2.50+ Build 160206) |
|
"Show text responses inline" works in 3.15 within the expert mode (so one doesn't has to click the "Browse" answers to list them). However I also think an option to show free text answers in the simple mode would be very good, Perhaps what could be considers to help with going through more answers / scrolling might be to have the question listed in a full row instead of just one column and perhaps with an option to expand the view more to have less scrolling. I would think that many users will have a 20-50 participants audience and not always in the hundreds or thousands :) |
|
I tried out the approach by jeskiv which worked great to get the output of the answers, I removed the classes for alert and alert-warning to make it look better :) than i managed to use the same view from the expert mode instead, which offers the search icon to open individual records which is even better :) elseif ($outputs['qtype'] == "T" || $outputs['qtype'] == "S") /application/views/admin/export/generatestats/simplestats/_statisticsoutput_simpletext.php <?php This view renders the 'text'-type answers <?php <?php |
|
forgot to include the permission check: <?php This view renders the 'text'-type answers <?php <?php |
|
We can not do foreach ($data as $row) { … There can be 10 000 and more row … need to be ajaxed with start and count |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2016-10-18 15:37 | jeskiv | New Issue | |
2016-10-18 15:56 | pmonstad | Note Added: 41423 | |
2016-11-14 17:17 |
|
Note Added: 41921 | |
2016-11-14 17:18 |
|
Assigned To | => LouisGac |
2016-11-14 17:18 |
|
Status | new => assigned |
2016-11-23 11:46 | jeskiv | Note Added: 42192 | |
2016-11-23 12:04 | DenisChenu | Note Added: 42194 | |
2016-11-23 12:43 | jeskiv | Note Added: 42198 | |
2016-11-23 12:59 | jeskiv | Note Added: 42199 | |
2016-11-23 14:42 | DenisChenu | Note Added: 42202 | |
2016-11-23 16:14 | jeskiv | Note Added: 42217 | |
2018-05-17 11:33 | burnheart | Note Added: 47659 | |
2019-01-03 13:04 | markusd1984 | Note Added: 50088 | |
2019-01-03 17:07 | markusd1984 | File Added: LS statistics simple text.png | |
2019-01-03 17:07 | markusd1984 | Note Added: 50093 | |
2019-01-03 17:16 | markusd1984 | Note Added: 50094 | |
2019-01-03 18:51 | DenisChenu | Note Added: 50097 |