Skip to content

Draw question type #698

@latin-panda

Description

@latin-panda

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?
    • Yes. Describe the UI/UX requirements or attach a Figma link in the "Design" section.
    • No
  • Does it need API design?
    • Yes. Specify the endpoints, methods, or data structures needed.
    • No
  • Does it need design around state flow?
    • Yes. Outline the state flow requirements.
    • No
  • Does it need a test plan?
    • Yes. Add the test plan as a comment in this task or attach the document.
    • No

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

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Next

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions