fix(frontend): expose completed result state
This commit is contained in:
@@ -116,7 +116,12 @@ export function App() {
|
|||||||
{needsSignIn ? <p className="hint">The page is public, but platform auth is required for account trial calls and durable history.</p> : null}
|
{needsSignIn ? <p className="hint">The page is public, but platform auth is required for account trial calls and durable history.</p> : null}
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<section className="result-card" data-testid="agent-result" aria-live="polite">
|
<section
|
||||||
|
className="result-card"
|
||||||
|
data-testid="agent-result"
|
||||||
|
data-state={running ? "loading" : error ? "error" : result ? "success" : "idle"}
|
||||||
|
aria-live="polite"
|
||||||
|
>
|
||||||
{!result ? (
|
{!result ? (
|
||||||
<div className="empty-state">
|
<div className="empty-state">
|
||||||
<p className="eyebrow">Awaiting run</p>
|
<p className="eyebrow">Awaiting run</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user