HaolinZhong / PMCA

Practice Makes Code Accepted
MIT License
101 stars 13 forks source link

syncing across devices not functional #22

Open tesfalem-eshetu opened 2 months ago

tesfalem-eshetu commented 2 months ago

Hi,

I hope you are doing well. First and foremost thank you for making such an incredible extension. It has been really helpful in my leetcode journey. I have switched laptops and tried the sync feature, however, even though I have followed the guidelines it seems to be not working.

could you please look into the problem or may be provide me with a suggestion as to how I can make it work in my device.

sincerely, Tesfalem

HaolinZhong commented 2 months ago

Wow, thanks for the kind words 😊 I'm glad the extension has been helpful

The root cause of this issue is, when I was developing this feature, I ignored the storage limit of the sync API provided by Chrome. The current storage capacity can only support sync ~ 40 problem data. As a result, once you have 40+ problems stored locally, the sync will fail.

In the short term I will implement a quick fix. If the fix works as I expected, the extension should be able to sync ~300 problem data.

In the long term I will introduce a database to fully resolve this issue.

Thank you!