When a user refreshes the browser or reopens Agenda.dev, the application reinitializes with the first workspace in the account’s workspace array instead of the workspace that was active before the refresh. This disrupts workflow continuity and increases the risk of users creating or editing items in the wrong context.
Constantly resetting the workspace context adds cognitive overhead and can lead to data being added to an unintended workspace. I've found this can be especially problematic in multi-team or multi-project environments.
Steps to Reproduce
- Sign in with an account that owns multiple workspaces.
- From the workspace selector, choose any workspace other than the first one.
- Reload the page or close and reopen the tab.
Expected Behaviour
- The previously selected workspace should be restored automatically after the application reloads.
- The chosen workspace should remain the default across browser sessions until the user explicitly selects a different workspace.