MerginMaps / MerginMaps/mobile

When adding new feature, cancel button in form should go back to recording mode

Open
#1,712 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement recording
Dominant language
C++
Stars
388
Forks
87
Avg merge
2d 7h
Merged PRs (30d)
20

Description

Suggested by Input users...

  • right now pressing Cancel button will completely discard also the recorded geometry in addition to changes to the form
  • sometimes it happens that people click "Done" button too early or by mistake
  • especially when recording linestrings or polygons for extended time this can be quite unpleasant
  • it would be nice if the cancel button in the form just went back to the recording mode, so users can continue recording the geometry

It would be also good if the "Cancel" button in recording mode asked for confirmation to cancel recording (when recording linestring/polygon) - probably all such "destructive" actions should have a confirmation to minimize the chance of data loss.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are identified in the issue. Start by locating the form and recording-mode handlers, then trace how Cancel and Done transition between them; done means Cancel from the form preserves recorded geometry and recording-mode cancellation confirms before discarding line or polygon data.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.