@@ -20,8 +20,6 @@ export interface AgentConfigurationSectionProps {
20
20
agentDescription ?: string ;
21
21
onAgentNameChange ?: ( name : string ) => void ;
22
22
onAgentDescriptionChange ?: ( description : string ) => void ;
23
- agentDisplayName ?: string ;
24
- onAgentDisplayNameChange ?: ( displayName : string ) => void ;
25
23
isEditingMode ?: boolean ;
26
24
mainAgentModel ?: string ;
27
25
mainAgentMaxStep ?: number ;
@@ -55,8 +53,6 @@ export default function AgentConfigurationSection({
55
53
agentDescription = '' ,
56
54
onAgentNameChange,
57
55
onAgentDescriptionChange,
58
- agentDisplayName = '' ,
59
- onAgentDisplayNameChange,
60
56
isEditingMode = false ,
61
57
mainAgentModel = '' ,
62
58
mainAgentMaxStep = 5 ,
@@ -188,21 +184,6 @@ export default function AgentConfigurationSection({
188
184
// Render individual content sections
189
185
const renderAgentInfo = ( ) => (
190
186
< div className = "p-4 agent-info-content" >
191
- { /* Agent Display Name */ }
192
- < div className = "mb-2" >
193
- < label className = "block text-sm font-medium text-gray-700 mb-1" >
194
- { t ( 'agent.displayName' ) } :
195
- </ label >
196
- < input
197
- type = "text"
198
- value = { agentDisplayName }
199
- onChange = { ( e ) => onAgentDisplayNameChange ?.( e . target . value ) }
200
- placeholder = { t ( 'agent.displayNamePlaceholder' ) }
201
- className = "w-full px-3 py-2 border border-gray-300 rounded-md text-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500 box-border"
202
- disabled = { ! isEditingMode }
203
- />
204
- </ div >
205
-
206
187
{ /* Agent Name */ }
207
188
< div className = "mb-2" >
208
189
< label className = "block text-sm font-medium text-gray-700 mb-1" >
@@ -567,6 +548,26 @@ export default function AgentConfigurationSection({
567
548
font-size: 14px;
568
549
color: #666;
569
550
}
551
+
552
+ /* Fix Ant Design button hover border color issues - ensure consistent color scheme */
553
+ .responsive-button.ant-btn:hover {
554
+ border-color: inherit !important;
555
+ }
556
+
557
+ /* Blue button: hover background blue-600, border should also be blue-600 */
558
+ .bg-blue-500.hover\\:bg-blue-600.border-blue-500.hover\\:border-blue-600.ant-btn:hover {
559
+ border-color: #2563eb !important; /* blue-600 */
560
+ }
561
+
562
+ /* Green button: hover background green-600, border should also be green-600 */
563
+ .bg-green-500.hover\\:bg-green-600.border-green-500.hover\\:border-green-600.ant-btn:hover {
564
+ border-color: #16a34a !important; /* green-600 */
565
+ }
566
+
567
+ /* Red button: hover background red-600, border should also be red-600 */
568
+ .bg-red-500.hover\\:bg-red-600.border-red-500.hover\\:border-red-600.ant-btn:hover {
569
+ border-color: #dc2626 !important; /* red-600 */
570
+ }
570
571
` } </ style >
571
572
572
573
< div className = "content-scroll h-full overflow-y-auto agent-config-content" >
@@ -723,4 +724,4 @@ export default function AgentConfigurationSection({
723
724
</ Modal >
724
725
</ div >
725
726
)
726
- }
727
+ }
0 commit comments