feat(frontend): create-agent flow — picking a template IS creating the agent - #5848
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
Railway Preview Environment
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.
f1342a5 to
fd1cb5e
Compare
15412cb to
5c2f13d
Compare
Mahmoud's six create-flow changes:
?template=seed, where the strip is the offer.isMacPlatform/modifierKeyLabelin@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.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.