[OSM-talk] Potlatch :-)

Richard Fairhurst richard at systemeD.net
Thu Nov 22 11:25:30 GMT 2007


Jon Bright wrote:

> One suggestion that I do have: I don't understand exactly how someone
> managed to delete a large amount of data.

Yes, I think we could do with a bit more detail on the alleged offence.

I agree absolutely with your point. The challenge is to design a UI  
that makes Good Stuff easy and Bad Stuff hard! Potlatch tries to do  
this by "hiding" the one destructive action exposed to users -  
deleting ways - by requiring you to Shift-Delete. (That seems to work  
by the number of people on IRC who ask "how do you delete a way in  
Potlatch?" :) ) If you click a way and press Delete it will do nothing.

Brief digression - there did use to be one issue with merging ways  
where you could accidentally delete a way:

- User merges two ways
   (Potlatch does what you'd expect: adds way B to way A, deletes way A)
- User thinks "I've changed my mind, I didn't mean to do that"
- User presses Esc to revert
   (Potlatch reloads last saved version of way A)
- Result is that way B is "gone" (though still in history, of course)

That was fixed the other week. Now, Potlatch makes a little note  
internally that "way A had way B merged into it", so when you press  
Esc to revert, it reloads both A and B. So that one's closed.

The undelete/revert stuff is potentially really froody. If someone  
tests it this morning it can go live this afternoon.

> Keep up the good work.

Thanks!

cheers
Richard





More information about the talk mailing list