Watch
0
0
Fork
You've already forked hyperhive
0

swarm-ui link-account forms: keep the sent name, drop secrets, one word for forge

The success line of both link forms read the live text field, so editing
the name after a link changed the sentence. The result now carries the
name that was sent.

The matrix form held the typed token and password after a failed submit,
and kept them across a switch of credential mode. It now drops them when
the request ends and when the mode changes.

The linked-accounts list and the delete dialog said forgejo where the
link menu and forms say forge; they now say forge.
This commit is contained in:
iris 2026-10-21 21:47:02 +02:00 • committed by mara
commit ef156d9d23
6 changed files with 52 additions and 18 deletions

View file

@ -443,6 +443,9 @@ account of that agent as names and hosts and never a credential.
| forgejo | `swarm/agents/<agent>/forge/<label>` | the label | its `url` |
| github | `swarm/agents/<agent>/github-token`, if any | `github` | `github.com` |
The route names the second kind `forgejo`; the panel shows it as **forge**,
the word the link menu uses.
The matrix `main` row is the agent's own account, which the swarm mints;
it carries an **own account** badge. The panel requests the list again when
a link dialog closes.