Skip to content

fix(frontend): handle agent name overflow and card tag layout - #4041

Merged
WMC001 merged 14 commits into
developfrom
xyq/bugfix_2.7.0
Sep 29, 2026
Merged

WMC001 merged 14 commits into
developfrom
xyq/bugfix_2.7.0

Conversation

@xuyaqist

@xuyaqist xuyaqist commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor
  1. 解决名称溢出的问题
image 2. 调整卡片中tag的位置

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

Copilot AI balanced review requested due to automatic review settings September 29, 2026 12:46

Copilot AI 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.

Copilot review overview

🟡 Changes recommended

The new unavailable-reason tooltip cannot be opened by keyboard users.

Review effort: Balanced
Findings: 1 Medium severity

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.

Comment thread frontend/app/[locale]/agents/page.tsx
@WMC001
WMC001 merged commit be69e7b into develop Sep 29, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants