Skip to content

feat(studio): Dedicated Agent Details Page - #806

Merged
steramae-nvidia merged 5 commits into
mainfrom
steramae/agent-details-page
Jul 21, 2026
Merged

feat(studio): Dedicated Agent Details Page#806
steramae-nvidia merged 5 commits into
mainfrom
steramae/agent-details-page

Conversation

@steramae-nvidia

@steramae-nvidia steramae-nvidia commented Jul 21, 2026

Copy link
Copy Markdown
Contributor
Screenshot 2026-07-21 at 12 13 45 PM

Signed-off-by: Sean Teramae steramae@nvidia.com

Summary by CodeRabbit

  • New Features
    • Added an agent details page with tabs for Evaluations, Deployments, Logs, Chat, plus a read-only Configuration view.
    • Deployment rows now include a Logs action; page header includes Open traces and Run evaluation.
  • Navigation
    • Agent list now navigates directly to the agent details page.
    • Side navigation includes agent-related items when enabled.
  • Improvements
    • Enhanced deployment selection behavior in the deployment logs view and refined log/deployment spacing/alignment; improved tab empty-state rendering.
  • Tests
    • Added UI coverage for default tab selection and Chat tab rendering.

@steramae-nvidia

Copy link
Copy Markdown
Contributor Author

This change is part of the following stack:

Change managed by git-spice.

@steramae-nvidia
steramae-nvidia requested review from a team as code owners July 21, 2026 02:34
@github-actions github-actions Bot added the feat label Jul 21, 2026
@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Agent navigation now opens a dedicated routed detail page with URL-synchronized tabs for evaluations, deployments, logs, and chat. New tab components, deployment log selection control, header actions, modals, side navigation wiring, and route-level tests are included.

Changes

Agent detail experience

Layer / File(s) Summary
Route and navigation wiring
web/packages/studio/src/routes/agents/AgentsListRoute/index.tsx, web/packages/studio/src/routes/groups/agentRoutes.tsx, web/packages/studio/src/routes/WorkspaceLayout/WorkspaceSideNav.tsx
Agent rows navigate to a dedicated, lazily loaded detail route, while feature-gated agent navigation is provided by the route module.
Detail tab components
web/packages/studio/src/routes/agents/AgentDetailRoute/overview/DetailPanel.tsx, web/packages/studio/src/routes/agents/AgentDetailRoute/{ConfigurationTab,EvaluationsTab,DeploymentsTab,TabPlaceholder}.tsx, web/packages/studio/src/components/sidePanels/.../DeploymentLogsView.tsx
Adds reusable panels, placeholders, configuration and evaluation views, deployment actions and logs, controlled deployment selection, plus updated log spacing and tail-log setup organization.
Detail page orchestration
web/packages/studio/src/routes/agents/AgentDetailRoute/index.tsx
Adds URL-synchronized tabs, agent data wiring, status display, header actions, tab content, chat switching, and evaluation/deployment modals.
Route rendering validation
web/packages/studio/src/routes/agents/AgentDetailRoute/index.test.tsx
Tests the default detail page and switching to the Chat tab.

Possibly related PRs

Suggested labels: feat

Suggested reviewers: marcusds

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: adding a dedicated agent details page in Studio.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch steramae/agent-details-page

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (3)
web/packages/studio/src/routes/agents/AgentDetailRoute/index.test.tsx (3)

4-10: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Group external imports before internal imports.

