Skip to content

Style: Align agent dropdown list width with parent component#3113

Merged
WMC001 merged 11 commits into
developfrom
xyq/bugfix_frontend
May 30, 2026
Merged

Style: Align agent dropdown list width with parent component#3113
WMC001 merged 11 commits into
developfrom
xyq/bugfix_frontend

Conversation

@xuyaqist
Copy link
Copy Markdown
Contributor

Style: Align agent dropdown list width with parent component

Copilot AI review requested due to automatic review settings May 30, 2026 01:37
@xuyaqist xuyaqist requested review from Dallas98 and WMC001 as code owners May 30, 2026 01:37
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Agents header dropdown styling and related UI copy to better align the dropdown width with its parent container and to clarify the “create vs select agent” state text.

Changes:

  • Adjusts the Dropdown root width in AgentSelectorHeader to align the dropdown list with its parent layout.
  • Updates the create-mode title/subtitle i18n keys used in AgentSelectorHeader.
  • Adds a new i18n string (agent.action.createOrSelect) in English and Chinese locales.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
frontend/app/[locale]/agents/components/AgentSelectorHeader.tsx Tweaks dropdown root width and updates create-mode header/subtitle i18n keys.
frontend/public/locales/en/common.json Adds agent.action.createOrSelect English translation.
frontend/public/locales/zh/common.json Adds agent.action.createOrSelect Chinese translation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread frontend/public/locales/en/common.json Outdated
Comment thread frontend/app/[locale]/agents/components/AgentSelectorHeader.tsx
Comment thread frontend/app/[locale]/agents/components/AgentSelectorHeader.tsx
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@WMC001 WMC001 merged commit 87bbdbd into develop May 30, 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.

3 participants