Skip to content

Data Import/ExportΒ #3

@waterrmalann

Description

@waterrmalann

Importing/Exporting Data

This issues discusses the possibility of exporting card data from the app as a local file as well as importing files containing card data in the app. This could be really useful when you wish to share your kanban boards with someone else or to import other's boards or even if you wish to transfer your boards between devices as Kards does not have a backend.

Implementation

The app data is already stored as a JavaScript object which is easy to serialize into JSON format, so the obvious choice is to use .json files for the export and import of data files. Another format like .csv could have also been considered, however it is quite difficult to store multiple boards along with all the settings of the app. Perhaps in the future, there could be a way to export/import individual boards as/from .csv files.

Importing

Importing can be implemented using the File Reader API. Perhaps a button in the settings menu of the app could prompt the user to select a JSON file, which will then be parsed and loaded by the app. There could be additional options whether to overwrite the existing boards or to load the boards from the file as additional boards.

Exporting

Exporting can be implemented using the Blob API. The app data will be JSON stringified and downloaded locally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions