The-Productive-Champion icon indicating copy to clipboard operation
The-Productive-Champion copied to clipboard

local storage optimization

Open pritipsingh opened this issue 1 year ago • 4 comments

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.

pritipsingh avatar Jan 05 '24 15:01 pritipsingh