facebook / Rapid

The OpenStreetMap editor driven by open data, AI, and supercharged features
https://rapideditor.org
ISC License
517 stars 91 forks source link

control-Z to undo Undoes all additions since start of "current" edit #929

Closed bradlewt closed 1 year ago

bradlewt commented 1 year ago

Description

While digitizing roads and linking different RapiD segments together, sometimes one has to undo a wrong click. In the current version of RapiD, all nodes added since starting the edit sequence are removed. Previous versions removed only the preceding node. The current workflow requires a user to stop the edit sequence, manually select the offending node and remove it, then pick up the endpoint and keep going.

Version

2.0.2

What browser are you seeing the problem on? What version are you running?

Firefox v112.0

The OS you're using

win

Steps to reproduce

  1. start editing line feature
  2. click wrongly
  3. ctrl-z and watch all recent nodes vanish into the oblivion
  4. go back to previous endpoint and start again.

The browser URL at the time you encountered the bug

https://mapwith.ai/rapid#background=Maxar-Premium&datasets=fbRoads&disable_features=paths,indoor,landuse,boundaries&map=18.59/15.92839/-12.27513

The auto-detected useragent string for your browser (leave blank if you're manually filling this form out)

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0

bradlewt commented 1 year ago

Same as #858, #878, #890, #904... Sorry for not checking before.