Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data Import/Export #3

Open
waterrmalann opened this issue Oct 5, 2022 · 1 comment
Open

Data Import/Export #3

waterrmalann opened this issue Oct 5, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@waterrmalann
Copy link
Owner

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.

@waterrmalann waterrmalann added the enhancement New feature or request label Oct 5, 2022
@maliksenpai
Copy link
Contributor

I will work on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants