Skip to content

[Bug] Agent页面按钮鼠标悬浮时会有不合适的边框颜色 #940

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 18, 2025

Conversation

Mermaid97
Copy link
Contributor

[](#936)
以下是修改后鼠标悬浮时的状态。
原代码受ant design格式的影响,由于代码中固定了悬浮色,但边框色沿用了原按钮的颜色。
针对现有样式部分添加必要的CSS规则
删除了修改后原格式中沿用的无关变量agentDisplayName,onAgentDisplayNameChange(未在其他出引用)
image
image
image

@Mermaid97 Mermaid97 changed the title Update AgentConfigurationSection.tsx [Bug] Agent页面按钮鼠标悬浮时会有不合适的边框颜色 Aug 15, 2025
Copy link

codecov bot commented Aug 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

<div className="mb-2">
<label className="block text-sm font-medium text-gray-700 mb-1">
{t('agent.displayName')}:
</label>
Copy link
Contributor

Choose a reason for hiding this comment

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

你好,首先很高兴能够共同贡献Nexent。根据/frontend/app/%5Blocale%5D/setup/agentSetup/components/PromptManager.tsx#L558可以看到这里有在使用onAgentDisplayNameChange,多次追溯可以发现 在/frontend/services/agentConfigService.ts#L324将displayName下发给接口进行存储,所以请再次确认这里是否可以删除,感谢~

Copy link
Contributor Author

Choose a reason for hiding this comment

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

收到,感谢指正,我再检查一下相关问题

@Phinease Phinease merged commit fe9985c into develop Aug 18, 2025
11 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