Skip to content
This repository has been archived by the owner on Oct 1, 2021. It is now read-only.

Export/Import partial data #61

Open
noahjutz opened this issue Feb 17, 2021 · 2 comments
Open

Export/Import partial data #61

noahjutz opened this issue Feb 17, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@noahjutz
Copy link
Owner

In order to share routines/exercises/workouts/programs (#51, #52) to other users, exporting and importing only selected data rather than the entire database must be implemented.

The planned UX:

  • Upon pressing "backup" in the settings, a dialog shows up prompting the user to select which data to include/exclude (checkboxes for routines/exercises/etc.)

  • Respective screens (RoutineEditor/ExerciseEditor) will have a "share" button

  • Upon pressing "import", no data is erased. Data is only added, granted it isn't duplicate data.

  • There will be an additional option to erase all data in case a user wants to restore a backup.

The codebase:

  • The current implementation only allows for replacing the database file with another.
  • Maybe solving this issue will require a different type of serialization (?)
@noahjutz noahjutz added the enhancement New feature or request label Feb 17, 2021
@mbnoimi
Copy link

mbnoimi commented May 16, 2021

I missed this feature a lot. Today my wife spent 30 min cleaning my database (I sent to her) because she uses different programs (routines groups) of my own while both of us nearly use the same exercises.

@noahjutz
Copy link
Owner Author

I'm sorry about that, I still plan on implementing this feature, but please be patient. Pull requests are naturally always welcome.

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

No branches or pull requests

2 participants