mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
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:
co-authored by
Claude Sonnet 4.5
parent
6d8e6d4830
commit
859099f1f2
@@ -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 />
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user