Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.
Python agent-orchestrationaiai-agentschatopsdiscordlangchainmcpmicrosoft-teamsmulti-agentopen-sourceopenaiself-hostedslack
style(console): sort the destructive utilities oxfmt can now see
raullopez-sandbox81a2601f0e1a
diff --git a/console/apps/switch-console-desktop/src/renderer/features/command-palette/command-palette-modal.tsx b/console/apps/switch-console-desktop/src/renderer/features/command-palette/command-palette-modal.tsxindex 90538ac04..0ba633c23 100644--- a/console/apps/switch-console-desktop/src/renderer/features/command-palette/command-palette-modal.tsx+++ b/console/apps/switch-console-desktop/src/renderer/features/command-palette/command-palette-modal.tsx@@ -455,7 +455,7 @@ export function CommandPaletteModal({</Command.Empty>)}{searchResult.status === 'failed' && (- <div className="text-destructive px-3 py-6 text-center text-sm">+ <div className="px-3 py-6 text-center text-sm text-destructive">Search failed for “{query}”. This is an error, not an empty result — seethe log for details.</div>diff --git a/console/apps/switch-console-desktop/src/renderer/features/locations/components/add-agent-modal/configure-agent-panel.tsx b/console/apps/switch-console-desktop/src/renderer/features/locations/components/add-agent-modal/configure-agent-panel.tsxindex 9ecf96744..67d14d150 100644--- a/console/apps/switch-console-desktop/src/renderer/features/locations/components/add-agent-modal/configure-agent-panel.tsx+++ b/console/apps/switch-console-desktop/src/renderer/features/locations/components/add-agent-modal/configure-agent-panel.tsx@@ -261,7 +261,7 @@ export function AgentIdentityFields({ form }: { form: ConfigureAgentFormState })aria-invalid={form.agentName.length > 0 && !form.nameIsValid}/>{form.agentName.length > 0 && !form.nameIsValid ? (- <span className="text-destructive text-xs">+ <span className="text-xs text-destructive">Use lowercase letters, digits, <span className="font-mono">. - _</span>, starting with aletter or digit. No spaces or uppercase.</span>diff --git a/console/apps/switch-console-desktop/src/renderer/features/locations/components/main-panel/pending-location.tsx b/console/apps/switch-console-desktop/src/renderer/features/locations/components/main-panel/pending-location.tsxindex b0e002123..a6f17ff99 100644--- a/console/apps/switch-console-desktop/src/renderer/features/locations/components/main-panel/pending-location.tsx+++ b/console/apps/switch-console-desktop/src/renderer/features/locations/components/main-panel/pending-location.tsx@@ -69,10 +69,10 @@ export const PendingLocationStatus = observer(function PendingLocationStatus({})}{isError && (- <div className="border-destructive/40 bg-destructive/10 mt-2 flex w-full min-w-0 flex-col gap-3 rounded-md border p-3">+ <div className="mt-2 flex w-full min-w-0 flex-col gap-3 rounded-md border border-destructive/40 bg-destructive/10 p-3"><div className="flex min-w-0 items-start gap-2 text-left">- <AlertCircle className="text-destructive mt-0.5 h-4 w-4 shrink-0" />- <span className="text-destructive min-w-0 text-sm break-words">+ <AlertCircle className="mt-0.5 h-4 w-4 shrink-0 text-destructive" />+ <span className="min-w-0 text-sm break-words text-destructive">{location.error ?? 'An error occurred'}</span></div>diff --git a/console/apps/switch-console-desktop/src/renderer/features/locations/components/reset-agent-modal.tsx b/console/apps/switch-console-desktop/src/renderer/features/locations/components/reset-agent-modal.tsxindex 3ae61ae74..a58951a41 100644--- a/console/apps/switch-console-desktop/src/renderer/features/locations/components/reset-agent-modal.tsx+++ b/console/apps/switch-console-desktop/src/renderer/features/locations/components/reset-agent-modal.tsx@@ -29,7 +29,7 @@ export function ResetAgentModal({ agentLabel, onSuccess, onClose }: Props) {restarts it fresh.</p>- <div className="border-destructive/30 bg-destructive/10 flex items-start gap-2.5 rounded-md border p-3 text-sm">+ <div className="flex items-start gap-2.5 rounded-md border border-destructive/30 bg-destructive/10 p-3 text-sm"><TriangleAlert className="mt-0.5 size-4 shrink-0 text-foreground-destructive" /><span className="text-foreground-muted">Any in-progress work in those sessions will be lost. This can’t be undone.diff --git a/console/apps/switch-console-desktop/src/renderer/features/locations/components/settings-view/sections/addressing-policy-settings-section.tsx b/console/apps/switch-console-desktop/src/renderer/features/locations/components/settings-view/sections/addressing-policy-settings-section.tsxindex bf7ccd733..fc9f8de75 100644--- a/console/apps/switch-console-desktop/src/renderer/features/locations/components/settings-view/sections/addressing-policy-settings-section.tsx+++ b/console/apps/switch-console-desktop/src/renderer/features/locations/components/settings-view/sections/addressing-policy-settings-section.tsx@@ -166,7 +166,7 @@ function AddressingPolicyRow({onOpenMessagingApps={() => navigate('server', { serverId })}disabled={mutation.isPending}/>- {error && <span className="text-destructive text-xs">{error}</span>}+ {error && <span className="text-xs text-destructive">{error}</span>}{policyHasDeadRule(value) && (<span className="text-xs text-foreground-warning">Not saved — a rule admits nobody. It is kept here until it names a sender.diff --git a/console/apps/switch-console-desktop/src/renderer/features/locations/components/settings-view/sections/sidecar-settings-section.tsx b/console/apps/switch-console-desktop/src/renderer/features/locations/components/settings-view/sections/sidecar-settings-section.tsxindex 0a2e75b26..a62becd03 100644--- a/console/apps/switch-console-desktop/src/renderer/features/locations/components/settings-view/sections/sidecar-settings-section.tsx+++ b/console/apps/switch-console-desktop/src/renderer/features/locations/components/settings-view/sections/sidecar-settings-section.tsx@@ -169,7 +169,7 @@ export function SidecarSettingsSection({ agentId }: { agentId: string }) {<Buttonvariant="outline"- className="text-destructive hover:text-destructive ml-auto"+ className="ml-auto text-destructive hover:text-destructive"disabled={busy || !data.running}onClick={() => stop.mutate()}>diff --git a/console/apps/switch-console-desktop/src/renderer/features/remote-hosts/add-host-modal.tsx b/console/apps/switch-console-desktop/src/renderer/features/remote-hosts/add-host-modal.tsxindex f2d90f4e8..aae9a35cf 100644--- a/console/apps/switch-console-desktop/src/renderer/features/remote-hosts/add-host-modal.tsx+++ b/console/apps/switch-console-desktop/src/renderer/features/remote-hosts/add-host-modal.tsx@@ -154,7 +154,7 @@ export function AddHostModal({ onboarded, onAdded, onClose }: AddHostModalProps)</Field>{mutation.isError && (- <p className="text-destructive text-xs">+ <p className="text-xs text-destructive">{failureText(mutation.error, 'Could not add the host.')}</p>)}diff --git a/console/apps/switch-console-desktop/src/renderer/features/remote-hosts/setup/setup-detail-sheet.tsx b/console/apps/switch-console-desktop/src/renderer/features/remote-hosts/setup/setup-detail-sheet.tsxindex 04be25881..ffa71de80 100644--- a/console/apps/switch-console-desktop/src/renderer/features/remote-hosts/setup/setup-detail-sheet.tsx+++ b/console/apps/switch-console-desktop/src/renderer/features/remote-hosts/setup/setup-detail-sheet.tsx@@ -147,7 +147,7 @@ function ObservationCard({attempt did fail, and hiding the reason leaves a row that silentlyrefuses to move off "Update available" with nothing to explain why.*/}- {step.error && <p className="text-destructive text-xs">{step.error}</p>}+ {step.error && <p className="text-xs text-destructive">{step.error}</p>}{step.output && <FailureOutput output={step.output} />}</div>);@@ -385,7 +385,7 @@ function AgentTypeDetail({/></div>{row.plugin.state === 'failed' && row.plugin.error && (- <p className="text-destructive text-xs">{row.plugin.error}</p>+ <p className="text-xs text-destructive">{row.plugin.error}</p>)}{row.plugin.state === 'failed' && row.plugin.output && (<FailureOutput output={row.plugin.output} />diff --git a/console/apps/switch-console-desktop/src/renderer/features/remote-hosts/views/remote-host-view.tsx b/console/apps/switch-console-desktop/src/renderer/features/remote-hosts/views/remote-host-view.tsxindex 6b316f2c4..e4feda9b2 100644--- a/console/apps/switch-console-desktop/src/renderer/features/remote-hosts/views/remote-host-view.tsx+++ b/console/apps/switch-console-desktop/src/renderer/features/remote-hosts/views/remote-host-view.tsx@@ -190,22 +190,22 @@ export const RemoteHostMainPanel = observer(function RemoteHostMainPanel() {exactly that, rather than being blamed on whichever step it touched.*/}{installStep.isError && (- <p className="text-destructive text-xs">+ <p className="text-xs text-destructive">{failureText(installStep.error, 'Could not install.')}</p>)}{updateStep.isError && (- <p className="text-destructive text-xs">+ <p className="text-xs text-destructive">{failureText(updateStep.error, 'Could not update.')}</p>)}{recheck.isError && (- <p className="text-destructive text-xs">+ <p className="text-xs text-destructive">{failureText(recheck.error, 'Could not check this host.')}</p>)}{prepare.isError && (- <p className="text-destructive text-xs">+ <p className="text-xs text-destructive">{failureText(prepare.error, 'Could not work out what this host needs.')}</p>)}diff --git a/console/apps/switch-console-desktop/src/renderer/features/sessions/rename-session-modal.tsx b/console/apps/switch-console-desktop/src/renderer/features/sessions/rename-session-modal.tsxindex ee7a91dc1..a8f063cfa 100644--- a/console/apps/switch-console-desktop/src/renderer/features/sessions/rename-session-modal.tsx+++ b/console/apps/switch-console-desktop/src/renderer/features/sessions/rename-session-modal.tsx@@ -113,9 +113,9 @@ export const RenameSessionModal = observer(function RenameSessionModal({autoFocus/>{validationMessage && !isUnchanged && (- <p className="text-destructive mt-1 text-xs">{validationMessage}</p>+ <p className="mt-1 text-xs text-destructive">{validationMessage}</p>)}- {error && <p className="text-destructive mt-1 text-xs">{error}</p>}+ {error && <p className="mt-1 text-xs text-destructive">{error}</p>}</Field></FieldGroup></DialogContentArea>diff --git a/console/apps/switch-console-desktop/src/renderer/features/settings/agents-page/SwitchSetupCard.tsx b/console/apps/switch-console-desktop/src/renderer/features/settings/agents-page/SwitchSetupCard.tsxindex 9d03b7f3f..9c7c6d11e 100644--- a/console/apps/switch-console-desktop/src/renderer/features/settings/agents-page/SwitchSetupCard.tsx+++ b/console/apps/switch-console-desktop/src/renderer/features/settings/agents-page/SwitchSetupCard.tsx@@ -107,7 +107,7 @@ export function SwitchSetupCard({ agentId }: { agentId: string }) {</div></div>{status.refreshError && (- <p className="text-destructive text-xs">+ <p className="text-xs text-destructive">Couldn't refresh the plugin marketplace — showing cached status. {status.refreshError}</p>)}diff --git a/console/apps/switch-console-desktop/src/renderer/features/switch-rooms/AddAgentToRoomsModal.tsx b/console/apps/switch-console-desktop/src/renderer/features/switch-rooms/AddAgentToRoomsModal.tsxindex fea64a8a9..0e7a58514 100644--- a/console/apps/switch-console-desktop/src/renderer/features/switch-rooms/AddAgentToRoomsModal.tsx+++ b/console/apps/switch-console-desktop/src/renderer/features/switch-rooms/AddAgentToRoomsModal.tsx@@ -189,7 +189,7 @@ export const AddAgentToRoomsModal = observer(function AddAgentToRoomsModal({)}</Field>- {error && <p className="text-destructive text-xs">{error}</p>}+ {error && <p className="text-xs text-destructive">{error}</p>}</div></DialogContentArea><DialogFooter>diff --git a/console/apps/switch-console-desktop/src/renderer/features/switch-rooms/AddAgentsToRoomModal.tsx b/console/apps/switch-console-desktop/src/renderer/features/switch-rooms/AddAgentsToRoomModal.tsxindex f2ecff15c..1fed4f6f5 100644--- a/console/apps/switch-console-desktop/src/renderer/features/switch-rooms/AddAgentsToRoomModal.tsx+++ b/console/apps/switch-console-desktop/src/renderer/features/switch-rooms/AddAgentsToRoomModal.tsx@@ -105,7 +105,7 @@ export const AddAgentsToRoomModal = observer(function AddAgentsToRoomModal({<DialogContentArea className="pt-0"><div className="flex w-full flex-col gap-4">{!serverId && (- <p className="text-destructive text-xs">+ <p className="text-xs text-destructive">This room's server is not known yet, so its members cannot be changed.</p>)}@@ -177,7 +177,7 @@ export const AddAgentsToRoomModal = observer(function AddAgentsToRoomModal({)}</Field>- {error && <p className="text-destructive text-xs">{error}</p>}+ {error && <p className="text-xs text-destructive">{error}</p>}</div></DialogContentArea><DialogFooter>diff --git a/console/apps/switch-console-desktop/src/renderer/features/switch-rooms/DeleteRoomModal.tsx b/console/apps/switch-console-desktop/src/renderer/features/switch-rooms/DeleteRoomModal.tsxindex 2e45b88da..11a65e610 100644--- a/console/apps/switch-console-desktop/src/renderer/features/switch-rooms/DeleteRoomModal.tsx+++ b/console/apps/switch-console-desktop/src/renderer/features/switch-rooms/DeleteRoomModal.tsx@@ -76,7 +76,7 @@ export const DeleteRoomModal = observer(function DeleteRoomModal({themselves are kept.</p>)}- {error && <p className="text-destructive text-xs">{error}</p>}+ {error && <p className="text-xs text-destructive">{error}</p>}</DialogContentArea><DialogFooter><Button variant="outline" onClick={onClose} disabled={isDeleting}>diff --git a/console/apps/switch-console-desktop/src/renderer/features/switch-rooms/room-configuration-panel.tsx b/console/apps/switch-console-desktop/src/renderer/features/switch-rooms/room-configuration-panel.tsxindex 8ee7d5198..fde4dbc93 100644--- a/console/apps/switch-console-desktop/src/renderer/features/switch-rooms/room-configuration-panel.tsx+++ b/console/apps/switch-console-desktop/src/renderer/features/switch-rooms/room-configuration-panel.tsx@@ -274,7 +274,7 @@ function GeneralSection({ serverId, room }: { serverId: string; room: RemoteRoom/** Says where the edits stand, so an unsaved change is never silent. */function SaveStatus({ state, dirty }: { state: SaveState; dirty: boolean }) {if (state.phase === 'failed') {- return <span className="text-destructive text-xs">Not saved — {state.message}</span>;+ return <span className="text-xs text-destructive">Not saved — {state.message}</span>;}if (state.phase === 'saved' && !dirty) {return <span className="text-xs text-foreground-muted">Saved.</span>;@@ -476,7 +476,7 @@ const AddAgentPanel = observer(function AddAgentPanel({)}</InputGroup>- {error !== null && <p className="text-destructive text-xs">Not added — {error}</p>}+ {error !== null && <p className="text-xs text-destructive">Not added — {error}</p>}{candidates.length === 0 ? (<p className="px-1 py-2 text-sm text-foreground-muted">diff --git a/console/apps/switch-console-desktop/src/renderer/features/switch-servers/AddServerModal.tsx b/console/apps/switch-console-desktop/src/renderer/features/switch-servers/AddServerModal.tsxindex 36ba3b7c0..868374054 100644--- a/console/apps/switch-console-desktop/src/renderer/features/switch-servers/AddServerModal.tsx+++ b/console/apps/switch-console-desktop/src/renderer/features/switch-servers/AddServerModal.tsx@@ -825,7 +825,7 @@ const ExternalServerStep = observer(function ExternalServerStep({placeholder="https://switch-gateway.example.com"autoFocus={isEdit}/>- {gatewayMessage && <p className="text-destructive mt-1 text-xs">{gatewayMessage}</p>}+ {gatewayMessage && <p className="mt-1 text-xs text-destructive">{gatewayMessage}</p>}</Field><Field><FieldLabel>API URL</FieldLabel>@@ -837,8 +837,8 @@ const ExternalServerStep = observer(function ExternalServerStep({if (e.key === 'Enter') void handleSubmit();}}/>- {apiMessage && <p className="text-destructive mt-1 text-xs">{apiMessage}</p>}- {error && <p className="text-destructive mt-1 text-xs">{error}</p>}+ {apiMessage && <p className="mt-1 text-xs text-destructive">{apiMessage}</p>}+ {error && <p className="mt-1 text-xs text-destructive">{error}</p>}</Field></FieldGroup></DialogContentArea>diff --git a/console/apps/switch-console-desktop/src/renderer/features/switch-servers/BundledChatSignIn.tsx b/console/apps/switch-console-desktop/src/renderer/features/switch-servers/BundledChatSignIn.tsxindex a3c20cc77..cae4bc7ad 100644--- a/console/apps/switch-console-desktop/src/renderer/features/switch-servers/BundledChatSignIn.tsx+++ b/console/apps/switch-console-desktop/src/renderer/features/switch-servers/BundledChatSignIn.tsx@@ -129,7 +129,7 @@ export function BundledChatSignInModal({ serverId, bridgeDisplayName, onClose }:{signInQuery.isLoading ? (<Spinner className="size-3.5" />) : signInQuery.isError ? (- <p className="text-destructive text-xs">+ <p className="text-xs text-destructive">{failureText(signInQuery.error, 'Could not read the sign-in details.')}</p>) : signIn?.kind === 'unavailable' ? (diff --git a/console/apps/switch-console-desktop/src/renderer/features/switch-servers/ClaimIdentityModal.tsx b/console/apps/switch-console-desktop/src/renderer/features/switch-servers/ClaimIdentityModal.tsxindex 68a63b7ba..47be809ce 100644--- a/console/apps/switch-console-desktop/src/renderer/features/switch-servers/ClaimIdentityModal.tsx+++ b/console/apps/switch-console-desktop/src/renderer/features/switch-servers/ClaimIdentityModal.tsx@@ -81,13 +81,13 @@ export const ClaimIdentityModal = observer(function ClaimIdentityModal({</p>{!serverId && (- <p className="text-destructive text-xs">+ <p className="text-xs text-destructive">No Switch server is selected. Choose a server in the sidebar first.</p>)}{bridgeIsGone && (- <p className="text-destructive text-xs">+ <p className="text-xs text-destructive">That messaging app is no longer connected to this server.</p>)}diff --git a/console/apps/switch-console-desktop/src/renderer/features/switch-servers/ConnectMessagingAppModal.tsx b/console/apps/switch-console-desktop/src/renderer/features/switch-servers/ConnectMessagingAppModal.tsxindex 9814801b0..28f13a321 100644--- a/console/apps/switch-console-desktop/src/renderer/features/switch-servers/ConnectMessagingAppModal.tsx+++ b/console/apps/switch-console-desktop/src/renderer/features/switch-servers/ConnectMessagingAppModal.tsx@@ -183,13 +183,13 @@ export const ConnectMessagingAppModal = observer(function ConnectMessagingAppMod<DialogContentArea className="pt-0"><div className="flex w-full flex-col gap-5">{!server && (- <p className="text-destructive text-xs">+ <p className="text-xs text-destructive">No Switch server is selected. Choose a server in the sidebar first.</p>)}{server && !isAdmin && (- <p className="text-destructive text-xs">+ <p className="text-xs text-destructive">Connecting a messaging app requires an admin account on this server. You are signed inwithout admin rights, so the server would reject this.</p>@@ -219,7 +219,7 @@ export const ConnectMessagingAppModal = observer(function ConnectMessagingAppMod</SelectContent></Select>{typesQuery.isError && (- <p className="text-destructive mt-1 text-xs">+ <p className="mt-1 text-xs text-destructive">{failureText(typesQuery.error, 'Could not load the available messaging apps.')}</p>)}@@ -350,7 +350,7 @@ export const ConnectMessagingAppModal = observer(function ConnectMessagingAppMod</>)}- {error && <p className="text-destructive text-xs">{error}</p>}+ {error && <p className="text-xs text-destructive">{error}</p>}</div></DialogContentArea><DialogFooter>diff --git a/console/apps/switch-console-desktop/src/renderer/features/switch-servers/CreateRoomModal.tsx b/console/apps/switch-console-desktop/src/renderer/features/switch-servers/CreateRoomModal.tsxindex 5b11aad50..4ea49105b 100644--- a/console/apps/switch-console-desktop/src/renderer/features/switch-servers/CreateRoomModal.tsx+++ b/console/apps/switch-console-desktop/src/renderer/features/switch-servers/CreateRoomModal.tsx@@ -192,7 +192,7 @@ export const CreateRoomModal = observer(function CreateRoomModal({<DialogContentArea className="pt-0"><div className="flex w-full flex-col gap-6">{!server && (- <p className="text-destructive text-xs">+ <p className="text-xs text-destructive">No Switch server is selected, so there is nowhere to create a room. Choose a server inthe sidebar first.</p>@@ -221,19 +221,19 @@ export const CreateRoomModal = observer(function CreateRoomModal({))}</div>{noBridgesAtAll && (- <p className="text-destructive text-xs">+ <p className="text-xs text-destructive">This server has no messaging app connected, so a room created here would beunreachable. Connect one first.</p>)}{noneRunning && (- <p className="text-destructive text-xs">+ <p className="text-xs text-destructive">This server's messaging apps are not running, so a room created here would beunreachable. Start one, or connect another.</p>)}{noneCanCreateChannels && (- <p className="text-destructive text-xs">+ <p className="text-xs text-destructive">None of the running messaging apps can create a channel from Switch — for example, aTelegram bot can't create chats on its own. Make the chat directly in themessaging app instead (for Telegram, create the group and add the bot to it) and it@@ -241,7 +241,7 @@ export const CreateRoomModal = observer(function CreateRoomModal({</p>)}{bridgesQuery.isError && (- <p className="text-destructive text-xs">+ <p className="text-xs text-destructive">{failureText(bridgesQuery.error, 'Could not load messaging apps.')}</p>)}@@ -366,7 +366,7 @@ export const CreateRoomModal = observer(function CreateRoomModal({)}</div>- {error && <p className="text-destructive text-xs">{error}</p>}+ {error && <p className="text-xs text-destructive">{error}</p>}</div></DialogContentArea><DialogFooter>diff --git a/console/apps/switch-console-desktop/src/renderer/features/switch-servers/DeleteServerModal.tsx b/console/apps/switch-console-desktop/src/renderer/features/switch-servers/DeleteServerModal.tsxindex 893a93fc1..a01bfec93 100644--- a/console/apps/switch-console-desktop/src/renderer/features/switch-servers/DeleteServerModal.tsx+++ b/console/apps/switch-console-desktop/src/renderer/features/switch-servers/DeleteServerModal.tsx@@ -135,7 +135,7 @@ export const DeleteServerModal = observer(function DeleteServerModal({</FieldGroup>)}- {error && <p className="text-destructive text-xs">{error}</p>}+ {error && <p className="text-xs text-destructive">{error}</p>}</DialogContentArea><DialogFooter><Button variant="outline" onClick={onClose}>diff --git a/console/apps/switch-console-desktop/src/renderer/features/switch-servers/DisconnectMessagingAppModal.tsx b/console/apps/switch-console-desktop/src/renderer/features/switch-servers/DisconnectMessagingAppModal.tsxindex bd431f6f9..dad51f0b5 100644--- a/console/apps/switch-console-desktop/src/renderer/features/switch-servers/DisconnectMessagingAppModal.tsx+++ b/console/apps/switch-console-desktop/src/renderer/features/switch-servers/DisconnectMessagingAppModal.tsx@@ -106,7 +106,7 @@ export const DisconnectMessagingAppModal = observer(function DisconnectMessaging</Field></FieldGroup>- {error && <p className="text-destructive text-xs">{error}</p>}+ {error && <p className="text-xs text-destructive">{error}</p>}</DialogContentArea><DialogFooter><Button variant="outline" onClick={onClose} disabled={isDeleting}>diff --git a/console/apps/switch-console-desktop/src/renderer/features/switch-servers/MessagingAppsCard.tsx b/console/apps/switch-console-desktop/src/renderer/features/switch-servers/MessagingAppsCard.tsxindex b3c80d5cc..eb09a49d1 100644--- a/console/apps/switch-console-desktop/src/renderer/features/switch-servers/MessagingAppsCard.tsx+++ b/console/apps/switch-console-desktop/src/renderer/features/switch-servers/MessagingAppsCard.tsx@@ -254,7 +254,7 @@ export const MessagingAppsCard = observer(function MessagingAppsCard({)}{identitiesError !== null && (- <p className="text-destructive mt-2 text-xs">+ <p className="mt-2 text-xs text-destructive">{failureText(identitiesError,'Could not load which messaging accounts are linked to you, so this list may be incomplete.'@@ -263,7 +263,7 @@ export const MessagingAppsCard = observer(function MessagingAppsCard({)}{bridgesQuery.isError ? (- <p className="text-destructive mt-3 text-xs">+ <p className="mt-3 text-xs text-destructive">{failureText(bridgesQuery.error,'Could not load this server’s messaging apps. Re-check the server, or reload the page.'@@ -315,7 +315,7 @@ export const MessagingAppsCard = observer(function MessagingAppsCard({))}</div>)}- {toggleError && <p className="text-destructive mt-2 text-xs">{toggleError}</p>}+ {toggleError && <p className="mt-2 text-xs text-destructive">{toggleError}</p>}</div>);});@@ -421,7 +421,7 @@ export function MessagingAppRow({silently, so without this the app simply is not in the list andnothing anywhere says why. */}{bridge.status !== 'active' && (- <span className="text-destructive shrink-0 text-xs">{bridge.status}</span>+ <span className="shrink-0 text-xs text-destructive">{bridge.status}</span>)}</div>{identities === null ? null : identity === null ? (@@ -448,7 +448,7 @@ export function MessagingAppRow({{handleOf(identity)}</span>)}- {releaseError !== null && <p className="text-destructive mt-0.5 text-xs">{releaseError}</p>}+ {releaseError !== null && <p className="mt-0.5 text-xs text-destructive">{releaseError}</p>}</div>{/* Linking is the one thing an unlinked app needs, so it stays a buttondiff --git a/console/apps/switch-console-desktop/src/renderer/features/switch-servers/RenameServerModal.tsx b/console/apps/switch-console-desktop/src/renderer/features/switch-servers/RenameServerModal.tsxindex 8310724be..277504961 100644--- a/console/apps/switch-console-desktop/src/renderer/features/switch-servers/RenameServerModal.tsx+++ b/console/apps/switch-console-desktop/src/renderer/features/switch-servers/RenameServerModal.tsx@@ -69,9 +69,9 @@ export const RenameServerModal = observer(function RenameServerModal({autoFocus/>{isEmpty && !isUnchanged && (- <p className="text-destructive mt-1 text-xs">Server name cannot be empty.</p>+ <p className="mt-1 text-xs text-destructive">Server name cannot be empty.</p>)}- {error && <p className="text-destructive mt-1 text-xs">{error}</p>}+ {error && <p className="mt-1 text-xs text-destructive">{error}</p>}</Field></FieldGroup></DialogContentArea>diff --git a/console/apps/switch-console-desktop/src/renderer/features/switch-servers/addressing-policy-editor.tsx b/console/apps/switch-console-desktop/src/renderer/features/switch-servers/addressing-policy-editor.tsxindex fe328677e..dfcc4fb0f 100644--- a/console/apps/switch-console-desktop/src/renderer/features/switch-servers/addressing-policy-editor.tsx+++ b/console/apps/switch-console-desktop/src/renderer/features/switch-servers/addressing-policy-editor.tsx@@ -224,7 +224,7 @@ export function AddressingPolicyEditor({onChange={(agents) => updateRule(index, withAgents(rule, agents))}/>{deadRuleReason(rule) !== null && (- <p className="text-destructive text-xs">{deadRuleReason(rule)}</p>+ <p className="text-xs text-destructive">{deadRuleReason(rule)}</p>)}{!disabled && (<div className="flex justify-end">@@ -316,7 +316,7 @@ function RuleSummary({{dimLabel(agentsOf(rule), [MY_AGENTS_OPTION, ...agents])}</span></div>- {dead !== null && <span className="text-destructive text-xs">{dead}</span>}+ {dead !== null && <span className="text-xs text-destructive">{dead}</span>}</div>{!disabled && (<div className="flex shrink-0 items-center gap-1">diff --git a/console/apps/switch-console-desktop/src/renderer/features/switch-servers/bridge-identity-search.tsx b/console/apps/switch-console-desktop/src/renderer/features/switch-servers/bridge-identity-search.tsxindex 82521709e..0439ea870 100644--- a/console/apps/switch-console-desktop/src/renderer/features/switch-servers/bridge-identity-search.tsx+++ b/console/apps/switch-console-desktop/src/renderer/features/switch-servers/bridge-identity-search.tsx@@ -158,7 +158,7 @@ export const BridgeIdentitySearch = observer(function BridgeIdentitySearch({onRelease={(person) => void handleRelease(person)}/>- {error && <p className="text-destructive text-xs">{error}</p>}+ {error && <p className="text-xs text-destructive">{error}</p>}</div>);});@@ -209,7 +209,7 @@ function DirectoryResults({}if (fetchError) {return (- <p className="text-destructive text-xs">+ <p className="text-xs text-destructive">{failureText(fetchError, 'Could not search the directory.')}</p>);@@ -236,13 +236,13 @@ function DirectoryResults({}if (result.kind === 'unauthenticated') {return (- <p className="text-destructive text-xs">+ <p className="text-xs text-destructive">Your session for this server expired. Sign in again, then retry.</p>);}if (result.kind === 'error') {- return <p className="text-destructive text-xs">{result.message}</p>;+ return <p className="text-xs text-destructive">{result.message}</p>;}// Set when the platform has no directory and the server answered from the// accounts it has already seen. The list is real but cannot be complete, sodiff --git a/console/apps/switch-console-desktop/src/renderer/features/switch-servers/link-accounts-step.tsx b/console/apps/switch-console-desktop/src/renderer/features/switch-servers/link-accounts-step.tsxindex cd328f741..05fa1b28b 100644--- a/console/apps/switch-console-desktop/src/renderer/features/switch-servers/link-accounts-step.tsx+++ b/console/apps/switch-console-desktop/src/renderer/features/switch-servers/link-accounts-step.tsx@@ -134,7 +134,7 @@ function BridgeList({if (error !== null) {return (<div className="flex flex-col items-start gap-3">- <p className="text-destructive text-sm">+ <p className="text-sm text-destructive">{failureText(error, 'Could not read this server’s messaging apps.')}</p><Button variant="outline" size="sm" onClick={onRetry}>diff --git a/console/apps/switch-console-desktop/src/renderer/features/switch-servers/server-sign-in.tsx b/console/apps/switch-console-desktop/src/renderer/features/switch-servers/server-sign-in.tsxindex 41dc531f4..5b9c613ef 100644--- a/console/apps/switch-console-desktop/src/renderer/features/switch-servers/server-sign-in.tsx+++ b/console/apps/switch-console-desktop/src/renderer/features/switch-servers/server-sign-in.tsx@@ -166,10 +166,10 @@ export const ServerSignInFields = observer(function ServerSignInFields({)}{!config.passwordLoginEnabled && !config.oidcEnabled && (- <p className="text-destructive text-sm">This server has no enabled sign-in methods.</p>+ <p className="text-sm text-destructive">This server has no enabled sign-in methods.</p>)}- {signIn.error && <p className="text-destructive text-xs">{signIn.error}</p>}+ {signIn.error && <p className="text-xs text-destructive">{signIn.error}</p>}</div>);});diff --git a/console/apps/switch-console-desktop/src/renderer/lib/CronPicker/CronPicker.tsx b/console/apps/switch-console-desktop/src/renderer/lib/CronPicker/CronPicker.tsxindex 16dc1e283..1bfb5efff 100644--- a/console/apps/switch-console-desktop/src/renderer/lib/CronPicker/CronPicker.tsx+++ b/console/apps/switch-console-desktop/src/renderer/lib/CronPicker/CronPicker.tsx@@ -343,7 +343,7 @@ export function CronPicker({ value, onChange, className }: CronPickerProps) {</div>{parseError && (- <p className="text-destructive text-xs">+ <p className="text-xs text-destructive">Could not parse the cron expression. Showing defaults — saving will overwrite it.</p>)}