genshin-optimizer icon indicating copy to clipboard operation
genshin-optimizer copied to clipboard

Sync artifact+weapon loadouts data to cloud storage

Open sagelga opened this issue 3 years ago • 13 comments

Hi, I am currently using the site and got some inconvenient on the database. I need to manually store the data.json file to Google Drive in order to make a database backup and allows me to edit the database on the other device.

Can you make the "Store in Google Drive" or any equivalent solution?

Example website that already implements this feature is https://paimon.moe/. They use Application Data Directory from Google Drive.

If the website allows that, it will helps me (and many others) to sync the database across their device. Pretty much a QOL improvement.

Thanks!

sagelga avatar Nov 08 '21 09:11 sagelga

I fully agree. A function like that would be especially useful for people working on multiple devices.

antipainK avatar Dec 16 '21 13:12 antipainK

This, more than UI overhauls. I just cleared browser data and my database got wiped...

At least I had a backup from a month ago, but most people wouldn't have one. And even so I had to manually go through 150+ artifacts and add/edit 20 of them.

hyoretsu avatar May 09 '22 01:05 hyoretsu

How is this feature request not high priority?

lampham7 avatar Aug 26 '22 15:08 lampham7

+1 for this feature. I took a peek at the backup json and I wouldn't want this in my browser local storage long term as I have thousands of entries. Even more so if it can potentially take a long time to generate builds.

kudoku avatar Sep 13 '22 00:09 kudoku

+1

isaswa avatar Oct 22 '22 17:10 isaswa

+1 for this. This is the 3rd time so far that I've lost all of my data as well as my multi target optimizations. If for nothing else, this is incredible as a backup, and it would alleviate my worries that it will all just go poof without notice

Skynetexe avatar Mar 04 '23 15:03 Skynetexe

In the meantime, you can backup your DB from the settings tab in the top right

The data is stored in localstorage, so it will only be wiped if the user deletes the cookies for the site, or uses some cleaning program like CCleaner.

The exception is any browser on iOS. Due to a privacy policy on iOS, browser cookies will be deleted after 2 weeks if the site has not been opened, so we recommend that iOS users regularly back up their DB until we have the availability to implement this feature

nguyentvan7 avatar Mar 05 '23 03:03 nguyentvan7

I would like to make an attempt at this, in my free time. I should just submit a PR or is there anything else, that I should be aware of?

nmasnadithya avatar Oct 13 '23 13:10 nmasnadithya

Only thing to be aware of is that we deploy using Github pages and do not have any backend. So the API key will be fully public once the site is deployed. But AFAIK, Google allows you to scope the key to only work on a specific site, so shouldn't really be an issue.

nguyentvan7 avatar Oct 13 '23 16:10 nguyentvan7

anything i can help to speed up the deployment of this issue? i see it is already merge into drive branch but when it will be deployed to main?

nambn avatar Dec 29 '23 05:12 nambn

Life has been hectic, so I actually couldn't start working on this. So, if you are taking this up, you can go ahead. On Dec 29, 2023 at 10:38 AM +0530, Nam Bui @.***>, wrote:

anything i can help to speed up the deployment of this issue? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

nmasnadithya avatar Dec 29 '23 05:12 nmasnadithya

There are some additional UI work on that branch, as well as getting the site approved by Google (which has quite a few steps). We've not had much free time to address either of them so far.

frzyc avatar Dec 29 '23 06:12 frzyc