You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: