diff --git a/docs/4-implementation/web-ui/swarm-ui.md b/docs/4-implementation/web-ui/swarm-ui.md index 955f7fca1..d75ab60b8 100644 --- a/docs/4-implementation/web-ui/swarm-ui.md +++ b/docs/4-implementation/web-ui/swarm-ui.md @@ -641,7 +641,8 @@ tab, follow a link in the app, or press the browser's back button. Choose Under an agent's terminal, in the preview and in its own tab, is a **message** box, with the agent's name as its placeholder. **send** hands the text to the agent's harness, and the agent takes it as an inbox message from your authelia username. -While the request is pending, a spinner replaces the button's label. When it +While the request is pending, a spinner replaces the button's label, as it does on +every save, link and create button, and the button keeps its width. When it ends, the box empties: the harness was listening and holds the message. If the harness isn't running, or isn't connected to the swarm queue, the box shows an error and the agent gets nothing. diff --git a/frontend/packages/swarm-ui/src/agent/claude-login/ClaudeLoginDialog.tsx b/frontend/packages/swarm-ui/src/agent/claude-login/ClaudeLoginDialog.tsx index 4ad7a0617..0c632eda4 100644 --- a/frontend/packages/swarm-ui/src/agent/claude-login/ClaudeLoginDialog.tsx +++ b/frontend/packages/swarm-ui/src/agent/claude-login/ClaudeLoginDialog.tsx @@ -131,9 +131,10 @@ export function ClaudeLoginDialog({ diff --git a/frontend/packages/swarm-ui/src/agent/detail/AgentInstructions.tsx b/frontend/packages/swarm-ui/src/agent/detail/AgentInstructions.tsx index 99f6558ee..2aea6676b 100644 --- a/frontend/packages/swarm-ui/src/agent/detail/AgentInstructions.tsx +++ b/frontend/packages/swarm-ui/src/agent/detail/AgentInstructions.tsx @@ -262,11 +262,12 @@ function InstructionsForm({ agent }: { agent: string }) { ) : null} {saveError ? ( diff --git a/frontend/packages/swarm-ui/src/agent/detail/AgentSshConnections.tsx b/frontend/packages/swarm-ui/src/agent/detail/AgentSshConnections.tsx index 928a0c940..ca1524754 100644 --- a/frontend/packages/swarm-ui/src/agent/detail/AgentSshConnections.tsx +++ b/frontend/packages/swarm-ui/src/agent/detail/AgentSshConnections.tsx @@ -262,11 +262,12 @@ function Connections({ agent, on }: { agent: string; on: boolean }) { ) : null} diff --git a/frontend/packages/swarm-ui/src/agent/detail/AllowedDomains.tsx b/frontend/packages/swarm-ui/src/agent/detail/AllowedDomains.tsx index 55f1cd4e4..24d9f42db 100644 --- a/frontend/packages/swarm-ui/src/agent/detail/AllowedDomains.tsx +++ b/frontend/packages/swarm-ui/src/agent/detail/AllowedDomains.tsx @@ -263,11 +263,12 @@ export function AddForm({ ) : null} diff --git a/frontend/packages/swarm-ui/src/pages/CreateAgentForm.tsx b/frontend/packages/swarm-ui/src/pages/CreateAgentForm.tsx index b3213aa5e..0b86fa445 100644 --- a/frontend/packages/swarm-ui/src/pages/CreateAgentForm.tsx +++ b/frontend/packages/swarm-ui/src/pages/CreateAgentForm.tsx @@ -598,6 +598,7 @@ export function CreateAgentForm({ )} {step === "summary" ? ( ) : ( - -
- {overCap && ( diff --git a/frontend/packages/swarm-ui/src/pages/review-settings/ClassifierKey.tsx b/frontend/packages/swarm-ui/src/pages/review-settings/ClassifierKey.tsx index 7707da604..a10ab8b68 100644 --- a/frontend/packages/swarm-ui/src/pages/review-settings/ClassifierKey.tsx +++ b/frontend/packages/swarm-ui/src/pages/review-settings/ClassifierKey.tsx @@ -110,11 +110,12 @@ export function ClassifierKey({ runtime }: { runtime: Runtime }) { ) : null} {justSaved ? ( diff --git a/frontend/packages/swarm-ui/src/pages/review-settings/ClassifierSettings.tsx b/frontend/packages/swarm-ui/src/pages/review-settings/ClassifierSettings.tsx index cdb6e55db..55e5a7d25 100644 --- a/frontend/packages/swarm-ui/src/pages/review-settings/ClassifierSettings.tsx +++ b/frontend/packages/swarm-ui/src/pages/review-settings/ClassifierSettings.tsx @@ -261,11 +261,12 @@ export function ClassifierSettings() { ) : null} {justSaved ? ( diff --git a/frontend/packages/swarm-ui/src/pages/review-tryout/ReviewTryOut.tsx b/frontend/packages/swarm-ui/src/pages/review-tryout/ReviewTryOut.tsx index 205c8707e..174164be6 100644 --- a/frontend/packages/swarm-ui/src/pages/review-tryout/ReviewTryOut.tsx +++ b/frontend/packages/swarm-ui/src/pages/review-tryout/ReviewTryOut.tsx @@ -399,9 +399,10 @@ export function ReviewTryOut() { /> {repoChoicesError ? ( @@ -452,19 +453,21 @@ export function ReviewTryOut() { add a classification {capProblem !== null ? ( diff --git a/frontend/packages/swarm-ui/src/pages/schedules/ScheduleForm.tsx b/frontend/packages/swarm-ui/src/pages/schedules/ScheduleForm.tsx index 2aac1e6aa..124fbf010 100644 --- a/frontend/packages/swarm-ui/src/pages/schedules/ScheduleForm.tsx +++ b/frontend/packages/swarm-ui/src/pages/schedules/ScheduleForm.tsx @@ -275,11 +275,12 @@ export function ScheduleForm({