Skip to content

feat(frontend): create-agent flow — picking a template IS creating the agent - #5848

Merged
mmabrouk merged 1 commit into
release/v0.112.0from
feat/create-agent-flow
Aug 9, 2026
Merged

feat(frontend): create-agent flow — picking a template IS creating the agent#5848
mmabrouk merged 1 commit into
release/v0.112.0from
feat/create-agent-flow

Conversation

@mmabrouk

@mmabrouk mmabrouk commented Aug 9, 2026

Copy link
Copy Markdown
Member

Mahmoud's six create-flow changes:

  1. Blank agent = a lone centered composer. New agent → blank no longer shows the templates below; they still show on first run and with a ?template= seed, where the strip is the offer.
  2. "Use my coding agent" is gone everywhere — the composer option, the clipboard builder + its test, and the CopiedToast that existed for it.
  3. Composer hints: Bold/Italic no longer advertise themselves (⌘/Ctrl+B/I still work); the send/newline pair stays and now names the platform's real modifier — ⌘ on Apple hardware, Ctrl on Windows/Linux — via one shared isMacPlatform/modifierKeyLabel in @agenta/shared, so the hint and the actual binding cannot disagree (the submit plugin accepts meta OR ctrl). Resolved after mount, so SSR cannot hydration-mismatch.
  4. Template clicks create directly: the gallery cards, the template detail's action, and the create surface's cards (PR Reviewer etc.) mint the agent and land in its playground with the template's builder instruction as the auto-sent first turn — the same flow as seeding the composer and pressing Create, minus the composer stop. The clicked card shows a spinner until navigation.

18/18 template-URL-state tests pass; the deep-link capture guard from #5832 is untouched.

Stacked on #5846 (it edits the reworked gallery/detail); merge after it.

@dosubot dosubot Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Aug 9, 2026
@vercel

vercel Bot commented Aug 9, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
agenta-documentation Error Error Aug 9, 2026 8:56pm

Request Review

@dosubot dosubot Bot added enhancement New feature or request frontend labels Aug 9, 2026
@coderabbitai

coderabbitai Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 396dcd86-4473-4205-b065-31bc92039154

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Railway Preview Environment

Status Destroyed (PR closed)

Updated at 2026-08-09T21:23:03.963Z

…e agent

- Blank agent (New agent -> blank): the composer stands alone and centres;
  the templates below only show on first run or with a ?template= seed.
- 'Use my coding agent' removed everywhere: the composer option, the
  clipboard builder and its test, and the CopiedToast that served it.
- Composer hints: Bold/Italic no longer advertise themselves (the
  bindings still work); the send/newline pair stays and names the
  platform's real modifier - one shared isMacPlatform/modifierKeyLabel in
  @agenta/shared so the hint and the binding cannot disagree, resolved
  after mount so SSR cannot mismatch.
- Template clicks create directly: gallery cards, the template detail
  action and the create surface's cards all mint the agent and land in
  its playground (useCreateAgentFromTemplate, spinner on the pending
  card) - no bounce back through the composer step.

18/18 template URL state tests pass; deep-link capture guard untouched.
@mmabrouk
mmabrouk force-pushed the feat/templates-page-layout branch from f1342a5 to fd1cb5e Compare August 9, 2026 20:56
@mmabrouk
mmabrouk force-pushed the feat/create-agent-flow branch from 15412cb to 5c2f13d Compare August 9, 2026 20:56
@mmabrouk
mmabrouk changed the base branch from feat/templates-page-layout to release/v0.112.0 August 9, 2026 21:22
@mmabrouk
mmabrouk merged commit cd13ca3 into release/v0.112.0 Aug 9, 2026
67 of 69 checks passed
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.

1 participant