courrier multi account restore compose

This commit is contained in:
alma 2025-04-27 22:04:50 +02:00
parent c49e3376d5
commit a82423469c

View File

@ -977,9 +977,51 @@ export default function CourrierPage() {
{/* Panel 2: Email List - Always visible */}
<div className="w-1/3 flex flex-col border-r border-gray-100 overflow-hidden">
{/* Header with simple title */}
<div className="p-2 border-b border-gray-100 bg-white">
<h2 className="text-sm font-medium text-gray-700">{currentFolder}</h2>
{/* Header without search bar or profile */}
<div className="p-2 border-b border-gray-100 bg-white flex items-center justify-between">
<Button
variant="ghost"
size="icon"
className="md:hidden h-9 w-9"
onClick={() => setMobileSidebarOpen(!mobileSidebarOpen)}
>
<Menu className="h-5 w-5 text-gray-500" />
</Button>
<div className="flex-1">
<h2 className="text-sm font-medium text-gray-700">{currentFolder}</h2>
</div>
<div className="flex items-center">
{selectedEmailIds.length > 0 && (
<div className="flex items-center space-x-1">
<Button
variant="ghost"
size="icon"
className="h-8 w-8"
onClick={() => handleBulkAction('mark-read')}
>
<MessageSquare className="h-4 w-4 text-gray-500" />
</Button>
<Button
variant="ghost"
size="icon"
className="h-8 w-8"
onClick={() => handleBulkAction('delete')}
>
<Trash className="h-4 w-4 text-gray-500" />
</Button>
<Button
variant="ghost"
size="icon"
className="h-8 w-8"
onClick={() => handleBulkAction('archive')}
>
<Archive className="h-4 w-4 text-gray-500" />
</Button>
</div>
)}
</div>
</div>
{/* Email List - Always visible */}