bukinoshita/taskr

import user config

bukinoshita opened this issue · 0 comments

on /settings there's an option to import tasks

  • create importUser function on /services/settings.js
  • add click on import tasks
  • open dialog with openFile property to select file (Use electron dialog)
  • read file with readJSON (fs-extra)
  • save user on localStorage with updateUser method on api.js