Repository navigation
feat(site/src/pages/AgentsPage): link agent definitions from the Agents sidebar and explain workspace agents in the empty state - #182
Conversation
…ts sidebar and explain workspace agents in the empty state
…ionsPage): share one create action between the header and the empty state
|
@codex review
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Keep it up! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Merged at
Part of #187. |
…ts sidebar and explain workspace agents in the empty state (#182) * feat(site/src/pages/AgentsPage): link agent definitions from the Agents sidebar and explain workspace agents in the empty state * refactor(site/src/pages/AgentsPage/AgentSettingsPage/ForkAgentDefinitionsPage): share one create action between the header and the empty state
Part of #187 (U4, discoverability).
Custom agent definitions were hard to find. The personal page was reachable only through the Agents sidebar gear, then Settings, then Agent definitions. An empty list also gave no hint that agents can come from a workspace. Behind the
fork-agent-definitionsexperiment:fromstate as the gear, so settings can return to the page you came from. It lives in a new forkForkSidebarNavItems, so the upstreamChatsPanel.tsxchange is one element and one import. A later PR in this series points the row at an Available agents page..claude/agents/<name>.mdin their workspace. Viewers who can create definitions get the same New agent definition button as the header (one shared action), which opens the editor and returns focus.Tests: the nav item test clicks Agents and checks the route and the passed state. With the state dropped, it fails. The table view test clicks the empty state's button and checks
onCreate, and the page's delete test checks that focus goes to the header button once the list is empty. The stories cover the nav item and the empty state with and without create access.Checks:
tsc,biome,oxlint,knip,lint:check,lint:compiler,lint:circular-deps, unit tests (250 in the touched dirs) and story tests (15) pass locally.UAT on the fork UI UAT server (local Vite at head
38afcfabd2proxying to it), 4 of 4 pass. Since then the only change is the frontend review fix that gives the empty state the header's shared New agent definition action (formerly labeled Create agent definition):Not tested live: the experiment off, because the shared server keeps it on.