Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not saving after certain number lines? #21

Open
Singularity9 opened this issue Nov 26, 2018 · 1 comment
Open

Not saving after certain number lines? #21

Singularity9 opened this issue Nov 26, 2018 · 1 comment

Comments

@Singularity9
Copy link

I think I found a bug in the extension. Is there a particular max character or line limit?

I am seeing here that I am unable to save additional information on my notes.

Here are my current notes:
https://i.imgur.com/M3uFmfS.png

I then type additional info:
https://i.imgur.com/cOflqnp.png

I then click Save and it seems to save:
https://i.imgur.com/TD9s14c.png

I then close the tab, and open it again... but I only see this:
https://i.imgur.com/My1gzPU.png

So the last bit of information was lost.

Here is some data about my notes:
275 lines
7879 characters

Any way I can solve this issue?

@plibither8
Copy link
Owner

Hi!

First of all, I apologise for not replying to your email.

Now getting to the issue. I have certainly known about this for long, and the probable cause too. After investigating the issue further I realised that chrome.storage allows only 4096 bytes per item to be stored in their storage area. Usually, the history item takes up most of the available storage and exceeds the quota: 4096 bytes.

Since this is a limitation set by Chrome, there is no easy way to bypass it. I say easy because we can, of course, rely on other means of storage such as a GitHub Gist (or any other). But that won't be as easy, simple and quick to set up for the user and for me, as Chrome storage is.

For now, since I think this is predominantly stemming from history exceeding the quota, it is recommended that you delete some of your history items.

If this issue still persists, please copy your console logs in the Chrome developer console and post them here. I'll go through them.

Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants