diff --git a/webui/src/features/postbox/PostboxPage.tsx b/webui/src/features/postbox/PostboxPage.tsx index f304b2c..1d7771d 100644 --- a/webui/src/features/postbox/PostboxPage.tsx +++ b/webui/src/features/postbox/PostboxPage.tsx @@ -10,7 +10,6 @@ import { Paperclip, Pencil, Plus, - RefreshCw, Reply, Search, Send, @@ -20,7 +19,6 @@ import { } from "lucide-react"; import { FormGrid, ActionBlockerHint, - ActionToolbar, Button, ConfirmDialog, CountBadge, @@ -43,6 +41,7 @@ import { FormGrid, usePlatformLanguage, useUnsavedChanges, useUnsavedDraftGuard, + WorkspaceActionBar, type ApiSettings, type AuthInfo } from "@govoplan/core-webui"; @@ -589,29 +588,25 @@ export default function PostboxPage({
- -
+ void loadMessages(), loading: loadingMessages || busy, label: "Refresh messages" }} + className="postbox-bar" + contextActions={
{selectedPostbox ? ( <>
-
- } + createAction={} onClick={openCompose} disabled={Boolean(composeDisabledReason)} disabledReason={composeDisabledReason} - /> - } - onClick={() => requestDiscard(() => void loadMessages())} - disabled={loadingMessages || busy} - disabledReason={postboxBusyReason(loadingMessages, busy)} - /> -
- + />} + />
- -
+
-
+
} + primaryActions={
-
-
+
} + /> {selectedMessage ? (