Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(surveys): preact surveys components (#964)
* setup wip * support new components in tests and add event listeners * multiple choice and multiple question surveys * connect multiple questions surveys and type fixes * convert feedback widget * working open choice option * clean up unit tests * fix confirmation box close * missing lock file? * fix test * test * test flakey test * change order of capture wait * test * cypress leaving too quickly * flakey test * final fix?? * clean up useRef code * add todos and address rating question type comments * remove unused auto-text-color class * collapse else ifs * singular display state for surveys * fix display status state * fix test * test * this one test.... * fix: TSconfig to allow file structure for surveys (#1001) * Refactor * Fix * fix? * fix? * option 2 * refactor and fixes --------- Co-authored-by: Neil Kakkar <[email protected]> Co-authored-by: Li Yi <[email protected]> * fix check mark color on white backgrounds * test * fix weird cached state test * fix open ended answer submit bug * split up the survey shown and dismissed event test * feat(surveys): render surveys preview method (#1020) * Refactor * Fix * fix? * fix? * option 2 * refactor and fixes * wip * only export preview render * read only mode for preview * fix import * add question index preview state * refactor auto text color * remove right css for preview * border radius fix * remove comments * move render into loader-surveys * add test and undo optional param * type fixes --------- Co-authored-by: Ben White <[email protected]> Co-authored-by: Neil Kakkar <[email protected]> --------- Co-authored-by: Ben White <[email protected]> Co-authored-by: Neil Kakkar <[email protected]>
- Loading branch information