Skip to content

fix(workspaces): fall back when randomUUID is unavailable - #1397

Open
ZacharyZcR wants to merge 1 commit into
Termix-SSH:dev-2.8.0from
ZacharyZcR:fix/support-1263-workspace-uuid-fallback
Open

fix(workspaces): fall back when randomUUID is unavailable#1397
ZacharyZcR wants to merge 1 commit into
Termix-SSH:dev-2.8.0from
ZacharyZcR:fix/support-1263-workspace-uuid-fallback

Conversation

@ZacharyZcR

Copy link
Copy Markdown
Member

Summary

  • generate workspace slot IDs without assuming crypto.randomUUID exists
  • retain native UUIDs when available
  • cover browsers/non-secure contexts without the API

Verification

  • npx vitest run src/ui/tests/shell/workspaceUtils.test.ts (17 passed)
  • focused ESLint
  • npx tsc -b --force --pretty false

Fixes Termix-SSH/Support#1263

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.

1 participant