tijmenvangulik / Ergometerspace

Documentation for ergometer-space
https://ergometer-space.org
Other
19 stars 7 forks source link

Define location where the workouts should be stored #9

Open fidel-perez opened 4 years ago

fidel-perez commented 4 years ago

Motivation

This would allow the users to move the default storage folder of the workouts into their cloud-storage folder, so there is no way they can loose them.

At the moment this functionality can be replaced by manually exporting the workout after every workout into the desired folder, maybe its enough as it is, I leave the decision to you :)

Thanks for this wonderful tool!

tijmenvangulik commented 4 years ago

Yes that would be a great feature. When running ergometer space in the browser, local storage is not the safest place.

On 1 Apr 2020, at 21:54, Armagedoom notifications@github.com wrote:

Motivation

This would allow the users to move the default storage folder of the workouts into their cloud-storage folder, so there is no way they can loose them.

At the moment this functionality can be replaced by manually exporting the workout after every workout into the desired folder, maybe its enough as it is, I leave the decision to you :)

Thanks for this wonderful tool!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tijmenvangulik/Ergometerspace/issues/9, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVG7NT675DXVKJO7DDZARLRKOLYFANCNFSM4LZQBPCA.

tijmenvangulik commented 4 years ago

What needs to be done is to move all items from the local storage to another storage. When you import it you first set all the items and then you need to do a refresh. This fixes also the multi user problem with import /export to the local storage all user data is changed. You can write a plugin for this if you want. (there is little knowledge needed on ergometer-space it selves, it is just local storare /external storage and make some small html interface)

fidel-perez commented 4 years ago

Im afraid I dont get what you mean. Also, Im using the installed version so this might not apply. Not sure if you are referring to a way to do this manually. My first idea was to move the installation folder into the cloud storage folder, but when checking it I couldn't find any recently edited files that would contain the workouts. Thats when I decided to put this request. Also, could I ask where are the workout files stored when the app is installed in Windows?

tijmenvangulik commented 4 years ago

I think this was I bit of “web developer language”, I assumed that you are a developer. But never mind, the feature is not there, and should be written by a developer. It can be on the list. You can read this article on where chrome is actually storing the local storage data:

https://www.howtogeek.com/255653/how-to-find-your-chrome-profile-folder-on-windows-mac-and-linux/

So every windows/mac user has its own local storage, and thus its own ergometer-space data. So switching the windows/mac user will switch the data.

But I understand your feature that you want to switch user and store the data on a better location. So this is on the wish list.

Tijmen

On 2 Apr 2020, at 17:04, Armagedoom notifications@github.com wrote:

Im afraid I dont get what you mean. Also, Im using the installed version so this might not apply. Not sure if you are referring to a way to do this manually. My first idea was to move the installation folder into the cloud storage folder, but when checking it I couldn't find any recently edited files that would contain the workouts. Thats when I decided to put this request. Also, could I ask where are the workout files stored when the app is installed in Windows?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tijmenvangulik/Ergometerspace/issues/9#issuecomment-607901478, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVG7NXGQ527RDLEUO7GX7DRKSSOVANCNFSM4LZQBPCA.