sillsdev / flashgrid

Other
5 stars 4 forks source link

FlashFork: give warnings about the need for cloning and unique IDs #21

Open pconstrictor opened 9 years ago

pconstrictor commented 9 years ago

It's important for users to understand why (and when) they should use the "Tools / Copy Deck" feature to clone a deck.

The most important time when this is needed is when importing from APKG, and maybe also when exporting to APKG. (That's the only format that I know preserves Anki's IDs. Plain text does not.)

pconstrictor commented 9 years ago

I've added two MessageBoxes to Anki itself via the latest release of FlashGrid.

After Export:

"REMINDER: If anyone later imports this APKG file as a starting point for their own, separate deck, they should explicitly use Tools / Copy Deck to clone the deck/note types/notes/cards. This will give them new unique IDs. Otherwise, Anki will try to merge the two decks if they ever end up on the same computer."

After Import:

"Done importing from APKG. If you are 'forking' your own separate copy of this deck, please explicitly use Tools / Copy Deck to clone the deck/note types/notes/cards. This will give them new unique IDs. Otherwise, Anki will try to merge the two decks if they ever end up on the same computer."

It would be nice if the latter could check before importing, so that if any IDs are already in our collection (and will therefore be merged) we'd warn the user first and allow them to cancel the import. So, I've left this issue open for now.