summaryrefslogtreecommitdiffhomepage
path: root/scripts
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
commit84c07718aaa4224953cf7f6cf986e825c8900cd5 (patch)
treeb96ad51891b3386d06f5d2ddc05066b6eecddd9b /scripts
parent239e73463160e65604dbbe25c231bae597985816 (diff)
downloaddispatch-web-84c07718aaa4224953cf7f6cf986e825c8900cd5.tar.gz
dispatch-web-84c07718aaa4224953cf7f6cf986e825c8900cd5.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 'scripts')
0 files changed, 0 insertions, 0 deletions