diff --git a/apps/sim/app/workspace/[workspaceId]/files/files.tsx b/apps/sim/app/workspace/[workspaceId]/files/files.tsx index 736ec48089e..6733fcd84e7 100644 --- a/apps/sim/app/workspace/[workspaceId]/files/files.tsx +++ b/apps/sim/app/workspace/[workspaceId]/files/files.tsx @@ -1796,6 +1796,7 @@ export function Files() { ? [ { label: 'Rename', + icon: Pencil, disabled: !canEdit, onClick: () => breadcrumbRenameRef.current.startRename(folder.id, folder.name), }, diff --git a/apps/sim/app/workspace/[workspaceId]/knowledge/knowledge.tsx b/apps/sim/app/workspace/[workspaceId]/knowledge/knowledge.tsx index 0ec36c650dd..216458a5cb6 100644 --- a/apps/sim/app/workspace/[workspaceId]/knowledge/knowledge.tsx +++ b/apps/sim/app/workspace/[workspaceId]/knowledge/knowledge.tsx @@ -3,7 +3,7 @@ import { useCallback, useEffect, useMemo, useRef, useState } from 'react' import type { ChipDropdownOption } from '@sim/emcn' import { Button, ChipConfirmModal, ChipDropdown, Plus, Tooltip, toast } from '@sim/emcn' -import { Database, FolderPlus } from '@sim/emcn/icons' +import { Database, FolderPlus, Pencil, Trash } from '@sim/emcn/icons' import { createLogger } from '@sim/logger' import { getErrorMessage } from '@sim/utils/errors' import { useParams, useRouter } from 'next/navigation' @@ -925,6 +925,7 @@ export function Knowledge() { ? [ { label: 'Rename', + icon: Pencil, onClick: () => { const folder = breadcrumbs[breadcrumbs.length - 1] breadcrumbRenameRef.current.startRename(folder.id, folder.name) @@ -932,6 +933,7 @@ export function Knowledge() { }, { label: 'Delete', + icon: Trash, onClick: () => setFolderPendingDelete(breadcrumbs[breadcrumbs.length - 1]), }, ] diff --git a/apps/sim/app/workspace/[workspaceId]/tables/tables.tsx b/apps/sim/app/workspace/[workspaceId]/tables/tables.tsx index b7b7dea07dd..d49d60ef9c0 100644 --- a/apps/sim/app/workspace/[workspaceId]/tables/tables.tsx +++ b/apps/sim/app/workspace/[workspaceId]/tables/tables.tsx @@ -3,7 +3,7 @@ import { useCallback, useEffect, useMemo, useRef, useState } from 'react' import type { ComboboxOption } from '@sim/emcn' import { ChipCombobox, ChipConfirmModal, Plus, toast, Upload } from '@sim/emcn' -import { Columns3, FolderPlus, Rows3, Table as TableIcon } from '@sim/emcn/icons' +import { Columns3, FolderPlus, Pencil, Rows3, Table as TableIcon, Trash } from '@sim/emcn/icons' import { createLogger } from '@sim/logger' import { getErrorMessage } from '@sim/utils/errors' import { generateId } from '@sim/utils/id' @@ -467,11 +467,13 @@ export function Tables() { return [ { label: 'Rename', + icon: Pencil, disabled: !canEdit, onClick: () => breadcrumbRename.startRename(folder.id, folder.name), }, { label: 'Delete', + icon: Trash, disabled: !canEdit, /** * The only way to delete the folder you are inside — its own row is not in the list. diff --git a/packages/emcn/src/icons/connections.tsx b/packages/emcn/src/icons/connections.tsx index 55bbcedfc82..10af0a2c013 100644 --- a/packages/emcn/src/icons/connections.tsx +++ b/packages/emcn/src/icons/connections.tsx @@ -1,26 +1,38 @@ import type { SVGProps } from 'react' /** - * Connections icon component + * Connections icon component - a four-node lattice for integrations + * + * Redrawn on the house geometry (24-box, 1.55 stroke, round joins) so it sits + * at the weight of the icons it shares the resource registry with. The original + * topology is preserved: a 2x2 grid with a circle top-right, linked left-to- + * right along the top, down the right column, and left-to-right along the + * bottom. + * * @param props - SVG properties including className, fill, etc. */ export function Connections(props: SVGProps) { return ( ) } diff --git a/packages/emcn/src/icons/folder-code.tsx b/packages/emcn/src/icons/folder-code.tsx index d6ef5f67a4a..1cf2a0c2cba 100644 --- a/packages/emcn/src/icons/folder-code.tsx +++ b/packages/emcn/src/icons/folder-code.tsx @@ -1,40 +1,33 @@ import type { SVGProps } from 'react' /** - * FolderCode icon component + * FolderCode icon component - a {@link Folder} carrying code brackets + * + * Shares {@link Folder}'s body path verbatim so the folder family reads as one + * silhouette at one weight. The brackets are centred on the body (x 9.125, + * y 11.25) rather than on the viewBox, so they sit inside the folder rather + * than drifting toward the flap. + * * @param props - SVG properties including className, fill, etc. */ export function FolderCode(props: SVGProps) { return ( ) }