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.

718 B
Raw Blame
/**
 * Views reachable from mobile navigation, in display order.
 * `search` is the "All" pill, first in the scope pill row;
 * `settings` navigates through the settings state (not `openWithSplit`), and
 * `calendar`, `reviews`, `booking-links`, and `external` are feature-gated.
 */
export const MOBILE_NAV_VIEW_IDS = [
  'search',
  'home',
  'calendar',
  'mail',
  'channels',
  'agents',
  'documents',
  'tasks',
  'reviews',
  'booking-links',
  'external',
  'calls',
  'companies',
  'settings',
] as const;

export type MobileNavViewId = (typeof MOBILE_NAV_VIEW_IDS)[number];

export const isMobileNavViewId = (id: string): id is MobileNavViewId =>
  (MOBILE_NAV_VIEW_IDS as readonly string[]).includes(id);