mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: remove shared workspaces beta badge (#23873)
This commit is contained in:
+1
-2
@@ -324,8 +324,7 @@
|
||||
"title": "Workspace Sharing",
|
||||
"description": "Sharing workspaces",
|
||||
"path": "./user-guides/shared-workspaces.md",
|
||||
"icon_path": "./images/icons/generic.svg",
|
||||
"state": ["beta"]
|
||||
"icon_path": "./images/icons/generic.svg"
|
||||
},
|
||||
{
|
||||
"title": "Workspace Scheduling",
|
||||
|
||||
@@ -13,7 +13,6 @@ import { ErrorAlert } from "#/components/Alert/ErrorAlert";
|
||||
import { Button } from "#/components/Button/Button";
|
||||
import { Checkbox } from "#/components/Checkbox/Checkbox";
|
||||
import { DeleteDialog } from "#/components/Dialogs/DeleteDialog/DeleteDialog";
|
||||
import { FeatureStageBadge } from "#/components/FeatureStageBadge/FeatureStageBadge";
|
||||
import {
|
||||
FormFields,
|
||||
FormFooter,
|
||||
@@ -153,12 +152,7 @@ export const OrganizationSettingsPageView: FC<
|
||||
{onChangeShareableOwners && (
|
||||
<HorizontalContainer className="mt-12">
|
||||
<HorizontalSection
|
||||
title={
|
||||
<div className="flex items-center gap-2">
|
||||
Workspace Sharing
|
||||
<FeatureStageBadge contentType="beta" size="sm" />
|
||||
</div>
|
||||
}
|
||||
title="Workspace Sharing"
|
||||
description="Control whether workspace owners can share their workspaces."
|
||||
>
|
||||
<div className="flex flex-col gap-2">
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { Share2Icon } from "lucide-react";
|
||||
import type { FC } from "react";
|
||||
import type { Workspace } from "#/api/typesGenerated";
|
||||
import { FeatureStageBadge } from "#/components/FeatureStageBadge/FeatureStageBadge";
|
||||
import { TopbarButton } from "#/components/FullPageLayout/Topbar";
|
||||
import {
|
||||
Popover,
|
||||
@@ -37,7 +36,6 @@ export const ShareButton: FC<ShareButtonProps> = ({
|
||||
<h3 className="text-lg font-semibold m-0">
|
||||
{workspace.task_id ? "Task" : "Workspace"} Sharing
|
||||
</h3>
|
||||
<FeatureStageBadge contentType="beta" size="sm" />
|
||||
</div>
|
||||
<WorkspaceSharingForm
|
||||
organizationId={workspace.organization_id}
|
||||
|
||||
@@ -5,7 +5,6 @@ import {
|
||||
Users as SharingIcon,
|
||||
} from "lucide-react";
|
||||
import { Avatar } from "#/components/Avatar/Avatar";
|
||||
import { FeatureStageBadge } from "#/components/FeatureStageBadge/FeatureStageBadge";
|
||||
import {
|
||||
Sidebar as BaseSidebar,
|
||||
SidebarHeader,
|
||||
@@ -43,7 +42,6 @@ export const Sidebar: React.FC = () => {
|
||||
{permissions?.shareWorkspace && (
|
||||
<SidebarNavItem href="sharing" icon={SharingIcon}>
|
||||
Sharing
|
||||
<FeatureStageBadge contentType="beta" size="sm" />
|
||||
</SidebarNavItem>
|
||||
)}
|
||||
</BaseSidebar>
|
||||
|
||||
Reference in New Issue
Block a user