Repository navigation
feat(studio): T01 test pane - #996
Merged
Merged
Conversation
The builder bottom drawer's first tab is now Test (was Chat): a run bar (status pill, provider/model, ticking elapsed clock while running, Open trace once the status carries a traceId) above the chat thread and composer, with runActions/aboveComposer slots for T05-T07. - DrawerTab 'chat' renamed to 'test' (default 'test'); tab count keeps counting non-system chat messages - New src/components/test/: TestPane, TestRunBar, useRunElapsed, useOpenTrace (extracted from the Topbar narrow menu, reused there) - ChatPanel accepts aboveComposer; new empty-state copy; composer placeholder 'Message the agent to test it' - e2e a11y spec updated for the renamed tab
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements T01 (Forge Builder P6): the builder bottom drawer's first tab is now Test (renamed from Chat), per
audit/forge-builder/tickets/p6-test/T01-test-pane.md.DrawerTab'chat'→'test'everywhere (AppState.tsx,BottomDrawer.tsxTABS/TAB_PANELS/FLUSH_TABS/counts); default drawer tab is'test'; chat state names unchanged. Tab labelTest, iconFlaskConical, count = non-system chat messages.src/components/test/:TestPane(run bar over the chat thread, withrunActions/aboveComposerslots for T05–T07),TestRunBar(role="group" aria-label="Test run": RunStatus pill, monorunStatus.provider, tickingm:sselapsed witharia-label="Running for m:ss"while running,Open tracelink whenrunStatus.traceId, then actions),useRunElapsed(1s interval only while running, cleared on stop/unmount, injectablenow),useOpenTrace(extracted from the Topbar narrow menu — same/traces/<id>route, no behaviour change),test.css(tokens only; 32px run bar).ChatPanelacceptsaboveComposerrendered between the error notice and the composer; new empty copy: "Send a message to test this agent. Nodes light up on the canvas as it runs."; composer placeholder "Message the agent to test it".sendChatMessage→/agents/:id/message(D12b spec v2 path) — unchanged.a11y.spec.tsupdated for the renamed tab.Test plan
npm run typecheck --workspace apps/agent-forge— cleannpx vitest run --root apps/agent-forge— 178 files / 3448 tests pass, incl. newTestPane.test.tsx(6 tests: idle vs running run bar, elapsed ticking via fake timers + injectednow, Open trace visibility, slot placement) and updatedchatPanel.test.tsx(empty copy, aboveComposer slot)npm run lint --workspace apps/agent-forge— 0 errors (33 pre-existing warnings, none in touched files)npx fallow dead-code --workspace apps/agent-forge— no issues (fullfallow/auditneeds root coverage-final.json, left to CI)