Export and import of items
Sometimes, there is the need to export parts of a library and be able to import them again (in the same instance of the app on a device or by a completely different user on another device). Hence, it would be cool if the app would support an exchange format for sharing individual items!
The idea:
- Allow the user to export an item to a file.
- For "complex" items, this should also include subitems, e.g. an exported todo list also should contains any todos and tasks.
- The same applies to attachments and stuff.
- Users shall be able to read back such an export file.
- The user shall be able to select where to import it to, i.e. the target library or - for todos - the target todo list.
Note:
- Either on import or export, the UIDs of the items need to be re-shuffled to avoid that the same UID is present in several libraries that a single user owns or sees.
- If we do the shuffling on import, we could provide a "restore" functionality later on (i.e. allow the user to merge back the change and override any potential mistakes done).
As requested here: https://github.com/mhoeher/opentodolist/issues/54#issuecomment-1924995594