Skip to content

[feat] Present agent revisions as a single history and hide deployment for agents#5273

Open
ashrafchowdury wants to merge 5 commits into
big-agentsfrom
reframe-variant-as-history-and-hide-deoloyment
Open

[feat] Present agent revisions as a single history and hide deployment for agents#5273
ashrafchowdury wants to merge 5 commits into
big-agentsfrom
reframe-variant-as-history-and-hide-deoloyment

Conversation

@ashrafchowdury

@ashrafchowdury ashrafchowdury commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Context

Agents use one linear revision history, but the playground exposed the branching variant and deployment UI used by prompt applications. This let users create variants, view environment badges, and access deployment actions that do not belong in the agent workflow.

Changes

Agent playgrounds now present revisions through a compact History picker. The picker removes the variant grouping, search field, deployment badges, and unused tree indentation while keeping the standard branching selector unchanged for other workflow types.

Before:

  • Revisions appeared under a persisted variant.
  • The commit modal allowed saving as a new variant.
  • Deployment actions appeared in the header and commit flow.
  • Registry appeared in the agent navigation.

After:

  • Revisions appear as one flat v1, v2, v3 timeline.
  • Agent commits always append a new version, including when a stale branching mode is supplied.
  • Agent commit and header actions no longer expose deployment.
  • Registry remains available for prompt applications but is hidden for agents.

The shared selector defaults to branching behavior, so prompt applications and evaluators keep their existing revision and deployment flows.

What to QA

  • Open an agent playground with multiple revisions. The header shows History, and the dropdown displays a compact flat revision list without variant names, search, environment badges, or excessive side spacing.
  • Edit an agent and commit the change. The modal identifies the agent, offers only a new version, and does not show deployment options.
  • Confirm the agent configuration header has no Deploy action and the agent navigation has no Registry entry.
  • Regression: open a prompt application playground. Variant grouping, search, deployment badges, deployment actions, and Registry navigation should behave as before.

Previews

Featuring the default variant as history
image

No deployment options as it has no use for now
image.png

No create as new variant option
image.png

Note: The word history was my creative choice for the product, we can change it

- reframe default variant as history, nothing else changed
- hide the deployment option for the agent
@dosubot dosubot Bot added enhancement New feature or request Frontend labels Jul 13, 2026
@vercel

vercel Bot commented Jul 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agenta-documentation Ready Ready Preview, Comment Jul 13, 2026 12:01pm

Request Review

@coderabbitai

coderabbitai Bot commented Jul 13, 2026

Copy link
Copy Markdown

Caution

Review failed

An error occurred during the review process. Please try again later.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch reframe-variant-as-history-and-hide-deoloyment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@dosubot dosubot Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Jul 13, 2026
@ashrafchowdury

Copy link
Copy Markdown
Contributor Author

I think we can show the commit message in a tooltip, or somehow; it would be nice to have it

@ardaerzin

Copy link
Copy Markdown
Contributor

@ashrafchowdury we can make list items 2 line, and leave the bottom line for a more meaningful commit message. other than that 👍

@ashrafchowdury

Copy link
Copy Markdown
Contributor Author

fixed

image

@ashrafchowdury

Copy link
Copy Markdown
Contributor Author

@mmabrouk, if this chagnes make sense to you, let's ship this

It makes sense to me, not having variants and showing the base variant as linear type history

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Frontend size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants