mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-20 15:33:54 +00:00
refactor(desktop): text-only workspace status menu + attribution
Align the workspace status-bar dropdown with the rest of the status bar: drop the per-item icons (they mixed lucide size-4 with a Codicon 1rem glyph and were the only status-bar menu carrying item icons), leaving text-only items on the shared DropdownMenuItem primitive with default typography. The status-bar trigger keeps its FolderOpen glyph, consistent with sibling items. Also map true@supersynergy.de → Supersynergy in AUTHOR_MAP.
This commit is contained in:
parent
5fc08c0e0d
commit
e0a650fa7d
2 changed files with 2 additions and 4 deletions
|
|
@ -8,7 +8,7 @@ import { GatewayMenuPanel } from '@/app/shell/gateway-menu-panel'
|
|||
import { Codicon } from '@/components/ui/codicon'
|
||||
import { GlyphSpinner } from '@/components/ui/glyph-spinner'
|
||||
import { useI18n } from '@/i18n'
|
||||
import { Activity, AlertCircle, Clock, Command, CopyIcon, FolderOpen, Hash, Loader2, Terminal, Zap, ZapFilled } from '@/lib/icons'
|
||||
import { Activity, AlertCircle, Clock, Command, FolderOpen, Hash, Loader2, Terminal, Zap, ZapFilled } from '@/lib/icons'
|
||||
import type { RuntimeReadinessResult } from '@/lib/runtime-readiness'
|
||||
import { contextBarLabel, LiveDuration, usageContextLabel } from '@/lib/statusbar'
|
||||
import { cn } from '@/lib/utils'
|
||||
|
|
@ -319,21 +319,18 @@ export function useStatusbarItems({
|
|||
menuItems: currentCwd
|
||||
? [
|
||||
{
|
||||
icon: <CopyIcon className="size-4" />,
|
||||
id: 'copy-workspace-path',
|
||||
label: fileMenu.copyPath,
|
||||
onSelect: () => void copyFilePath(currentCwd),
|
||||
title: currentCwd
|
||||
},
|
||||
{
|
||||
icon: <FolderOpen className="size-4" />,
|
||||
id: 'reveal-workspace-finder',
|
||||
label: fileMenu.revealFileManager,
|
||||
onSelect: () => void revealFile(currentCwd),
|
||||
title: currentCwd
|
||||
},
|
||||
{
|
||||
icon: <Codicon name="go-to-file" size="1rem" />,
|
||||
id: 'reveal-workspace-sidebar',
|
||||
label: fileMenu.revealInSidebar,
|
||||
onSelect: () => revealFileInTree(currentCwd),
|
||||
|
|
|
|||
|
|
@ -45,6 +45,7 @@ ACP_REGISTRY_MANIFEST = REPO_ROOT / "acp_registry" / "agent.json"
|
|||
|
||||
# Auto-extracted from noreply emails + manual overrides
|
||||
AUTHOR_MAP = {
|
||||
"true@supersynergy.de": "Supersynergy", # PR #59241 salvage (desktop: workspace path status-bar action)
|
||||
"esthon@gmail.com": "esthonjr", # PR #61950 salvage (desktop: legacy non-git workspace grouping + Windows path identity)
|
||||
"iganapolsky@gmail.com": "IgorGanapolsky", # PR #62125 salvage (compaction anti-thrash threshold verification)
|
||||
"tturney1@gmail.com": "TheTom", # PR #62696 salvage (gateway: expand @ context references under runtime/session model resolution)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue