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
sessions: show welcome overlay on explicit sign-out (#307191)
* sessions: show welcome overlay on explicit sign-out
When the user signs out via the account menu, show the welcome/login
overlay immediately instead of waiting for the next app launch.
Listen to IDefaultAccountService.onDidChangeDefaultAccount for the
account becoming null, which reliably indicates a user-initiated
sign-out. Token refreshes keep the account non-null so there is no
false-positive risk.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: stub IDefaultAccountService in welcome contribution tests
The tests were missing a mock for IDefaultAccountService which was
newly injected. Add an emitter-based stub and a test that verifies
the explicit sign-out flow shows the overlay.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments