freeCodeCamp / devdocs

API Documentation Browser
https://devdocs.io
Mozilla Public License 2.0
35.06k stars 2.33k forks source link

Offline mode not working with different Windows users #649

Closed trhsrw closed 7 years ago

trhsrw commented 7 years ago

The offline mode seems to ignore additional doc packages when a different Windows user logs in.

The setup:

The problem: When additional docs (e. g. AngularJS 1.6, jQuery) are installed for offline use in ChromePortable, different Windows users (or users on a different machine using the portable Chrome) see only the docs enabled by default (CSS, DOM, etc.) in offline mode. The same occurs if a non-portable version of Chrome is used. The localStorage and IndexedDB entries can be seen in the developer tools of Chrome, even if a different user logs in. Nonetheless, only the default docs are available offline.

The user who installed the docs can see and access all docs offline.

The images attached show the original user's view and the different user's view. Note, that both views were recorded in a filesystem location, where Chrome Portable was NOT originally installed (it was moved).

Original user: original_user

Different user: different_user

Thibaut commented 7 years ago

Hi

The selection of docs is stored in a cookie, not localStorage or IndexedDB. I'm guessing that in your case, cookies are not shared between the user profiles (or didn't get copied like you expected).

Closing the issue, as this isn't a problem with DevDocs.