Repository navigation
As a new agent-env user, I want a Quick start card at the top of the e - #1008
Draft
williamloo-scale wants to merge 1 commit into
Draft
williamloo-scale wants to merge 1 commit into
williamloo-scale wants to merge 1 commit into
Conversation
From Ask AgentEnv (localdev MVP, FD-7169).
This branch has not been deployed
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.
Opened from Ask AgentEnv (localdev MVP, FD-7169).
Ask: As a new agent-env user, I want a Quick start card at the top of the explorer Home page that shows the three commands to get going (agent-env up, agent-env env deploy, agent-env task run) each with a Copy button, so I can start without reading the docs.
Plan:
Here's the plan. I haven't changed anything; it's also saved to
/Users/william.loo/.claude/plans/as-a-new-agent-env-streamed-pretzel.md.CopyButtonfromsrc/components/flow-shared.tsxintosrc/components/shared.tsx, with an optionallabelprop for its tooltip and accessible name.flow-shared.tsxre-exports it, so the places that use it now don't change. Taking it fromshared.tsxkeeps the Home page from loading the@xyflow/reactgraph library.src/components/home-page.tsx, add a fixed list of the three commands and a "Quick start" section under theHomeheading, above the existing card groups. Each row has a one-line purpose, the command in<code>, and a Copy button.agent-env up,agent-env env deploy --id <env-id>andagent-env task run --id <task-id>. Bothdeployandrunrequire--id.src/agent_env/explorer/ui/e2e/quick-start.spec.ts./and checks that the Quick start section, all three commands and three Copy buttons are visible.agent-env up.factory.yaml) runs it throughe2e/playwright.config.tsand keeps the screenshot.npm install, using the existingnode_modules:npm run typecheck,npm run lintandnpm run test:smoke.npx playwright test -c e2e/playwright.config.tsagainstnpx next dev, but only if Playwright is already installed.Factory checks (local): config pass, browser pass, typecheck pass
Visual evidence:
factory check browserkept 2 screenshot(s): home.spec.ts › explorer home renders its navigation; quick-start.spec.ts › home shows the quick start commands, each with a copy button