fix: shorten "Share workspace" to "Share" in tasks UI (#21601)

Simplifies the CTA text from "Share workspace" to "Share" for better UX.
Users don't need to understand the underlying infrastructure when
working on tasks, so the shorter, more direct text is clearer.

**Affected locations:**
- Tasks table dropdown menu
- Tasks sidebar dropdown menu

Fixes https://github.com/coder/coder/issues/21599

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
christin
2026-01-22 16:55:19 +01:00
committed by GitHub
co-authored by Claude Sonnet 4.5
parent 6d8e6d4830
commit 859099f1f2
3 changed files with 3 additions and 3 deletions
@@ -239,7 +239,7 @@ const TaskSidebarMenuItem: FC<TaskSidebarMenuItemProps> = ({ task }) => {
to={`/@${task.owner_name}/${task.workspace_name}/settings/sharing`}
>
<Share2Icon />
Share workspace
Share
</RouterLink>
</DropdownMenuItem>
<DropdownMenuSeparator />
+1 -1
View File
@@ -282,7 +282,7 @@ const TaskRow: FC<TaskRowProps> = ({
}}
>
<Share2Icon />
Share workspace
Share
</DropdownMenuItem>
<DropdownMenuSeparator />
<DropdownMenuItem
@@ -28,7 +28,7 @@ export const ShareButton: FC<ShareButtonProps> = ({
<PopoverTrigger asChild>
<TopbarButton data-testid="workspace-share-button">
<Share2Icon />
Share Workspace
Share
</TopbarButton>
</PopoverTrigger>
<PopoverContent align="end" className="w-[580px] p-4">