Skip to content

updated agent config alignment and ux - #595

Merged
govindavashishtha merged 8 commits into
mainfrom
chore/FRONTEN-2449/agent-builder-page-issues
Sep 4, 2026
Merged

govindavashishtha merged 8 commits into
mainfrom
chore/FRONTEN-2449/agent-builder-page-issues

Conversation

@vinit-truefoundry

@vinit-truefoundry vinit-truefoundry commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

https://linear.app/truefoundry/issue/FRONTEN-2449/agent-builder-page-issues

Checklist

  • I have read the contributing guidelines
  • pnpm build, pnpm test, pnpm typecheck, pnpm lint:ci, and pnpm format:check pass locally
  • Tests added/updated where it makes sense
  • No hand-edits to generated code (packages/trueforge-sdk, .github/fern/openapi/openapi.json, docs/openapi.json) — fork PRs omit SDK regen; maintainers regenerate after merge
  • Docs / .env.example updated if configuration or behavior changed

Note

Low Risk
UI/layout and draft-sync behavior in the agent composer; no auth or API contract changes, with broad test coverage for layouts and save flow.

Overview
Reworks agent builder chrome so Agent Config is a persistent left column on desktop (sidebar/drawer) while in create-agent mode, instead of a right drawer toggled by agentConfigOpen. On mobile, config stays an overlay with a Close control and can be reopened via the composer Agent config trigger; desktop hides that trigger because the panel is always shown.

Introduces AgentConfigInstructionsProvider so debounced instruction edits are shared between the config panel and SaveAgentButton, which flushes the draft (and agent spec) before opening the save modal so the saved spec matches what the user typed. Save moves out of the panel header into the main top bar (always beside Clear Chat); panel header styling aligns with other h-11 / bg-topbar-bg chrome.

Widget layout lifts open/closed state into WidgetVisibilityProvider above the chat runtime so the FAB panel stays open across runtimeKey remounts (e.g. New Chat / New Agent). DraftComposerLeftSection only shows the config trigger in compact or mobile builder layouts.

Minor: Save Agent uses the default button variant; tsconfig adds customConditions: ["trueforge-dev"] for tests.

Reviewed by Cursor Bugbot for commit 95e5aee. Bugbot is set up for automated code reviews on this repo. Configure here.

@changeset-bot

changeset-bot Bot commented Sep 4, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 95e5aee

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@truefoundry/trueforge-ui Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit dcf0c35. Configure here.

@govindavashishtha
govindavashishtha enabled auto-merge (squash) September 4, 2026 11:21
@govindavashishtha
govindavashishtha merged commit e74e953 into main Sep 4, 2026
8 checks passed
@govindavashishtha
govindavashishtha deleted the chore/FRONTEN-2449/agent-builder-page-issues branch September 4, 2026 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants