Skip to content

Conversation

tomsmith8
Copy link
Collaborator

Resolves #1135 - When a user session ends, the default workspace now remembers the last workspace they accessed instead of defaulting to the first workspace alphabetically.

Changes:

  • Add lastWorkspaceSlug cookie with 30-day expiry
  • Update workspace-resolver to check cookie before falling back to default
  • Persist cookie when workspace loads or user switches workspaces
  • Validate user still has access to last workspace before redirecting
  • Update tests for new cookie-based resolution logic

Copy link

vercel bot commented Oct 10, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
hive Ignored Ignored Oct 10, 2025 4:45pm

@tomsmith8 tomsmith8 requested a review from Rassl October 10, 2025 16:44
Resolves #1135 - When a user session ends, the default workspace now
remembers the last workspace they accessed instead of defaulting to
the first workspace alphabetically.

Changes:
- Add lastWorkspaceSlug cookie with 30-day expiry
- Update workspace-resolver to check cookie before falling back to default
- Persist cookie when workspace loads or user switches workspaces
- Validate user still has access to last workspace before redirecting
- Update tests for new cookie-based resolution logic
@tomsmith8 tomsmith8 force-pushed the fix/last-workspace-session-persistence branch from e8b729c to 1f2107b Compare October 10, 2025 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New session default workflow

1 participant