Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

feat(crm): prefix activity views with Sales (#9630)

teo20bc87d76f89
diff --git a/apps/web/src/features/crm/README.md b/apps/web/src/features/crm/README.md
index 989dd85c16..1ca1fa93b4 100644
--- a/apps/web/src/features/crm/README.md
+++ b/apps/web/src/features/crm/README.md
@@ -129,7 +129,8 @@ The selected-record fallback survives detail query errors until the record close
Global task creation snapshots the focused pane's getter before opening, without
fetching details or capturing navigation history. Record contexts isolate drafts.
-`enable-crm-activity` gates workspace activity tabs, whether CRM supplies its
+`enable-crm-activity` gates workspace activity tabs (labelled Sales Tasks, Sales Email,
+Sales Notes and Sales Calls), whether CRM supplies its
composer context, and, with `enable-crm`, the Customer / Contact pill in the task
composer and Universal Input's task mode. Those two read both flags through
`customerContactEnabled`. It defaults off everywhere and can be overridden locally with
@@ -213,15 +214,15 @@ source trail without an extra separator; do not duplicate the selected title in
the prefix. Modified clicks keep their existing split behavior.
Standalone record previews retain their normal navigation outside the workspace.
Record-detail lists and activity membership remain unchanged.
-Sidebar Tasks reuse the production Tasks filters, sort, grouping, and list/board/Gantt
+Sales Tasks reuse the production Tasks filters, sort, grouping, and list/board/Gantt
layouts (subject to the normal feature flags and touch fallback). They use a separate
CRM persistence scope, and every query, including search and grouped continuation,
retains the mandatory CRM association. Record-detail Tasks stay unchanged.
-Email reuses the shared read/done/attachment/calendar/tag facets. Notes expose creator
-and tag filters; Calls expose audience and tag filters. These lists have independent
+Sales Email reuses the shared read/done/attachment/calendar/tag facets. Sales Notes expose
+creator and tag filters; Sales Calls expose audience and tag filters. These lists have independent
per-entry search, sort direction, and date/none grouping settings. Date headings follow
-the selected sort field in viewer-local time. Email defaults to last-update date groups;
-Notes and Calls default to no grouping. Local-only filters continue paging through
+the selected sort field in viewer-local time. Sales Email defaults to last-update date groups;
+Sales Notes and Sales Calls default to no grouping. Local-only filters continue paging through
empty pages; clearing filters never clears the CRM scope.
Activity extends the existing authorized CRM association path rather than
diff --git a/apps/web/src/features/crm/activity-tasks-adapter.tsx b/apps/web/src/features/crm/activity-tasks-adapter.tsx
index d498decb48..2391264ca7 100644
--- a/apps/web/src/features/crm/activity-tasks-adapter.tsx
+++ b/apps/web/src/features/crm/activity-tasks-adapter.tsx
@@ -11,6 +11,7 @@ import {
TasksViewProvider,
useTasksView,
} from '@app/features/tasks-view/tasks-view-context';
+import { t } from '@app/lib/i18n';
import { useSplitLayout } from '@components/app/split-layout/layout';
import { isTouchDevice } from '@core/mobile/isTouchDevice';
import EmptyStateTasksGraphic from '@design/empty-state-tasks.svg';
@@ -111,8 +112,8 @@ function ActivityTasksBody(props: {
<div class="flex min-w-0 items-center gap-2 px-4 py-2">
{controls()}
<SearchBar
- label="Search tasks"
- placeholder="Search tasks"
+ label={t('crm.searchSalesTasks')}
+ placeholder={t('crm.searchSalesTasks')}
value={state.search}
onValueChange={(search) => setState('search', search)}
class="min-w-0 flex-1"
@@ -121,10 +122,10 @@ function ActivityTasksBody(props: {
</ViewShell.Header>
}
>
- <ListHeader title={props.title ?? 'Tasks'}>
+ <ListHeader title={props.title ?? t('crm.salesTasks')}>
{controls()}
<ListHeaderSearch
- label="Search tasks"
+ label={t('crm.searchSalesTasks')}
value={state.search}
onValueChange={(search) => setState('search', search)}
onEscape={() => listElement?.focus()}
diff --git a/apps/web/src/features/crm/components/crm-mobile-tabs.tsx b/apps/web/src/features/crm/components/crm-mobile-tabs.tsx
index 0006fff6a0..2c5edde52b 100644
--- a/apps/web/src/features/crm/components/crm-mobile-tabs.tsx
+++ b/apps/web/src/features/crm/components/crm-mobile-tabs.tsx
@@ -1,4 +1,5 @@
import { useFeatureFlag } from '@app/lib/analytics/posthog';
+import { t } from '@app/lib/i18n';
import { type PillTabItem, PillTabs } from '@components/app/mobile/PillTabs';
import { enableCrmActivity } from '@core/constant/featureFlags';
import type { JSX } from 'solid-js';
@@ -35,7 +36,7 @@ export function CrmMobileTabs(props: {
];
return (
- <nav aria-label="CRM views" class="flex h-10 min-w-0 flex-1">
+ <nav aria-label={t('crm.viewsNavigation')} class="flex h-10 min-w-0 flex-1">
<PillTabs
scrollable
class="-ml-(--mobile-chrome-gutter) w-[calc(100%+2*var(--mobile-chrome-gutter))] max-w-none flex-none"
diff --git a/apps/web/src/features/crm/components/crm-sidebar.tsx b/apps/web/src/features/crm/components/crm-sidebar.tsx
index d1ac5ab90d..89a1285f81 100644
--- a/apps/web/src/features/crm/components/crm-sidebar.tsx
+++ b/apps/web/src/features/crm/components/crm-sidebar.tsx
@@ -1,5 +1,6 @@
import { CollapsibleSection, ViewSidebar } from '@app/components/view-shell';
import { useFeatureFlag } from '@app/lib/analytics/posthog';
+import { t } from '@app/lib/i18n';
import { getIconConfig } from '@core/component/EntityIcon';
import { enableCrmActivity } from '@core/constant/featureFlags';
import { isTouchDevice } from '@core/mobile/isTouchDevice';
@@ -57,7 +58,7 @@ export function CrmSidebar(props: {
const [recordsOpen, setRecordsOpen] = createSignal(true);
const [listsOpen, setListsOpen] = createSignal(true);
return (
- <ViewSidebar.Root aria-label="CRM navigation">
+ <ViewSidebar.Root aria-label={t('crm.navigation')}>
<header class="flex shrink-0 flex-col">
<Show when={!isTouchDevice()}>
<ViewSidebar.Header
@@ -65,10 +66,10 @@ export function CrmSidebar(props: {
searchLabel={props.searchLabel}
collapseControl={
<Show when={props.onCollapse}>
- <Tooltip label="Collapse CRM sidebar">
+ <Tooltip label={t('crm.collapseSidebar')}>
<Button
- aria-label="Collapse CRM sidebar"
- tooltip="Collapse CRM sidebar"
+ aria-label={t('crm.collapseSidebar')}
+ tooltip={t('crm.collapseSidebar')}
variant="ghost"
size="icon-xs"
onClick={props.onCollapse}
@@ -83,7 +84,7 @@ export function CrmSidebar(props: {
<Show when={props.onCollapse}>
<ViewSidebar.CloseButton class="shrink-0" />
</Show>
- <ViewSidebar.Title>Customers</ViewSidebar.Title>
+ <ViewSidebar.Title>{t('nav.customers')}</ViewSidebar.Title>
</div>
</ViewSidebar.Header>
</Show>
@@ -101,12 +102,12 @@ export function CrmSidebar(props: {
onOpenChange={setRecordsOpen}
>
<CollapsibleSection.Trigger>
- <span>Records</span>
+ <span>{t('crm.records')}</span>
<CollapsibleSection.Indicator />
</CollapsibleSection.Trigger>
<CollapsibleSection.Content>
<ViewSidebar.Nav
- aria-label="CRM records"
+ aria-label={t('crm.recordsNavigation')}
ref={tourTarget(COMPANIES_TOUR.records)}
>
<For
@@ -140,11 +141,11 @@ export function CrmSidebar(props: {
onOpenChange={setListsOpen}
>
<CollapsibleSection.Trigger>
- <span>Lists</span>
+ <span>{t('crm.lists')}</span>
<CollapsibleSection.Indicator />
</CollapsibleSection.Trigger>
<CollapsibleSection.Content>
- <ViewSidebar.Nav aria-label="Company lists">
+ <ViewSidebar.Nav aria-label={t('crm.listsNavigation')}>
<For each={props.lists}>
{(list) => (
<ViewSidebar.Item
@@ -178,7 +179,7 @@ export function CrmSidebar(props: {
<ViewSidebar.Icon>
<PlusIcon class="size-4" />
</ViewSidebar.Icon>
- <span>New list</span>
+ <span>{t('crm.newList')}</span>
</ViewSidebar.Item>
</ViewSidebar.Nav>
</CollapsibleSection.Content>
@@ -187,7 +188,7 @@ export function CrmSidebar(props: {
{props.promotion}
</ViewSidebar.Content>
<ViewSidebar.Footer>
- <ViewSidebar.Nav aria-label="CRM tools">
+ <ViewSidebar.Nav aria-label={t('crm.toolsNavigation')}>
<ViewSidebar.Item
onClick={props.onImport}
disabled={!props.canCreateList}
@@ -195,7 +196,7 @@ export function CrmSidebar(props: {
<ViewSidebar.Icon>
<ImportIcon class="size-4" />
</ViewSidebar.Icon>
- Import
+ {t('crm.import')}
</ViewSidebar.Item>
<ViewSidebar.Item
onClick={props.onExport}
@@ -204,7 +205,7 @@ export function CrmSidebar(props: {
<ViewSidebar.Icon>
<ExportIcon class="size-4" />
</ViewSidebar.Icon>
- Export
+ {t('crm.export')}
</ViewSidebar.Item>
<ViewSidebar.Item
active={props.active === 'settings'}
@@ -213,7 +214,7 @@ export function CrmSidebar(props: {
<ViewSidebar.Icon>
<GearIcon class="size-4" />
</ViewSidebar.Icon>
- CRM settings
+ {t('crm.settings')}
</ViewSidebar.Item>
</ViewSidebar.Nav>
</ViewSidebar.Footer>
diff --git a/apps/web/src/features/crm/components/pipeline-sidebar.tsx b/apps/web/src/features/crm/components/pipeline-sidebar.tsx
index ede14f9eb1..17bd0c01ba 100644
--- a/apps/web/src/features/crm/components/pipeline-sidebar.tsx
+++ b/apps/web/src/features/crm/components/pipeline-sidebar.tsx
@@ -1,4 +1,5 @@
import { CollapsibleSection, ViewSidebar } from '@app/components/view-shell';
+import { t } from '@app/lib/i18n';
import PlusIcon from '@icon/system/regular/plus.svg';
import TableIcon from '@icon/system/regular/table.svg';
import { createSignal, For, Show } from 'solid-js';
@@ -18,11 +19,11 @@ export function PipelineSidebar(props: {
return (
<CollapsibleSection.Root open={open()} onOpenChange={setOpen}>
<CollapsibleSection.Trigger>
- <span>Pipelines</span>
+ <span>{t('crm.pipelines')}</span>
<CollapsibleSection.Indicator />
</CollapsibleSection.Trigger>
<CollapsibleSection.Content>
- <ViewSidebar.Nav aria-label="CRM pipelines">
+ <ViewSidebar.Nav aria-label={t('crm.pipelinesNavigation')}>
<For each={props.pipelines}>
{(pipeline) => (
<ViewSidebar.Item
@@ -35,17 +36,21 @@ export function PipelineSidebar(props: {
</ViewSidebar.Icon>
<span class="min-w-0 flex-1 truncate">{pipeline.name}</span>
<span class="text-xs text-ink-extra-muted">
- {pipeline.sharing === 'team' ? 'Team' : 'Private'}
+ {pipeline.sharing === 'team'
+ ? t('crm.pipelineTeam')
+ : t('crm.pipelinePrivate')}
</span>
</ViewSidebar.Item>
)}
</For>
<Show when={props.loading}>
- <p class="px-3 py-2 text-xs text-ink-muted">Loading pipelines…</p>
+ <p class="px-3 py-2 text-xs text-ink-muted">
+ {t('crm.loadingPipelines')}
+ </p>
</Show>
<Show when={props.error}>
<ViewSidebar.Item onClick={props.onRetry}>
- Could not load pipelines. Retry
+ {t('crm.pipelinesLoadFailed')}
</ViewSidebar.Item>
</Show>
<ViewSidebar.Item
@@ -55,7 +60,7 @@ export function PipelineSidebar(props: {
<ViewSidebar.Icon>
<PlusIcon class="size-4" />
</ViewSidebar.Icon>
- <span>New pipeline</span>
+ <span>{t('crm.newPipeline')}</span>
</ViewSidebar.Item>
</ViewSidebar.Nav>
</CollapsibleSection.Content>
diff --git a/apps/web/src/features/crm/core/navigation.ts b/apps/web/src/features/crm/core/navigation.ts
index a1d9a5c858..e6f8786432 100644
--- a/apps/web/src/features/crm/core/navigation.ts
+++ b/apps/web/src/features/crm/core/navigation.ts
@@ -1,15 +1,47 @@
+import { t } from '@app/lib/i18n';
+
/** The record types the CRM sidebar lists; ids are workspace tabs. */
export const CRM_RECORDS = [
- { id: 'active', label: 'Companies' },
- { id: 'people', label: 'People' },
+ {
+ id: 'active',
+ get label() {
+ return t('crm.companies');
+ },
+ },
+ {
+ id: 'people',
+ get label() {
+ return t('crm.people');
+ },
+ },
] as const;
/** Workspace feeds scoped to CRM-linked content, rather than one record. */
export const CRM_ACTIVITY_TABS = [
- { id: 'tasks', label: 'Tasks' },
- { id: 'email', label: 'Email' },
- { id: 'notes', label: 'Notes' },
- { id: 'calls', label: 'Calls' },
+ {
+ id: 'tasks',
+ get label() {
+ return t('crm.salesTasks');
+ },
+ },
+ {
+ id: 'email',
+ get label() {
+ return t('crm.salesEmail');
+ },
+ },
+ {
+ id: 'notes',
+ get label() {
+ return t('crm.salesNotes');
+ },
+ },
+ {
+ id: 'calls',
+ get label() {
+ return t('crm.salesCalls');
+ },
+ },
] as const;
export type CrmActivityTab = (typeof CRM_ACTIVITY_TABS)[number]['id'];
diff --git a/apps/web/src/features/crm/views/activity-section.tsx b/apps/web/src/features/crm/views/activity-section.tsx
index 3ce488a6c6..392a941e30 100644
--- a/apps/web/src/features/crm/views/activity-section.tsx
+++ b/apps/web/src/features/crm/views/activity-section.tsx
@@ -18,6 +18,7 @@ import { useCrmWorkspace } from '../context/workspace-context';
export function ActivitySection(
props: ParentProps<{
label: string;
+ searchLabel: string;
title?: JSX.Element;
search: string;
onSearchChange: (value: string) => void;
@@ -28,12 +29,11 @@ export function ActivitySection(
) {
const view = useCrmWorkspace();
let focusSearch: (() => void) | undefined;
- const searchLabel = () => `Search ${props.label.toLowerCase()}`;
useViewControlHotkeys({
scopeId: view.host.scopeId,
enabled: view.host.isActive,
search: {
- description: searchLabel(),
+ description: props.searchLabel,
run: () => {
focusSearch?.();
return true;
@@ -60,7 +60,7 @@ export function ActivitySection(
};
}}
size="sm"
- label={searchLabel()}
+ label={props.searchLabel}
value={props.search}
onValueChange={props.onSearchChange}
onEscape={view.host.focus}
@@ -82,7 +82,7 @@ export function ActivitySection(
onClick={props.onCreate}
/>
<ListHeaderSearch
- label={searchLabel()}
+ label={props.searchLabel}
value={props.search}
onValueChange={props.onSearchChange}
onEscape={view.host.focus}
diff --git a/apps/web/src/features/crm/views/activity.tsx b/apps/web/src/features/crm/views/activity.tsx
index b08d230a8f..39ccb8e3e9 100644
--- a/apps/web/src/features/crm/views/activity.tsx
+++ b/apps/web/src/features/crm/views/activity.tsx
@@ -1,3 +1,4 @@
+import { t } from '@app/lib/i18n';
import EmptyStateCallsGraphic from '@design/empty-state-calls.svg';
import EmptyStateDocGraphic from '@design/empty-state-doc.svg';
import EmptyStateEmailGraphic from '@design/empty-state-email.svg';
@@ -13,21 +14,36 @@ import { RecordItemList } from './record-item-list';
const CONTENT = {
email: {
- title: 'Email',
+ get title() {
+ return t('crm.salesEmail');
+ },
+ get searchLabel() {
+ return t('crm.searchSalesEmail');
+ },
graphic: EmptyStateEmailGraphic,
action: 'New email',
description:
'Email your CRM companies and people to see those conversations here.',
},
notes: {
- title: 'Notes',
+ get title() {
+ return t('crm.salesNotes');
+ },
+ get searchLabel() {
+ return t('crm.searchSalesNotes');
+ },
graphic: EmptyStateDocGraphic,
action: 'New note',
description:
'Create a note and link a company or person through its Companies or Contacts property.',
},
calls: {
- title: 'Calls',
+ get title() {
+ return t('crm.salesCalls');
+ },
+ get searchLabel() {
+ return t('crm.searchSalesCalls');
+ },
graphic: EmptyStateCallsGraphic,
action: 'New call',
description:
@@ -75,6 +91,7 @@ function ActivityList(props: {
return (
<ActivitySection
label={content().title}
+ searchLabel={content().searchLabel}
title={props.title}
search={state.search}
onSearchChange={(search) => setState('search', search)}
diff --git a/apps/web/src/features/crm/views/crm-workspace.test.tsx b/apps/web/src/features/crm/views/crm-workspace.test.tsx
index 11ba2024fb..2e66370388 100644
--- a/apps/web/src/features/crm/views/crm-workspace.test.tsx
+++ b/apps/web/src/features/crm/views/crm-workspace.test.tsx
@@ -367,16 +367,28 @@ it('omits pipelines and lists when those features are disabled', () => {
const tabs = within(screen.getByRole('navigation', { name: 'CRM views' }));
expect(
tabs.getAllByRole('button').map((button) => button.textContent)
- ).toEqual(['Companies', 'People', 'Tasks', 'Email', 'Notes', 'Calls']);
+ ).toEqual([
+ 'Companies',
+ 'People',
+ 'Sales Tasks',
+ 'Sales Email',
+ 'Sales Notes',
+ 'Sales Calls',
+ ]);
});
it('opens each CRM activity feed instead of the company list', () => {
const { activeTab } = setup();
const tabs = within(screen.getByRole('navigation', { name: 'CRM views' }));
- for (const label of ['Tasks', 'Email', 'Notes', 'Calls']) {
+ for (const [label, id] of [
+ ['Sales Tasks', 'tasks'],
+ ['Sales Email', 'email'],
+ ['Sales Notes', 'notes'],
+ ['Sales Calls', 'calls'],
+ ]) {
fireEvent.click(tabs.getByRole('button', { name: label }));
- expect(activeTab()).toBe(label.toLowerCase());
- expect(screen.getByText(`${label.toLowerCase()} feed`)).toBeTruthy();
+ expect(activeTab()).toBe(id);
+ expect(screen.getByText(`${id} feed`)).toBeTruthy();
expect(screen.queryByText('Record list')).toBeNull();
}
fireEvent.click(tabs.getByRole('button', { name: 'Companies' }));
@@ -407,7 +419,12 @@ it('hides activity navigation and leaves its feed when the rollout turns off', (
expect(screen.queryByText('email feed')).toBeNull();
expect(screen.getByText('Record list')).toBeTruthy();
const tabs = within(screen.getByRole('navigation', { name: 'CRM views' }));
- for (const name of ['Tasks', 'Email', 'Notes', 'Calls']) {
+ for (const name of [
+ 'Sales Tasks',
+ 'Sales Email',
+ 'Sales Notes',
+ 'Sales Calls',
+ ]) {
expect(tabs.queryByRole('button', { name })).toBeNull();
}
});
diff --git a/apps/web/src/features/crm/views/crm-workspace.tsx b/apps/web/src/features/crm/views/crm-workspace.tsx
index 8e873dde3b..547dfd27e4 100644
--- a/apps/web/src/features/crm/views/crm-workspace.tsx
+++ b/apps/web/src/features/crm/views/crm-workspace.tsx
@@ -21,6 +21,7 @@ import { SoupViewContextSort } from '@app/features/next-soup/soup-view/filters-b
import { UnifiedFilterDropdown } from '@app/features/next-soup/soup-view/filters-bar/unified-filter-dropdown';
import { useFilterRefinements } from '@app/features/next-soup/soup-view/filters-bar/use-filter-refinements';
import { useFeatureFlag } from '@app/lib/analytics/posthog';
+import { t } from '@app/lib/i18n';
import { usePreference } from '@app/preferences/use-preference';
import { HeaderActionGroup } from '@components/app/HeaderActionGroup';
import { SplitPanel } from '@components/app/split-panel';
@@ -98,10 +99,10 @@ function NavigationToggle(props: {
<Show
when={shell.breakpoints.narrow?.()}
fallback={
- <Tooltip label="Expand CRM sidebar">
+ <Tooltip label={t('crm.expandSidebar')}>
<Button
- aria-label="Expand CRM sidebar"
- tooltip="Expand CRM sidebar"
+ aria-label={t('crm.expandSidebar')}
+ tooltip={t('crm.expandSidebar')}
variant="ghost"
size="icon-sm"
ref={toggleTarget}
@@ -117,11 +118,11 @@ function NavigationToggle(props: {
onOpenChange={setOpen}
placement="bottom-start"
>
- <Tooltip label="Show CRM navigation">
+ <Tooltip label={t('crm.showNavigation')}>
<Dropdown.Trigger
variant="ghost"
size="icon-sm"
- aria-label="Show CRM navigation"
+ aria-label={t('crm.showNavigation')}
ref={toggleTarget}
>
<ListIcon class="size-4" />
diff --git a/apps/web/src/lib/i18n/locales/en/crm.ts b/apps/web/src/lib/i18n/locales/en/crm.ts
index 7f43a8ee9b..09f4a6934b 100644
--- a/apps/web/src/lib/i18n/locales/en/crm.ts
+++ b/apps/web/src/lib/i18n/locales/en/crm.ts
@@ -1,4 +1,35 @@
export default {
+ navigation: 'CRM navigation',
+ collapseSidebar: 'Collapse CRM sidebar',
+ expandSidebar: 'Expand CRM sidebar',
+ showNavigation: 'Show CRM navigation',
+ records: 'Records',
+ recordsNavigation: 'CRM records',
+ viewsNavigation: 'CRM views',
+ companies: 'Companies',
+ people: 'People',
+ salesTasks: 'Sales Tasks',
+ salesEmail: 'Sales Email',
+ salesNotes: 'Sales Notes',
+ salesCalls: 'Sales Calls',
+ searchSalesTasks: 'Search sales tasks',
+ searchSalesEmail: 'Search sales email',
+ searchSalesNotes: 'Search sales notes',
+ searchSalesCalls: 'Search sales calls',
+ pipelines: 'Pipelines',
+ pipelinesNavigation: 'CRM pipelines',
+ newPipeline: 'New pipeline',
+ pipelineTeam: 'Team',
+ pipelinePrivate: 'Private',
+ loadingPipelines: 'Loading pipelines…',
+ pipelinesLoadFailed: 'Could not load pipelines. Retry',
+ lists: 'Lists',
+ listsNavigation: 'Company lists',
+ newList: 'New list',
+ toolsNavigation: 'CRM tools',
+ import: 'Import',
+ export: 'Export',
+ settings: 'CRM settings',
pipelineTrack: 'Track',
pipelineTrackChoice: 'Track {{choice}}',
pipelineTrackCompanies: 'Companies',
diff --git a/docs/agent-guide/crm.md b/docs/agent-guide/crm.md
index bf1e8d0f2d..1f459828d1 100644
--- a/docs/agent-guide/crm.md
+++ b/docs/agent-guide/crm.md
@@ -5,8 +5,9 @@
On desktop, the local sidebar uses the same navigation primitives as Email and Tasks.
Its **New** menu creates a **Company**, a **Contact**, or a **Pipeline** (Pipeline
only when pipelines are enabled; disabled until the team's CRM is enabled). The
-**Records** section lists **Companies**, **People**, **Tasks**, **Email**, **Notes**,
-and **Calls**, in that order; Pipelines and Lists follow.
+**Records** section lists **Companies**, **People**, **Sales Tasks**, **Sales Email**,
+**Sales Notes**, and **Sales Calls**, in that order; Pipelines and
+Lists follow. Record-detail tabs keep their unprefixed names.
There are no built-in company views or Board/List layout. Companies and People
are plain soup lists with the shared pagination. Existing personal/team saved
views stay in the toolbar's Views menu.
@@ -16,7 +17,7 @@ dot, including desktop preview activation, keyboard opening, and phone navigatio
The read is saved in the background; a failed request restores the dot so opening
it again can retry. Marking read does not mark the notification done.
-**Rollout:** Tasks, Email, Notes and Calls require PostHog `enable-crm-activity`
+**Rollout:** Sales Tasks, Sales Email, Sales Notes and Sales Calls require PostHog `enable-crm-activity`
(off by default; local override: `VITE_ENABLE_CRM_ACTIVITY=true`). CRM also uses
this flag to decide whether to supply its task-composer preset, and with
`enable-crm` to show the Customer / Contact pill when creating any task. With it off, only Companies and People
@@ -43,14 +44,14 @@ captured entry state within the current account session, including an open
pipeline or record. Direct links and new-split actions keep their requested
destination; reload and account changes clear the remembered location.
-The activity tabs show CRM-linked content, not the whole app: Tasks and
-Calls require a Companies or Contacts reference; Notes are linked Markdown
-documents (excluding tasks, snippets, and skills); Email is your own mailbox's
+The activity tabs show CRM-linked content, not the whole app: Sales Tasks and
+Sales Calls require a Companies or Contacts reference; Sales Notes are linked Markdown
+documents (excluding tasks, snippets, and skills); Sales Email is your own mailbox's
threads with CRM company domains or contact addresses. Lists page as you scroll.
Empty CRM scope never falls back to all content. Activity loads directly with a
server-resolved scope; it does not fetch every company and contact first. Hidden
companies and contacts stay excluded even for admins. A loading failure offers
-**Try again**. Tasks has **New task**, which opens the task composer. Choose a CRM
+**Try again**. Sales Tasks has **New task**, which opens the task composer. Choose a CRM
association with its **Customer / Contact** pill when creating a task from this feed.
Opening Task through the global Create menu while Customers is focused uses the
same preset. With an embedded company or contact detail open, global Create
@@ -76,13 +77,13 @@ the remainder. Email matches still determine feed membership, but an address
or domain match without a stored property does not add a display pill. The row
uses shared property previews rather than a separate association lookup.
Verify these interactions at desktop and phone widths.
-Sidebar Tasks use the normal Tasks filters (status, priority, assignee, creator,
+Sales Tasks use the normal Tasks filters (status, priority, assignee, creator,
and tags), sorting and grouping, with list/board/Gantt layouts when enabled. Touch
uses the normal list and filter drawer. The default is open tasks grouped by date.
-Email exposes the normal read/done, attachment, calendar and tag filters. Notes has
-creator/tag filters and Calls has audience/tag filters. Email, Notes and Calls support
+Sales Email exposes the normal read/done, attachment, calendar and tag filters. Sales
+Notes has creator/tag filters and Sales Calls has audience/tag filters. All three support
last-updated/created/viewed sorting, newest/oldest direction, and date/none grouping.
-Email defaults to last-update date groups; Notes and Calls start ungrouped. Date
+Sales Email defaults to last-update date groups; Sales Notes and Sales Calls start ungrouped. Date
headings use the selected sort field and viewer-local time. Filter controls share one
desktop header; touch puts filters, sorting and grouping in a drawer beside search.
Each activity keeps its own settings, independent of the normal app views.
@@ -134,7 +135,7 @@ and expand into the shared Email/Tasks search bar. Command-F expands and focuses
the field; Close or Escape clears the query and returns to the icon.
On touch devices, CRM uses the same scrollable pill tabs as Tasks in the top
-header: Companies, People, Tasks, Email, Notes, Calls, available pipelines, and
+header: Companies, People, Sales Tasks, Sales Email, Sales Notes, Sales Calls, available pipelines, and
enabled lists. Swipe the
strip horizontally to reach every destination; the selected tab stays visible.
The tabs remain available inside pipelines, with no hamburger button. Company