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
fix(sidebar): remove tags section from drive and tasks sidebars (#8026)
teocd47c6515eb1
diff --git a/apps/web/src/features/drive-view/core/types.ts b/apps/web/src/features/drive-view/core/types.tsindex fe90abc628..2c8a05bc23 100644--- a/apps/web/src/features/drive-view/core/types.ts+++ b/apps/web/src/features/drive-view/core/types.ts@@ -25,7 +25,6 @@ export type DriveState = {expandedFolderIds: string[];favoritesOpen: boolean;rootOpen: boolean;- tagsOpen: boolean;};export const DRIVE_TABS = [diff --git a/apps/web/src/features/drive-view/filters/use-drive-filters.test.tsx b/apps/web/src/features/drive-view/filters/use-drive-filters.test.tsxindex 89cf2b0830..6da5944d81 100644--- a/apps/web/src/features/drive-view/filters/use-drive-filters.test.tsx+++ b/apps/web/src/features/drive-view/filters/use-drive-filters.test.tsx@@ -71,7 +71,6 @@ it.each(['pointer', 'keyboard'])(expandedFolderIds: [],favoritesOpen: true,rootOpen: true,- tagsOpen: true,});render(() => {state = createDriveState({diff --git a/apps/web/src/features/drive-view/primitives/drive-route-state.ts b/apps/web/src/features/drive-view/primitives/drive-route-state.tsindex 21b1d83972..37a155c7fc 100644--- a/apps/web/src/features/drive-view/primitives/drive-route-state.ts+++ b/apps/web/src/features/drive-view/primitives/drive-route-state.ts@@ -98,7 +98,6 @@ export function createDriveViewState(expandedFolderIds: [],favoritesOpen: true,rootOpen: true,- tagsOpen: true,},});const value = (): DriveState => ({ ...saved(), ...route.selection() });diff --git a/apps/web/src/features/drive-view/primitives/drive-state.ts b/apps/web/src/features/drive-view/primitives/drive-state.tsindex 37e03cc4bc..a0161d63db 100644--- a/apps/web/src/features/drive-view/primitives/drive-state.ts+++ b/apps/web/src/features/drive-view/primitives/drive-state.ts@@ -146,8 +146,5 @@ export function createDriveState(options: {setRootOpen: (rootOpen: boolean) =>setState((current) => ({ ...current, rootOpen })),-- setTagsOpen: (tagsOpen: boolean) =>- setState((current) => ({ ...current, tagsOpen })),};}diff --git a/apps/web/src/features/drive-view/queries/drive-databases.test.ts b/apps/web/src/features/drive-view/queries/drive-databases.test.tsindex 785e578737..c6ca59a162 100644--- a/apps/web/src/features/drive-view/queries/drive-databases.test.ts+++ b/apps/web/src/features/drive-view/queries/drive-databases.test.ts@@ -119,7 +119,6 @@ describe('disabled database filters', () => {expandedFolderIds: [],favoritesOpen: false,rootOpen: true,- tagsOpen: false,};expect(availableDriveState(state, false, true).facets).toEqual({type: ['doc-markdown'],diff --git a/apps/web/src/features/drive-view/views/drive-sidebar.tsx b/apps/web/src/features/drive-view/views/drive-sidebar.tsxindex 4c3a8b780f..d87aa71316 100644--- a/apps/web/src/features/drive-view/views/drive-sidebar.tsx+++ b/apps/web/src/features/drive-view/views/drive-sidebar.tsx@@ -8,7 +8,6 @@ import { FavoriteIcon } from '@app/features/favorites/FavoriteIcon';import { useFavoriteDisplayName } from '@app/util/favorites';import FolderIcon from '@phosphor/folder.svg';import SearchIcon from '@phosphor/magnifying-glass.svg';-import { SidebarTagsSection } from '@property/tags/SidebarTagsSection';import type { Favorite } from '@service-storage/generated/schemas/favorite';import { Button } from '@ui';import { createMemo, createSignal, For, Show } from 'solid-js';@@ -193,13 +192,6 @@ export function DriveSidebarContent(props: { onNavigate?: () => void }) {</ViewSidebar.Nav></CollapsibleSection.Content></CollapsibleSection.Root>- <SidebarTagsSection- activeIds={state.value().facets.tags ?? []}- onActiveIdsChange={state.setTags}- open={state.value().tagsOpen}- onOpenChange={state.setTagsOpen}- onNavigate={props.onNavigate}- /></>);}diff --git a/apps/web/src/features/tasks-view/components/TasksControls.tsx b/apps/web/src/features/tasks-view/components/TasksControls.tsxindex 7090a47533..1540cac57d 100644--- a/apps/web/src/features/tasks-view/components/TasksControls.tsx+++ b/apps/web/src/features/tasks-view/components/TasksControls.tsx@@ -7,11 +7,13 @@ import {} from '@app/components/view-shell';import { useSplitPanelOrThrow } from '@components/app/split-layout/layoutUtils';import { isTouchDevice } from '@core/mobile/isTouchDevice';+import { tourTarget } from '@ui/components/Tour';import { createSignal, Show } from 'solid-js';import { TASK_GROUP_OPTIONS, TASK_SORT_OPTIONS } from '../constants';import { TASK_BOARD_GROUP_OPTIONS } from '../core/task-board';import { useTaskFilters } from '../filters/use-task-filters';import { useTasksView } from '../tasks-view-context';+import { TASKS_TOUR } from '../tour';import { TasksFilterDrawer } from './TasksFilterDrawer';export function TasksControls() {@@ -108,7 +110,7 @@ function DesktopTasksControls() {options={groupOptions()}onChange={(groupBy) => setState('groupBy', groupBy)}/>- <div class="relative shrink-0">+ <div class="relative shrink-0" ref={tourTarget(TASKS_TOUR.filter)}><ListFilterDropdownlabel="Filter tasks"groups={filters.groups()}diff --git a/apps/web/src/features/tasks-view/components/TasksSidebar.tsx b/apps/web/src/features/tasks-view/components/TasksSidebar.tsxindex 00e2b8ee5c..b9298a1b3d 100644--- a/apps/web/src/features/tasks-view/components/TasksSidebar.tsx+++ b/apps/web/src/features/tasks-view/components/TasksSidebar.tsx@@ -21,14 +21,11 @@ import CheckSquareIcon from '@phosphor/check-square.svg';import ListChecksIcon from '@phosphor/list-checks.svg';import NoteIcon from '@phosphor/note-pencil.svg';import StackIcon from '@phosphor/stack.svg';-import { SidebarTagsSection } from '@property/tags/SidebarTagsSection';import { useFavoritesData } from '@queries/favorites/favorites';import type { Favorite } from '@service-storage/generated/schemas/favorite';-import { tourTarget } from '@ui/components/Tour';import { createMemo, For, Show } from 'solid-js';import { Dynamic } from 'solid-js/web';import { useTasksView } from '../tasks-view-context';-import { TASKS_TOUR } from '../tour';import type { TasksTab } from '../types';const TASK_NAV_ITEMS = [@@ -153,7 +150,6 @@ export function TasksSidebar() {state,projectsEnabled,setTab,- setFacets,isSidebarSectionOpen,setSidebarSectionOpen,} = useTasksView();@@ -209,16 +205,6 @@ export function TasksSidebar() {}}/></Show>- <div ref={tourTarget(TASKS_TOUR.tags)}>- <SidebarTagsSection- activeIds={state.facets.tags ?? []}- onActiveIdsChange={(ids) =>- setFacets({ ...state.facets, tags: ids })- }- open={isSidebarSectionOpen('tags')}- onOpenChange={(open) => setSidebarSectionOpen('tags', open)}- />- </div></ViewSidebar.Content></ViewSidebar.Root>);diff --git a/apps/web/src/features/tasks-view/tour.ts b/apps/web/src/features/tasks-view/tour.tsindex bf114d96ed..be7177e585 100644--- a/apps/web/src/features/tasks-view/tour.ts+++ b/apps/web/src/features/tasks-view/tour.ts@@ -2,7 +2,7 @@ import { VIEW_SHELL_TOUR } from '@app/components/view-shell/tour';import { defineViewTour } from '@app/features/tours/core/view-tour';import { defineTourTargets } from '@ui/components/Tour';-export const TASKS_TOUR = defineTourTargets('tasks', ['tags']);+export const TASKS_TOUR = defineTourTargets('tasks', ['filter']);export const tasksTour = defineViewTour({id: 'tasks',@@ -25,12 +25,10 @@ export const tasksTour = defineViewTour({'Open a task to set its assignee, due date, and status. Add context so the next step is clear.',},{- target: TASKS_TOUR.tags,- entry: VIEW_SHELL_TOUR.sidebarToggle,- entryLabel: 'Show the task sidebar to continue',+ target: TASKS_TOUR.filter,title: 'Keep tasks organized with tags',description:- 'Tag tasks by project, team, or type of work. Create and manage tags here, then select a tag to narrow your task list to what matters now.',+ 'Tag tasks by project, team, or type of work, then use Filter to narrow your task list to the tags that matter now.',},],});diff --git a/docs/AGENT_GUIDE/surfaces.md b/docs/AGENT_GUIDE/surfaces.mdindex df27c9a94a..e909a62987 100644--- a/docs/AGENT_GUIDE/surfaces.md+++ b/docs/AGENT_GUIDE/surfaces.md@@ -400,9 +400,8 @@ longer notifies the thread. Settings → notifications lists them under `AI`.## Tasks — `/app/component/tasks`Task navigation uses `My Tasks`, `All Tasks`, and `Created by me`. The desktop-sidebar has a full-width `New task` action, a collapsible list of task favorites,-and a collapsible list of tags. Selecting a tag filters the current task view;-selecting it again clears that tag filter. Favorite rows open their tasks.+sidebar has a full-width `New task` action and a collapsible list of task favorites;+tag filtering lives in the `Filter` menu. Favorite rows open their tasks.Normal row and favorite activation replaces the list with the editable taskdocument; its originating-tab breadcrumb returns to the list and itsheader exposes Share and the task Details/Properties panel. Shift-click opens@@ -425,10 +424,10 @@ The mobile task drawer retains its existing layout.## Email — `/app/component/mail`-Email's Tags sidebar uses the same [nested tag tree as Tasks](tasks.md#nested-sidebar-tags).+Email's Tags sidebar uses the [nested tag tree](tasks.md#nested-sidebar-tags).Carets and folder-only parents expand branches; actual tags select their exact IDand switch the mailbox to All. Parent selection does not include descendant tags.-Unlike Tasks and Drive, it lists only personal tags; team-shared tags are hidden,+Unlike Calls, it lists only personal tags; team-shared tags are hidden,and its `New tag` action creates a personal tag with no Team sharing option.Full email client. Tabs: `Signal` / `Noise` / `Favorites` / `Sent` / `Scheduled` / `Calendar` / `Drafts` / `Shared` /@@ -1132,13 +1131,9 @@ touch uses the global search overlay and creation uses the dock's New button.The **Folders** pill opens the folder overview and stays highlighted insideany folder; tapping it from inside a folder returns to the overview, andselecting another pill leaves the folder tree. The sidebar contains `New file or folder`, `My Files`, `Recent`,-`Shared with me`, collapsible Favorites, a searchable folder hierarchy, and a-collapsible Tags section beneath the folders. Tags lists every tag you can apply,-nested by `/` in the tag name, with a `New tag` action in its header. Choosing a-tag shows only that tag's files within the current tab or folder and exits any-inline file detail; choosing the highlighted tag again clears it, and the same-selection appears under the **Filter** menu's Tags submenu. Navigating to another-tab or folder clears tag filters. A folder with no files matching the active tag+`Shared with me`, collapsible Favorites, and a searchable folder hierarchy. Filter+by tag from the **Filter** menu's Tags submenu; navigating to another tab or folder+clears tag filters. A folder with no files matching the active tagshows the list's no-match state rather than `This folder is empty`.Drive omits split-history back/forward buttons in both wide and narrow layouts;the split close button remains available when multiple splits are open.diff --git a/docs/AGENT_GUIDE/tasks.md b/docs/AGENT_GUIDE/tasks.mdindex 2ef84cdaa7..82f6d9c8cd 100644--- a/docs/AGENT_GUIDE/tasks.md+++ b/docs/AGENT_GUIDE/tasks.md@@ -18,7 +18,7 @@ focus while you type even if the pointer drifts over the rows; ArrowDown moves ithe rows and hovering a submenu hands focus to it as usual. The mobile drawer has noAI box.Task creation is available from the `New` button in the Tasks sidebar. With Projects-enabled, `My projects` appears below the tabs and favorites, above Tags. It lists+enabled, `My projects` appears below the tabs and favorites. It listsaccessible projects by most recently updated, with a capped height and its own scrollarea. Click a project to open its overview within the current Tasks view, keepingthe sidebar mounted, or Shift-click to open it in a new split.@@ -41,10 +41,8 @@ editor initializes; the project title, properties, and discussion stay visible.Project task lists automatically fetch all matching pages in every group, withoutper-group `Load More` rows. A failed continuation stops automatic requests and shows`Try again` above the list; already fetched group rows remain available.-The sidebar also has a collapsible `Tags` section listing every personal and team tag, with a-`New tag` button beside the heading. Clicking a tag narrows the current tab to tasks-carrying it (the same selection as the `Tags` group of the `Filter` menu); clicking it again-clears it, and switching tabs clears it like any other filter. On mobile, the tabs+The sidebar has no Tags section: filter by tag from the `Tags` group of the `Filter` menu,+and switching tabs clears it like any other filter. On mobile, the tabsare pills and the leading sliders button opens one drawer containing Sort, Group, andFilters (including Tags). The mobile bottom dock has the Ask AI input, a separate **+ Task**button, and Search.@@ -679,7 +677,8 @@ message.### Nested sidebar tags-Tag names containing `/` render with one child level (for example, `Work/Urgent`).+In the Email and Calls sidebar Tags sections, tag names containing `/` render with+one child level (for example, `Work/Urgent`).Deeper paths remain in the child label: `Work/Customers/Acme` appears as`Customers/Acme` under `Work`, alongside any actual `Customers` tag.Use the caret to expand or collapse a branch. A folder-only parent expands withoutdiff --git a/docs/AGENT_GUIDE/view-tours.md b/docs/AGENT_GUIDE/view-tours.mdindex 72bb1e9a1c..7b60385990 100644--- a/docs/AGENT_GUIDE/view-tours.md+++ b/docs/AGENT_GUIDE/view-tours.md@@ -44,7 +44,8 @@ and highlights.**New** menu.- **Calendar:** calendar sources and copy availability (beacon on the sidebartoggle while the sidebar is collapsed), calendar periods, then event details.-- **Tasks:** also offers Import from Linear, which opens the CSV importer.+- **Tasks:** the sidebar, task details, then tags in the **Filter** menu. Also+ offers Import from Linear, which opens the CSV importer.Connection suggestions open Email or Connected settings. Home, Email, Documents,Tasks, Channels, Customers, and Calls include a video from Macro's YouTube