diff --git a/apps/web/src/components/NotebookPane.test.mjs b/apps/web/src/components/NotebookPane.test.mjs index 8f00f232..0ee40222 100644 --- a/apps/web/src/components/NotebookPane.test.mjs +++ b/apps/web/src/components/NotebookPane.test.mjs @@ -17,7 +17,7 @@ test("keeps the desktop create-note control compact with one neutral outline", ( expect(source).toContain('className="group flex h-12 max-w-[calc(100%-2.25rem)]'); expect(source).toContain('className="group relative flex h-12 min-w-9 flex-1'); expect(source).toContain('before:inset-y-2.5'); - expect(source).toContain('data-[state=open]:bg-slate-100 data-[state=open]:text-slate-950'); + expect(source).toContain('data-[state=open]:bg-workspace-selection data-[state=open]:text-slate-950'); expect(source).toContain('t("diagram.moreTypes")'); expect(source).toContain('group-data-[state=open]:rotate-180'); expect(source).toContain("edgeever-create-memo-split__more-label"); diff --git a/apps/web/src/components/NotebookPane.tsx b/apps/web/src/components/NotebookPane.tsx index 03855105..5bfd4776 100644 --- a/apps/web/src/components/NotebookPane.tsx +++ b/apps/web/src/components/NotebookPane.tsx @@ -49,6 +49,7 @@ import { } from "@/components/ui/dropdown-menu"; import { NotebookTreeItem } from "./NotebookTreeItem"; import { cn } from "@/lib/utils"; +import { BETA_BADGE_CLASSNAME } from "@/lib/workspace-ui"; import type { Notebook, AuthUser, NoteCreateKind } from "@edgeever/shared"; import type { NotebookNode, NotebookDropPosition, NotebookSortMode } from "@/lib/app-helpers"; import type { SyncQueueSummary } from "@/lib/sync-queue"; @@ -326,16 +327,12 @@ const CreateMemoTypeItems = ({ onCreateMemo }: { onCreateMemo: (kind?: NoteCreat onCreateMemo("infographic")}> {t("infographic.name")} - - Beta - + Beta onCreateMemo("table")}> {t("structuredTable.name")} - - Beta - + Beta ); @@ -721,7 +718,7 @@ export const NotebookPane = ({