diff --git a/components/email/email-context-menu.tsx b/components/email/email-context-menu.tsx index f8229ca1..cf095762 100644 --- a/components/email/email-context-menu.tsx +++ b/components/email/email-context-menu.tsx @@ -295,6 +295,7 @@ export function EmailContextMenu({ handleAction(showBatchActions ? onBatchDelete! : onDelete!) } @@ -410,6 +411,7 @@ export function EmailContextMenu({ handleAction( showBatchActions @@ -429,6 +431,7 @@ export function EmailContextMenu({ handleAction(() => showBatchActions diff --git a/components/layout/sidebar.tsx b/components/layout/sidebar.tsx index 3d1d25c7..122a4bdb 100644 --- a/components/layout/sidebar.tsx +++ b/components/layout/sidebar.tsx @@ -259,6 +259,7 @@ interface SidebarRowProps { testRole?: string | null; testName?: string; testMailboxId?: string; + testShared?: boolean; } function SidebarRow({ @@ -282,6 +283,7 @@ function SidebarRow({ testRole, testName, testMailboxId, + testShared, }: SidebarRowProps) { const t = useTranslations('sidebar'); const leftPad = isCollapsed ? 0 : ROW_PX_BASE + depth * INDENT_STEP; @@ -294,6 +296,7 @@ function SidebarRow({ data-folder-role={testRole ?? undefined} data-folder-name={testName ?? undefined} data-mailbox-id={testMailboxId ?? undefined} + data-shared={testShared ? 'true' : undefined} style={{ paddingBlock: 'var(--density-sidebar-py)' }} className={cn( "group w-full flex items-center max-lg:min-h-[44px] text-sm transition-colors duration-150", @@ -373,6 +376,7 @@ function SidebarSectionHeader({ first, icon, sub, + testId, }: { label: string; expanded: boolean; @@ -383,6 +387,7 @@ function SidebarSectionHeader({ first?: boolean; icon?: ReactNode; sub?: boolean; + testId?: string; }) { if (isCollapsed) { return first ? null :
; @@ -397,6 +402,9 @@ function SidebarSectionHeader({ return (