Description
Implement the draw question type (specs) to allow users to capture freehand sketches and annotations. This feature should provide a canvas where users can draw with a stylus or finger and save the result as an image file. Key functionalities include:
- Blank Canvas: Implementation of the standard
draw widget for creating new sketches from scratch.
- Canvas Clearing: Ability for users to reset the canvas if they need to restart their drawing.
- Media Integration: Ensuring the resulting sketch is saved and associated with the form submission as a standard image attachment.
Checklist
- Does it need UI/UX design?
- Does it need API design?
- Does it need design around state flow?
- Does it need a test plan?
User Stories
- As a data collector, I want to draw a freehand sketch of a site map so that I can provide a visual representation of the area I am surveying.
- As a researcher, I want to collect hand-drawn diagrams from participants to better understand their spatial perceptions or ideas.
- As a form designer, I want to include a drawing prompt so that users can sign their names or provide non-textual responses.
- As a user, I want to be able to clear my drawing and start over if I make a mistake, ensuring the submitted sketch is accurate.
Design
- Figma: [Insert URL]
- Design Docs: [Insert URL]
Dependencies
Additional Notes
Related Issues
Description
Implement the
drawquestion type (specs) to allow users to capture freehand sketches and annotations. This feature should provide a canvas where users can draw with a stylus or finger and save the result as an image file. Key functionalities include:drawwidget for creating new sketches from scratch.Checklist
User Stories
Design
Dependencies
Additional Notes
Related Issues