swarm-ui: forms share one submit flow, result line and field column
useSubmit holds the idle, sending, done and error state and the request flow that six forms each wrote out; FormResult shows the success line and the problem panel; FormStack is the column the link, claude-login, inference and limits forms each styled by hand. The create-agent, link account, backend-env and agent-input forms use the submit flow; the link, claude-login, inference and limits forms use FormStack.
This commit is contained in:
parent
0e10473e6f
commit
811b23cd6b
1 changed files with 517 additions and 377 deletions
3
frontend/packages/swarm-ui/src/ui/submit/FormResult.css
Normal file
3
frontend/packages/swarm-ui/src/ui/submit/FormResult.css
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
.ui-form-result {
|
||||
margin-block: 1em;
|
||||
}
|
||||
Loading…
Reference in a new issue