fix: board and workspace URL links and copy behavior (#357)

- Use /boards/{id} for private board links so copied link works; keep pretty URL for public boards
- Show matching path in board header (pretty path for public, boards/id for private)
- Copy link button copies URL to clipboard instead of opening in new tab (opening a new tab seems redundant since we're already on it)
- Edit workspace URL button links to /settings/workspace instead of account settings
This commit is contained in:
Charity
2026-02-06 18:31:08 -05:00
committed by GitHub
parent 1ab4e24c96
commit f9eee53ed0
3 changed files with 60 additions and 31 deletions

View File

@@ -156,7 +156,7 @@ export function UpdateBoardSlugForm({
<div className="flex items-center gap-2">
<Button
variant="secondary"
href="/settings?tab=workspace"
href="/settings/workspace"
onClick={closeModal}
>
{t`Edit workspace URL`}