duolingo-solution-viewer icon indicating copy to clipboard operation
duolingo-solution-viewer copied to clipboard

Idea: add an option to save the settings (all solutions/ alphabetical sort...)

Open tobiornottobi opened this issue 4 years ago • 7 comments

It would be nice if the plug-in could remember the settings I like and keep them. This could be optional.

tobiornottobi avatar Sep 01 '20 08:09 tobiornottobi

The extension should already remember all these settings, do they always get reset in your browser, or only sometimes?

blmage avatar Sep 05 '20 07:09 blmage

@blmage, It doesn't even remember that I set it to show all results when I close the browser tab or just use another one. I didn't know the intended behavior was that this should be saved. I don't think my browser settings should affect this.
I hope that the saved solutions don't get deleted but I know they carry over to another tab because the discussion isn't opened in the same tab. So, that's better.
Is there a way to see the saved solutions offline? It would be nice if I could see the saved data of the extension.

tobiornottobi avatar Sep 05 '20 14:09 tobiornottobi

Unlike solutions, settings are currently stored in the browser's localStorage, which is domain-based. Could this be the problem you're facing? (settings are remembered, but not shared between the practice sessions and the forum discussions?)

Anyway, I see how it can be confusing, so I'll make sure to improve this in the next version!

blmage avatar Sep 09 '20 11:09 blmage

@blmage Sorry, I didn't have any time until now. I don't know if that is the problem. The settings are not remembered if I just use a different tab for a new practice session. The settings are only remembered in the same tab. Thank you.

Can you tell me if and how I can view the stored sentences of your plug-in in the localStorage? I know it is stored as a database but I can't really view it.

tobiornottobi avatar Oct 23 '20 14:10 tobiornottobi

No problem! I will take a closer look at this problem as soon as the next major version is released.

Regarding the sentences, they are stored in an IndexedDB database at the extension-level. It is possible to consult them, but they are not directly exploitable (it is necessary to use JS snippets). Can you tell me what browser you are using, so that I can point out exactly how to access it?

blmage avatar Oct 26 '20 13:10 blmage

@blmage sure, thank you. I am using Firefox (81).

tobiornottobi avatar Oct 26 '20 19:10 tobiornottobi

@blmage I am still interested in a solution.

tobiornottobi avatar Mar 13 '22 11:03 tobiornottobi