You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the extension is launched, we save some information to the browser’s local storage, things like the user's locale or cached notebook list. Another one of the things that is written into it is a unique ID, which is used mainly for telemetry purposes. When the extension is first installed, there is some logic which tries to retrieve that ID from the local storage, and if it doesn’t exist we assume that this must be a new install of the extension and a new tab is opened to our “installed” page on onenote.com. This should only happen once.
Now, when the browser is launched and a new tab is opened, a little bit of code is run - specifically to see if it should show a tooltip or the “What’s new” dialog - and the above described logic gets ran. In most cases, this goes unnoticed because the information being looked for in local storage, the ID in this case, is there and it knows not to run this first-run logic. However, when the setting to “Clear history when [browser] closes” is set, each time the browser is closed the information is deleted from local storage and essentially it starts fresh each time.
We should modify the logic such that the "first run" experience is really only shown once, when the extension is first installed, even if the local storage is cleared each time.