Watch
0
0
Fork
You've already forked hyperhive
0

swarm-ui: the two retry buttons that said try again say retry

Eight failed reads offer a retry button; the claude login dialog and the
instructions editor worded the same action try again.
This commit is contained in:
iris 2026-11-28 02:52:50 +01:00 • committed by mara
commit c1d182daa0
3 changed files with 4 additions and 4 deletions

View file

@ -113,7 +113,7 @@ An agent created here or with `swarmctl agent create` starts `paused`; set it
`up` from its card. A card shows **login needed** when the agent's own
turn-state header says its claude has no session, and a **log in** button that
runs the claude login from a dialog: open the URL it shows, then paste the code
back. A failed login offers **try again** in the same dialog. When the secret
back. A failed login offers **retry** in the same dialog. When the secret
store has the login, the dialog closes and a short toast in the top-right corner
says so. The credentials go to the agent through the secret store
([`claude-login.md`](../../2-handbook/swarm/claude-login.md)). The agent's own

View file

@ -42,7 +42,7 @@ export function ClaudeLoginDialog({
}) {
const [step, setStep] = useState<LoginStep>({ step: "starting" });
const [code, setCode] = useState("");
// Bumped by "try again": the effect below starts a new login for it.
// Bumped by "retry": the effect below starts a new login for it.
const [attempt, setAttempt] = useState(0);
useEffect(() => {
@ -145,7 +145,7 @@ export function ClaudeLoginDialog({
context="the claude login failed"
problem={step.problem}
/>
<Button onClick={tryAgain}>try again</Button>
<Button onClick={tryAgain}>retry</Button>
</>
)}
</Panel>

View file

@ -222,7 +222,7 @@ function InstructionsForm({ agent }: { agent: string }) {
problem={load.problem}
/>
<ActionRow class="ui-agent-instructions-actions">
<Button onClick={reload}>try again</Button>
<Button onClick={reload}>retry</Button>
</ActionRow>
</>
) : null}