Move @testing-library/user-event above the @studio/* imports.

As per coding guidelines, follow “Group imports: external libraries, internal modules, relative imports in TypeScript.”

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@web/packages/studio/src/routes/agents/AgentDetailRoute/index.test.tsx` around
lines 4 - 10, Reorder the imports in the AgentDetailRoute test so the external
`@testing-library/user-event` import appears before all internal `@studio/`*
imports, while preserving the existing import statements.

Source: Coding guidelines


36-43: 🎯 Functional Correctness | 🔵 Trivial | ⚡ Quick win

Verify Chat updates the URL.

This only checks aria-selected; a regression in the route’s search-parameter synchronization would pass. Assert the memory router’s location contains the expected tab search parameter after clicking Chat.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@web/packages/studio/src/routes/agents/AgentDetailRoute/index.test.tsx` around
lines 36 - 43, Update the “switches to the chat tab” test to also inspect the
memory router location after clicking the Chat tab, asserting that the URL
search parameters contain the expected Chat tab value while preserving the
existing aria-selected and textbox assertions.

21-33: 🎯 Functional Correctness | 🔵 Trivial | ⚡ Quick win

Assert the default tab’s content.

The test verifies that Overview is selected but not that its panel renders. Add a stable assertion for the Overview content, such as Overview is coming soon.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@web/packages/studio/src/routes/agents/AgentDetailRoute/index.test.tsx` around
lines 21 - 33, Add an assertion in the “renders the agent as a full page with
tabs and header actions” test that verifies the selected Overview panel content,
using the stable text “Overview is coming soon” while preserving the existing
tab and header-action assertions.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@web/packages/studio/src/routes/agents/AgentDetailRoute/index.test.tsx`:
- Around line 4-10: Reorder the imports in the AgentDetailRoute test so the
external `@testing-library/user-event` import appears before all internal
`@studio/`* imports, while preserving the existing import statements.
- Around line 36-43: Update the “switches to the chat tab” test to also inspect
the memory router location after clicking the Chat tab, asserting that the URL
search parameters contain the expected Chat tab value while preserving the
existing aria-selected and textbox assertions.
- Around line 21-33: Add an assertion in the “renders the agent as a full page
with tabs and header actions” test that verifies the selected Overview panel
content, using the stable text “Overview is coming soon” while preserving the
existing tab and header-action assertions.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: af148d44-30c1-4122-a554-cd0a1c189b57

📥 Commits

Reviewing files that changed from the base of the PR and between 2c1a9ef and 59f8701.

📒 Files selected for processing (10)
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/DeploymentLogsView.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/ConfigurationTab.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/DeploymentsTab.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/EvaluationsTab.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/TabPlaceholder.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/index.test.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/index.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/overview/DetailPanel.tsx
  • web/packages/studio/src/routes/agents/AgentsListRoute/index.tsx
  • web/packages/studio/src/routes/groups/agentRoutes.tsx

@github-actions

github-actions Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor
Suite Lines Covered Line Rate Branch Rate
Unit Tests 26391/34046 77.5% 61.7%
Integration Tests 15161/32671 46.4% 18.6%

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (2)
web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/DeploymentLogsView.tsx (1)

72-77: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Rename the constant to P_OFFSET.

As per coding guidelines, “Use SCREAMING_SNAKE_CASE for constants and environment variables.”

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/DeploymentLogsView.tsx`
around lines 72 - 77, Rename the module-level constant pOffset to P_OFFSET and
update its usage in the Stack/Block rendering within DeploymentLogsView.
Preserve the existing value and behavior.

Source: Coding guidelines

web/packages/studio/src/routes/agents/AgentDetailRoute/index.tsx (1)

18-33: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Restore external-before-internal import grouping.

  • web/packages/studio/src/routes/agents/AgentDetailRoute/index.tsx#L18-L33: move lucide-react and react imports before @studio/* imports.
  • web/packages/studio/src/routes/agents/AgentDetailRoute/index.test.tsx#L4-L9: move @testing-library/user-event before @studio/* imports.

As per coding guidelines, “Group imports: external libraries, internal modules, relative imports in TypeScript.”

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@web/packages/studio/src/routes/agents/AgentDetailRoute/index.tsx` around
lines 18 - 33, Restore import grouping in AgentDetailRoute/index.tsx by placing
the lucide-react and react imports before all `@studio/`* internal imports. In
AgentDetailRoute/index.test.tsx, move the `@testing-library/user-event` import
before the `@studio/`* imports, preserving the external, internal, and relative
ordering.

Source: Coding guidelines

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@web/packages/studio/src/routes/agents/AgentDetailRoute/index.tsx`:
- Line 50: After deployment loading completes in AgentDetailRoute, validate
logsDeploymentName against agentDeployments and clear it with
setLogsDeploymentName when the selected deployment no longer exists. Preserve
the selection while it remains present and ensure the reset occurs only after
refreshed deployments are available.

---

Nitpick comments:
In
`@web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/DeploymentLogsView.tsx`:
- Around line 72-77: Rename the module-level constant pOffset to P_OFFSET and
update its usage in the Stack/Block rendering within DeploymentLogsView.
Preserve the existing value and behavior.

In `@web/packages/studio/src/routes/agents/AgentDetailRoute/index.tsx`:
- Around line 18-33: Restore import grouping in AgentDetailRoute/index.tsx by
placing the lucide-react and react imports before all `@studio/`* internal
imports. In AgentDetailRoute/index.test.tsx, move the
`@testing-library/user-event` import before the `@studio/`* imports, preserving the
external, internal, and relative ordering.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 07aec955-6e37-4175-94b5-9f33e19c780f

📥 Commits

Reviewing files that changed from the base of the PR and between 294afec and e248a46.

📒 Files selected for processing (4)
  • web/packages/studio/src/components/sidePanels/AgentPanels/AgentPanel/DeploymentLogsView.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/DeploymentsTab.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/index.test.tsx
  • web/packages/studio/src/routes/agents/AgentDetailRoute/index.tsx

Comment thread web/packages/studio/src/routes/agents/AgentDetailRoute/index.tsx

@nv-odrulea nv-odrulea left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@steramae-nvidia
steramae-nvidia added this pull request to the merge queue Jul 21, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 21, 2026
@steramae-nvidia
steramae-nvidia added this pull request to the merge queue Jul 21, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 21, 2026
@steramae-nvidia
steramae-nvidia added this pull request to the merge queue Jul 21, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 21, 2026
Signed-off-by: Sean Teramae <steramae@nvidia.com>
Signed-off-by: Sean Teramae <steramae@nvidia.com>
Signed-off-by: Sean Teramae <steramae@nvidia.com>
Signed-off-by: Sean Teramae <steramae@nvidia.com>
Signed-off-by: Sean Teramae <steramae@nvidia.com>
@steramae-nvidia
steramae-nvidia force-pushed the steramae/agent-details-page branch from ec31245 to 1c892e4 Compare July 21, 2026 22:31
@steramae-nvidia
steramae-nvidia added this pull request to the merge queue Jul 21, 2026
Merged via the queue into main with commit fa9a086 Jul 21, 2026
62 of 100 checks passed
@steramae-nvidia
steramae-nvidia deleted the steramae/agent-details-page branch July 21, 2026 23:09
soluwalana pushed a commit that referenced this pull request Jul 22, 2026
* feat(studio): Dedicated Agent Details Page

Signed-off-by: Sean Teramae <steramae@nvidia.com>

* fix agent suggestions route

Signed-off-by: Sean Teramae <steramae@nvidia.com>

* Remove unused tabs

Signed-off-by: Sean Teramae <steramae@nvidia.com>

* fix overflow

Signed-off-by: Sean Teramae <steramae@nvidia.com>

* fix type error

Signed-off-by: Sean Teramae <steramae@nvidia.com>

---------

Signed-off-by: Sean Teramae <steramae@nvidia.com>
Signed-off-by: Sam Oluwalana <soluwalana@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants