OpenTracks icon indicating copy to clipboard operation
OpenTracks copied to clipboard

Implement UI to handle import conflicts

Open dennisguse opened this issue 3 years ago • 3 comments

Current implementation as of #312: either prevent import of already existing track (reported as error) or just duplicate the track (generate new UUID).

This can be improved by

  • showing a dialog before start importing tracks (incl. number of tracks)
  • showing a dialog for each conflicting file to be imported

Either way, we need the following options:

  • skip (default)
  • overwrite
  • insert as new

PS: Follow-up to #307 and #312. https://github.com/OpenTracksApp/OpenTracks/pull/312#issuecomment-674363208 https://github.com/OpenTracksApp/OpenTracks/pull/312#issuecomment-674364972

dennisguse avatar Aug 15 '20 19:08 dennisguse

@rgmf Wasn't that implemented?

dennisguse avatar Nov 23 '20 19:11 dennisguse

@dennisguse no, It wasn't. It could be the next thing to do after #518 , little by little. I can to take over this in the next days...

rgmf avatar Nov 23 '20 19:11 rgmf

My mistake: it is implemented for exports, not for imports. Was not aware of this... But I guess it is not too urgent.

dennisguse avatar Nov 23 '20 20:11 dennisguse