-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
front-endTasks for Web Forms front-end packageTasks for Web Forms front-end package
Milestone
Description
Description
When a user opens a geoshapes question in Web Forms, they won’t see a location overlay because we are not requesting permissions up front. If they want to map their physical location, they can tap the “Find location” button to enable it.
Similar to geotrace, the goal is for them to create a shape using placement or manual modes and not have to worry about saving (continuous saving). The shape is also always closed, so they don't need to remember to finish before moving on to the next question.
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.
Need to make a decision on when that case is identified and how it's communicated down (e.g. would manually forcing the placement-map appearance feel appropriate) - No
- Yes. Outline the state flow requirements.
- Does it need a test plan?
- Yes. Add the test plan as a comment in this task or attach the document.
- No
User Stories & designs
Starting a trace - Figma
- As a user, I want to start adding points in placement mode without granting location permissions, as I may not want to map my physical location.
- As a user, I only want to share my location when needed (e.g., for manual mode), so that I can map my physical location
- As a user, I want to see a clear status such as “No points saved” when I begin, so that I know the shape hasn’t started yet. And it updates once I place points.
Adding/editing points - Figma
- As a user, I want to add points by long-pressing on the map, so that I can precisely define the shape I want to capture.
- As a user, I want to move a point by long-pressing and dragging, so that I can correct mistakes or refine the shape.
- As a user, I want points to autosave as I add them, so that my work is never lost.
- As a user, I want the most recently added point to be selected and visually larger, so that I can easily identify and adjust it.
Delete or undo - Figma
- As a user, I want to delete the entire shape by selecting the shape (not individual points) and tap the delete button with a confirmation, so that I can start over.
- As a user, I want to delete/undo a single point by selecting the point and tapping the trash icon, so I can delete easily
- As a user, I want undo to remove only the most recently added point, so that I can quickly correct mistakes.
Dependencies
Additional Notes
Related Issues
Metadata
Metadata
Assignees
Labels
front-endTasks for Web Forms front-end packageTasks for Web Forms front-end package
Type
Projects
Status
In Progress