-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* refactor: fix logic for generating matrix answers Simplified and fixed logic for generating response text for matrix item types (single selection per row, multiple selection per row). Omitted row selections should not display any "skipped" text. Also, the order of responses shouldn't change based on the format picked from the dropdown – responses should always be output by column left to right, then by row top to bottom. The only thing that changes based on the format selection is whether to output the response as "columnLabel rowLabel" vs. "rowLabel columnLabel". * fix: improve slider response output - Do not treat slider 0 value as "skipped" for `sliderRows` - Output individual `slider` response in same format as `sliderRows`
- Loading branch information
1 parent
75ce9e8
commit 5a99170
Showing
3 changed files
with
107 additions
and
144 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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