Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
feat(icon): add some new icons for bots and automations (#4773)
Aidan Holloway-Bidwellbd27301da189
diff --git a/apps/web/src/components/icon/wide-automation.svg b/apps/web/src/components/icon/wide-automation.svgnew file mode 100644index 0000000000..01a3974b7c--- /dev/null+++ b/apps/web/src/components/icon/wide-automation.svg@@ -0,0 +1,14 @@+<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 18 18" fill="currentColor">+<defs><style>.cls-1{stroke-linecap:round;}.cls-1,.cls-2{fill:none;stroke:currentColor;stroke-miterlimit:10;stroke-width:1.12px;}</style></defs>+<g transform="translate(0 1.67)">+<path d="M9,1.58c.28,0,.55.03.82.07,0-.12,0-.24-.02-.37-.02-.36-.51-1.32-.8-1.27-.29-.05-.78.91-.8,1.27-.01.13-.02.25-.02.37.27-.04.54-.07.82-.07Z"/>+<path d="M17.3,6.77c-.99-.1-1.85-.15-2.61-.17.03.24.05.49.05.74s-.02.5-.05.74c.76-.02,1.62-.08,2.61-.17.39-.05.7-.31.7-.56s-.31-.51-.7-.56Z"/>+<path d="M3.25,7.33c0-.25.02-.5.05-.74-.76.02-1.62.08-2.61.17-.39.05-.7.31-.7.56s.31.51.7.56c.99.1,1.85.15,2.61.17-.03-.24-.05-.49-.05-.74Z"/>+<path d="M9,13.08c-.28,0-.55-.03-.82-.07,0,.12,0,.24.02.37.02.36.51,1.32.8,1.27.29.05.78-.91.8-1.27.01-.13.02-.25.02-.37-.27.04-.54.07-.82.07Z"/>+<path class="cls-1" d="M9,11.33c-2.21,0-4-1.79-4-4,0-1.48.8-2.77,2-3.46"/>+<path class="cls-2" d="M13,7.33c0,2.21-1.79,4-4,4"/>+<path class="cls-2" d="M11.54,4.24c.89.73,1.46,1.84,1.46,3.09"/>+<path d="M9,8.08c.41,0,.75-.34.75-.75s-.34-.75-.75-.75-.75.34-.75.75.34.75.75.75Z"/>+<path d="M9.76,2.76l.54,3.06c.04.2.29.28.43.14l2.52-2.52c.15-.15.07-.4-.14-.43l-3.06-.54c-.17-.03-.33.12-.3.3Z"/>+</g>+</svg>diff --git a/apps/web/src/components/icon/wide-bot-2.svg b/apps/web/src/components/icon/wide-bot-2.svgnew file mode 100644index 0000000000..41ab94ed46--- /dev/null+++ b/apps/web/src/components/icon/wide-bot-2.svg@@ -0,0 +1,10 @@+<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 24 24" fill="currentColor">+<defs><style>.cls-1,.cls-2{fill:none;stroke:currentColor;stroke-miterlimit:10;stroke-width:1.5px;}.cls-2{stroke-linecap:round;}</style></defs>+<g transform="translate(3.75 1.75)">+<path class="cls-1" d="M8.02,3.25c-4.1.12-7.27,3.7-7.27,7.81v6.43c0,1.24,1.01,2.25,2.25,2.25h10.5c1.24,0,2.25-1.01,2.25-2.25v-6.75c0-4.22-3.48-7.62-7.73-7.5Z"/>+<line class="cls-2" x1="8.25" y1="3.25" x2="8.25" y2=".75"/>+<circle cx="4.55" cy="12.46" r="1.12"/>+<circle cx="12.3" cy="12.46" r="1.12"/>+<line class="cls-1" x1=".75" y1="16" x2="15.75" y2="16"/>+</g>+</svg>diff --git a/apps/web/src/components/icon/wide-bot.svg b/apps/web/src/components/icon/wide-bot.svgnew file mode 100644index 0000000000..ee0d446912--- /dev/null+++ b/apps/web/src/components/icon/wide-bot.svg@@ -0,0 +1,13 @@+<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 24 24" fill="currentColor">+<defs><style>.cls-1,.cls-2,.cls-3,.cls-4{fill:none;stroke:currentColor;stroke-width:1.5px;}.cls-1,.cls-2,.cls-4{stroke-miterlimit:10;}.cls-1,.cls-3{stroke-linecap:round;}.cls-1,.cls-4{fill-rule:evenodd;}.cls-3{stroke-linejoin:round;}</style></defs>+<g transform="translate(0.625 1.945)">+<rect class="cls-2" x="3.82" y="4.36" width="15" height="12" rx="3.5" ry="3.5"/>+<path class="cls-4" d="M3.75,13.86h-1.5c-.83,0-1.5-.78-1.5-1.74v-3.51c0-.96.67-1.74,1.5-1.74h1.5"/>+<path class="cls-4" d="M19,6.86h1.5c.83,0,1.5.78,1.5,1.74v3.51c0,.96-.67,1.74-1.5,1.74h-1.5"/>+<line class="cls-3" x1="11.32" y1="4.36" x2="11.32" y2=".75"/>+<circle cx="7.45" cy="10.36" r="1.12"/>+<circle cx="15.2" cy="10.36" r="1.12"/>+<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="1" d="M12.57,12.71c-.25.43-.72.72-1.25.72s-1-.29-1.25-.72"/>+<path class="cls-1" d="M21.82,13.11c0,3.45-2.8,6.25-6.25,6.25h-4.25"/>+</g>+</svg>diff --git a/apps/web/src/features/settings/BotSettingsList.tsx b/apps/web/src/features/settings/BotSettingsList.tsxindex 086b554d3c..82c5886d9d 100644--- a/apps/web/src/features/settings/BotSettingsList.tsx+++ b/apps/web/src/features/settings/BotSettingsList.tsx@@ -1,8 +1,8 @@import { BotAvatar } from '@channel/Bots/BotAvatar';import { LoadingSpinner } from '@core/component/LoadingSpinner';+import BotIcon from '@icon/wide-bot.svg';import CaretRightIcon from '@phosphor/caret-right.svg';import PlusIcon from '@phosphor/plus.svg';-import RobotIcon from '@phosphor/robot.svg';import { useBotChannelsQuery } from '@queries/bots/bots';import type { Bot } from '@service-storage/generated/schemas/bot';import { Button } from '@ui';@@ -87,7 +87,7 @@ export function BotSettingsList(props: {fallback={<div class="flex min-h-52 flex-col items-center justify-center px-8 text-center"><div class="flex size-11 items-center justify-center rounded-xl bg-accent-bg text-accent">- <RobotIcon class="size-6" />+ <BotIcon class="size-6" /></div><div class="mt-3 text-sm font-medium text-ink">Create your first botdiff --git a/apps/web/src/lib/core/component/EntityIcon.tsx b/apps/web/src/lib/core/component/EntityIcon.tsxindex c62a62a34b..2a460dcbd6 100644--- a/apps/web/src/lib/core/component/EntityIcon.tsx+++ b/apps/web/src/lib/core/component/EntityIcon.tsx@@ -13,6 +13,7 @@ import type {EntityData,} from '@entity';import GithubIcon from '@icon/mcp-github.svg';+import WideAutomation from '@icon/wide-automation.svg';import WideBook from '@icon/wide-book.svg';import WideCalendar from '@icon/wide-calendar.svg';import PhoneCall from '@icon/wide-call.svg';@@ -54,7 +55,6 @@ import FolderUser from '@phosphor/folder-user.svg';import GlobeIcon from '@phosphor/globe.svg';import FileImage from '@phosphor/image.svg';import Canvas from '@phosphor/pencil-circle.svg';-import Robot from '@phosphor/robot.svg';import Users from '@phosphor/users.svg';import type { PreviewItem } from '@queries/preview';import type { ChannelType } from '@service-cognition/generated/schemas/channelType';@@ -281,7 +281,7 @@ export const ENTITY_ICON_CONFIGS: Record<EntityWithValidIcon, IconConfig> = {prettyName: 'Snippet',},automation: {- icon: Robot,+ icon: WideAutomation,foreground: 'text-default',background: 'bg-default/20',prettyName: 'Automation',@@ -360,7 +360,7 @@ const WIDE_ICONS: Record<pr: GithubIcon,task: WideTask,snippet: WideSnippet,- automation: Robot,+ automation: WideAutomation,crm_company: AnimatedCompanyIcon,company: AnimatedCompanyIcon,};diff --git a/apps/web/src/lib/core/constant/settingsTabsConfig.tsx b/apps/web/src/lib/core/constant/settingsTabsConfig.tsxindex 0b76e4e04b..861dfb16b5 100644--- a/apps/web/src/lib/core/constant/settingsTabsConfig.tsx+++ b/apps/web/src/lib/core/constant/settingsTabsConfig.tsx@@ -1,4 +1,5 @@import { useFeatureFlag } from '@app/lib/analytics/posthog';+import BotIcon from '@icon/wide-bot.svg';import BugIcon from '@phosphor/bug.svg';import BuildingsIcon from '@phosphor/buildings.svg';import CpuIcon from '@phosphor/cpu.svg';@@ -6,7 +7,6 @@ import CreditCardIcon from '@phosphor/credit-card.svg';import DeviceMobileIcon from '@phosphor/device-mobile-speaker.svg';import KeyboardIcon from '@phosphor/keyboard.svg';import PlugIcon from '@phosphor/plug.svg';-import RobotIcon from '@phosphor/robot.svg';import SwatchesIcon from '@phosphor/swatches.svg';import UserIconPhosphor from '@phosphor/user.svg';import UsersThreeIcon from '@phosphor/users-three.svg';@@ -67,7 +67,7 @@ export const SETTINGS_TAB_GROUPS: SettingsTabGroup[] = [icon: CpuIcon,},{ tab: 'Agent', label: 'MCP server', icon: PlugIcon },- { tab: 'Bots', label: 'Bots', icon: RobotIcon },+ { tab: 'Bots', label: 'Bots', icon: BotIcon },],},{