fix(ui): soften status indicators on the agent configuration page
Remove colored sidebar dots and clarify configured status text. Replace the Pi update dot with a neutral text label. Update Chinese, English, and Japanese translations.
This commit is contained in:
1 parent
6b5d88cf9b
commit
034a111c0b
6 files changed
+22
-40
No files matched your search
@@ -1649,12 +1649,6 @@ export function AgentsPage({ embedded = false, onConfigurationApplied }: AgentsP
|
||||
>
|
||||
<span className="agent-client-icon"><AgentMark definition={agent} /></span>
|
||||
<span><strong>{agent.name}</strong><small>{listStatusText(status)}</small></span>
|
||||
<i
|
||||
className={status?.id === 'pi'
|
||||
? status?.installed ? 'installed' : ''
|
||||
: status?.modificationEnabled ? 'configured' : status?.installed ? 'installed' : ''}
|
||||
aria-hidden="true"
|
||||
/>
|
||||
</button>
|
||||
);
|
||||
})}
|
||||
@@ -1821,11 +1815,13 @@ export function AgentsPage({ embedded = false, onConfigurationApplied }: AgentsP
|
||||
{t('agents.pluginVersion')}
|
||||
{piPluginUpdateAvailable ? (
|
||||
<span
|
||||
className="agent-version-update-dot"
|
||||
className="agent-version-update-label"
|
||||
role="status"
|
||||
aria-label={piPluginUpdateTitle}
|
||||
title={piPluginUpdateTitle}
|
||||
/>
|
||||
>
|
||||
{t('agents.pi.updateAvailableShort')}
|
||||
</span>
|
||||
) : null}
|
||||
</span>
|
||||
<strong title={piPluginUpdateTitle}>{activeStatus?.pluginVersion ?? t('agents.notFetched')}</strong>
|
||||
|
||||
Reference in new issue
Block a user