FR: allow to overwrite an existing board on import
Closed this issue · 3 comments
After importing a saved revision of the same board, it is automagically assigned a new board id, what leaves us with two identical board names in the menu; if the issue is not attended immediately, then it is up to us as the user to figure out which is which, and makes the whole thing a little confusing.
I wonder what if we would allow the user to choose if the existing board shall be overwritten on import -- something along the lines of the following (982e26384f)?
I can easily make a PR if required ))
Good catch. There are two ways to address this.
- Keep the logic as is, but append, say,
imported on yyyy-mm-dd
to the board name, so to resolve the ambiguity. - Ask what to do.
I think the second option is cleaner, but the issue here is that the prompt will need 3 options - overwrite, create (with a new ID) or cancel, so if we are to stick to the stock UI, it will need to be either a prompt
(with explicit input) or a couple of confirm
s. The latter is probably better. I will make the change and let's see if it's workable.
... and I'll close it for now.