Merged
Conversation
Collaborator
…nd better logic for grouped questions
Collaborator
Author
|
At @electiondaze 's request I have implemented this with grouping the sections and default-collapsing the main survey section when grouped responses exist. See screenshot. |
Collaborator
Collaborator
Author
|
@engelhartrueben latest commit should fix those issues. I couldn't figure out how to make the pie charts perfectly the same size, but they are at least not enormous now.We can bump the 50% to smaller still if you like, but it might mess up surveys with very many options |
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Description
Requested by Jim N (I can't find his Github account) -- This supports two groups of pie chart reports for survey/questions.
[]s that is the same, then those question's answers will be grouped together at the top with a title of "Grouped Questions with [question text]"[]s that are the same, then those answers will be grouped all together.Finally, button text will also work if you make it .e.g "[Yes] I like it" => "Yes" just like "Yes: I like it" would do so before. This makes it easier for buttons across questions to map to the grouped answer values in (2).
I'd like feedback on this feature before adding documentation to make sure one or the other or both features are what's desired and that it can work.
Checklist: