pritipsingh / The-Productive-Champion

An all in one Productivity Chrome Extension. Contribute Now!
https://chromewebstore.google.com/detail/the-productive-champion/kmialbhbohkiikfknakekladobilojkg
MIT License
69 stars 24 forks source link

local storage optimization #15

Open pritipsingh opened 6 months ago

pritipsingh commented 6 months ago

We don't really need local storage in the client side as we're already storing it in the extension side using:

Screenshot 2024-01-05 at 8 47 44 PM

And we're also storing it in client side like this:

Screenshot 2024-01-05 at 8 48 18 PM

The other approach would be on Clicking handleFocusTime we can send the values of end, start or value of focus toggle to background script and to show it in the extension we can fetch it directly from there using the chrome's send function from background to popup.

Ydixit007 commented 6 months ago

Hi @pritipsingh , can you please assign me this issue. I will modify it according to the other approach that you shared.

pritipsingh commented 6 months ago

Hey @Ydixit007 Currently we're rebuilding a few features. Should be done this week. And then I will assign this to you does it work?

Ydixit007 commented 6 months ago

Sure , will work

pritipsingh commented 5 months ago

Lesss goo🚀