summaryrefslogtreecommitdiffhomepage
path: root/src/features/computer/ui/ComputerField.svelte
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-25 11:13:07 +0900
committerAdam Malczewski <[email protected]>2026-06-25 11:13:07 +0900
commitc5ea2232f117adda740c7e3b8366e9f10f14d3cb (patch)
tree39df64c85d8b2ae13506b1db9bf1264dda84992e /src/features/computer/ui/ComputerField.svelte
parent4ac993df443db0ecbcdf7c13e39c987b8d1ef28b (diff)
downloaddispatch-web-c5ea2232f117adda740c7e3b8366e9f10f14d3cb.tar.gz
dispatch-web-c5ea2232f117adda740c7e3b8366e9f10f14d3cb.zip
feat(workspaces): open workspace in a new browser tab
The 'Open' button on a workspace card did client-side navigation (onNavigate -> pushState), opening the workspace in the SAME tab. Replace the JS click handler with a native anchor using target="_blank" (+ rel=noopener noreferrer) so clicking Open opens the workspace in a NEW browser tab. The new tab does a full load and routes to /<id> via the existing parsePath -> App wiring. The card no longer needs the onNavigate prop (its only navigation was the Open button), so drop it from WorkspaceCard + WorkspacesHome and update the card tests to assert the new-tab link attributes instead of the onNavigate call.
Diffstat (limited to 'src/features/computer/ui/ComputerField.svelte')
0 files changed, 0 insertions, 0 deletions