fix(web): activate existing workspace tabs from links #761
No reviewers
Labels
No labels
E2E Failure
area:agent
area:audit-log
area:auth
area:authz
area:ci
area:crypto
area:db
area:docker
area:headers
area:ingest
area:ldap
area:rate-limit
area:ssrf
area:supply-chain
area:terminal
autorelease: pending
autorelease: tagged
bug
claude-working
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: critical
priority: high
priority: low
priority: medium
question
security
sev:critical
sev:high
sev:info
sev:low
sev:medium
tests-required
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
carrtech/ct-ops!761
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/reopen-existing-tabs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary\n- route same-origin links clicked inside workspace panels through the workspace tab activator when the destination tab already exists\n- preserve normal browser/Next navigation for new routes, modified clicks, external links, downloads, and hash-only same-page links\n- add workspace tab regression coverage plus a dashboard E2E scenario for the reported Active alerts flow\n\n## Validation\n- pnpm install --frozen-lockfile\n- node --experimental-strip-types --test apps/web/lib/workspace-tabs/state.test.mjs\n- pnpm --dir apps/web type-check\n- pnpm --dir apps/web lint (passes with existing warnings outside this change)\n- pnpm --dir apps/web test:unit -- lib/workspace-tabs/state.test.mjs\n- BETTER_AUTH_URL=http://localhost:3000 DATABASE_URL=postgresql://ctops:ctops@localhost:5432/ctops pnpm --dir apps/web build\n\n## E2E note\n- pnpm --dir apps/web test:e2e tests/e2e/dashboard/workspace-tabs.spec.ts is currently blocked before app render by issue #760: Webpack tries to parse the native cpu-features binding from the existing ssh2/host-editor import path.