fix(frontend): handle agent name overflow and card tag layout - #4041
Merged
Merged
Conversation
# Conflicts: # frontend/app/[locale]/agent-space/components/MyAgentCard.tsx # frontend/app/[locale]/skill-space/components/MineSkillsView.tsx
xuyaqist
requested review from
Dallas98,
WMC001,
YehongPan,
hhhhsc701 and
jeffwu-1999
as code owners
September 29, 2026 12:46
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The new unavailable-reason tooltip cannot be opened by keyboard users.
Review effort: Balanced
Findings: 1
Open (1)
What changed in this PR
Updates agent navigation and card layouts to prevent overflow and improve status/tag positioning.
Changes:
- Migrates editor links to
/agents/{agentId}. - Adds fixed headers and status rows to resource cards.
- Truncates long names/version labels and updates route tests.
Validation: Static review using frontend architecture, page, and UI guidance; no runtime checks run.
| File | Description |
|---|---|
frontend/tests/workbench/CreationResultCards.test.tsx |
Updates expected agent links. |
frontend/tests/workbench/AgentPicker.test.tsx |
Tests edit-button navigation. |
frontend/features/workbench/components/CreationResultCards.tsx |
Uses the dynamic editor route. |
frontend/features/workbench/components/AgentPicker.tsx |
Updates edit navigation. |
frontend/features/agentAutomation/components/AutomationProposalMessage.tsx |
Updates localized editor navigation. |
frontend/components/resource/ResourceCard.tsx |
Adds fixed headers and status rows. |
frontend/app/[locale]/skill-space/components/MineSkillsView.tsx |
Stabilizes skill-card status layout. |
frontend/app/[locale]/agents/page.tsx |
Reworks agent-card statuses and layout. |
frontend/app/[locale]/agent-space/my-agent.tsx |
Updates create/edit navigation. |
frontend/app/[locale]/agent-space/components/ReviewAgentList.tsx |
Truncates version overflow. |
frontend/app/[locale]/agent-space/components/MyAgentCard.tsx |
Repositions lifecycle and repository statuses. |
frontend/app/[locale]/agent-space/components/MineReviewStatusModal.tsx |
Truncates long version labels. |
frontend/app/[locale]/agent-space/agent-space.tsx |
Truncates repository version labels. |
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
WMC001
approved these changes
Sep 29, 2026
WMC001
approved these changes
Sep 29, 2026
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.

3 删除/agents?agentId=xxx链接,使用/agents/123来跳转agent编辑页