The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(desktop): bots plugin uses Tip and Codicon over native title and glyphs
Brooklyn Nicholsone96cbb0d3915
diff --git a/apps/desktop/src/plugins/hermes-bots/avatar-picker.tsx b/apps/desktop/src/plugins/hermes-bots/avatar-picker.tsxindex a997c1675ab..f0f8772ad52 100644--- a/apps/desktop/src/plugins/hermes-bots/avatar-picker.tsx+++ b/apps/desktop/src/plugins/hermes-bots/avatar-picker.tsx@@ -14,6 +14,7 @@ import {RowButton,SegmentedControl,Textarea,+ Tip,useValue} from '@hermes/plugin-sdk'import { useState } from 'react'@@ -147,33 +148,30 @@ export function AvatarPicker({ shape, color, image, onShape, onColor, onImage, g{/* Silhouette pins: Auto (name decides) + the six blob kinds. */}<div className="grid grid-cols-4 justify-items-center gap-1.5">{['', ...BLOB_KINDS].map(k => (- <RowButton- className={cn(- 'flex items-center justify-center rounded-md transition-colors hover:bg-(--chrome-action-hover)',- k === kind && !image && 'ring-1 ring-(--ui-accent)'- )}- key={k || 'auto'}- onClick={() => {- onImage(null)- onShape(blobShapeString(seedPart, k))- }}- style={{- width: 44,- height: 44- }}- title={k || b.editor.autoHint}- >- {k ? (- <BotFace- color={avatarColor(color, pickerName)}- name={pickerName}- shape={blobShapeString(seedPart, k)}- size={32}- />- ) : (- <span className="text-[0.6rem] text-(--ui-text-tertiary)">{b.editor.auto}</span>- )}- </RowButton>+ <Tip key={k || 'auto'} label={k || b.editor.autoHint}>+ <RowButton+ aria-label={k || b.editor.autoHint}+ className={cn(+ 'flex size-11 items-center justify-center rounded-md transition-colors hover:bg-(--chrome-action-hover)',+ k === kind && !image && 'ring-1 ring-(--ui-accent)'+ )}+ onClick={() => {+ onImage(null)+ onShape(blobShapeString(seedPart, k))+ }}+ >+ {k ? (+ <BotFace+ color={avatarColor(color, pickerName)}+ name={pickerName}+ shape={blobShapeString(seedPart, k)}+ size={32}+ />+ ) : (+ <span className="text-[0.6rem] text-(--ui-text-tertiary)">{b.editor.auto}</span>+ )}+ </RowButton>+ </Tip>))}</div><div className="flex items-center gap-1">@@ -218,24 +216,21 @@ export function AvatarPicker({ shape, color, image, onShape, onColor, onImage, g<div className="grid justify-items-center gap-3"><div className="grid grid-cols-4 justify-items-center gap-1.5">{(blobatarSvg ? ['blobatar', ...AVATAR_PICKER_SHAPES] : AVATAR_PICKER_SHAPES).map(s => (- <RowButton- className={cn(- 'flex items-center justify-center rounded-md transition-colors hover:bg-(--chrome-action-hover)',- s === shape && !image && 'ring-1 ring-(--ui-accent)'- )}- key={s}- onClick={() => {- onImage(null)- onShape(s)- }}- style={{- width: 44,- height: 44- }}- title={s === 'blobatar' ? b.avatar.blobFromName : undefined}- >- <BotFace color={avatarColor(color, pickerName)} name={pickerName} shape={s} size={32} />- </RowButton>+ <Tip key={s} label={s === 'blobatar' ? b.avatar.blobFromName : undefined}>+ <RowButton+ aria-label={s === 'blobatar' ? b.avatar.blobFromName : s}+ className={cn(+ 'flex size-11 items-center justify-center rounded-md transition-colors hover:bg-(--chrome-action-hover)',+ s === shape && !image && 'ring-1 ring-(--ui-accent)'+ )}+ onClick={() => {+ onImage(null)+ onShape(s)+ }}+ >+ <BotFace color={avatarColor(color, pickerName)} name={pickerName} shape={s} size={32} />+ </RowButton>+ </Tip>))}</div><ColorSwatchesdiff --git a/apps/desktop/src/plugins/hermes-bots/create-dialog.tsx b/apps/desktop/src/plugins/hermes-bots/create-dialog.tsxindex 00e2fb2bb20..5ddb7e6c399 100644--- a/apps/desktop/src/plugins/hermes-bots/create-dialog.tsx+++ b/apps/desktop/src/plugins/hermes-bots/create-dialog.tsx@@ -33,6 +33,7 @@ import {SelectTrigger,SelectValue,Textarea,+ Tip,useI18n,useValue} from '@hermes/plugin-sdk'@@ -1259,18 +1260,19 @@ export function CreateGroupChatDialog({ open, roster, onClose, onCreated }: Creakey={botRosterKey(bot)}variant="muted">- <RowButton- onClick={() =>- setChecked(prev => ({- ...prev,- [botRosterKey(bot)]: false- }))- }- title={b.group.removeFromSelection}- >- {displayName(bot, botRosterMeta(bot, allMeta))}- <Codicon className="text-[0.6rem]" name="close" />- </RowButton>+ <Tip label={b.group.removeFromSelection}>+ <RowButton+ onClick={() =>+ setChecked(prev => ({+ ...prev,+ [botRosterKey(bot)]: false+ }))+ }+ >+ {displayName(bot, botRosterMeta(bot, allMeta))}+ <Codicon className="text-[0.6rem]" name="close" />+ </RowButton>+ </Tip></Badge>))}</div>diff --git a/apps/desktop/src/plugins/hermes-bots/cron.tsx b/apps/desktop/src/plugins/hermes-bots/cron.tsxindex 9f40b761173..166aac1a0b9 100644--- a/apps/desktop/src/plugins/hermes-bots/cron.tsx+++ b/apps/desktop/src/plugins/hermes-bots/cron.tsx@@ -554,7 +554,6 @@ export function RoutineRow({ job, onOpen, owner }: RoutineRowProps) {<RowButtonclassName="flex min-w-0 flex-1 items-center gap-2 text-left transition-colors hover:text-foreground"onClick={() => onOpen?.(job)}- title={c.manage}>{/* `--ui-success` rather than a literal emerald: the token is rotatedtoward the accent, so a column of active dots can't fight thediff --git a/apps/desktop/src/plugins/hermes-bots/group-chat-view.tsx b/apps/desktop/src/plugins/hermes-bots/group-chat-view.tsxindex e417eef23f4..2a9aafe9b68 100644--- a/apps/desktop/src/plugins/hermes-bots/group-chat-view.tsx+++ b/apps/desktop/src/plugins/hermes-bots/group-chat-view.tsx@@ -880,7 +880,6 @@ export function GroupChatWorkspace({ group, members, onBack, visible = true }: Garia-expanded={activityOpen}className="flex min-w-0 flex-1 items-center gap-1.5 px-2.5 py-1 text-left text-[0.7rem] text-(--ui-text-quaternary) transition-colors hover:text-foreground"onClick={() => setActivityOpen(prev => !prev)}- title={activityOpen ? b.group.hideActivity : b.group.showActivity}><Codicon className="shrink-0 text-[0.65rem]" name={activityOpen ? 'chevron-down' : 'chevron-right'} /><span className="shrink-0 font-medium">{b.group.activity}</span>diff --git a/apps/desktop/src/plugins/hermes-bots/skills-hub.tsx b/apps/desktop/src/plugins/hermes-bots/skills-hub.tsxindex cecaa0d87af..4c09bc0ec97 100644--- a/apps/desktop/src/plugins/hermes-bots/skills-hub.tsx+++ b/apps/desktop/src/plugins/hermes-bots/skills-hub.tsx@@ -6,7 +6,7 @@* it reaches back into neither.*/-import { Button, host, Input, useI18n } from '@hermes/plugin-sdk'+import { Button, Codicon, host, Input, useI18n } from '@hermes/plugin-sdk'import { useEffect, useRef, useState } from 'react'import { useBots } from './i18n'@@ -244,7 +244,10 @@ export function HubSkillsSection({ bot, onInstalled }: HubSkillsSectionProps) {) : null}</div>{installed[r.name] ? (- <span className="shrink-0 text-[0.65rem] text-(--ui-text-tertiary)">✓ {h.installed}</span>+ <span className="flex shrink-0 items-center gap-0.5 text-[0.65rem] text-(--ui-text-tertiary)">+ <Codicon name="check" size="0.65rem" />+ {h.installed}+ </span>) : (<Buttonaria-label={b.tools.installHint(r.name)}