polish sidebar navigation and project icons (#8896)

Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
This commit is contained in:
morgmart
2026-04-29 11:14:27 -07:00
committed by GitHub
parent b4c08793a9
commit 5fcdf31ad5
42 changed files with 2047 additions and 1166 deletions
-1
View File
@@ -10,7 +10,6 @@ export const TRANSLATION_NAMESPACES = [
"settings",
"skills",
"sidebar",
"status",
"sessions",
] as const;
export const LOCALE_STORAGE_KEY = "goose:locale";
-2
View File
@@ -36,7 +36,6 @@ const localeResourceLoaders = {
settings: () => import("./locales/en/settings.json"),
skills: () => import("./locales/en/skills.json"),
sidebar: () => import("./locales/en/sidebar.json"),
status: () => import("./locales/en/status.json"),
sessions: () => import("./locales/en/sessions.json"),
},
es: {
@@ -48,7 +47,6 @@ const localeResourceLoaders = {
settings: () => import("./locales/es/settings.json"),
skills: () => import("./locales/es/skills.json"),
sidebar: () => import("./locales/es/sidebar.json"),
status: () => import("./locales/es/status.json"),
sessions: () => import("./locales/es/sessions.json"),
},
} as const satisfies Record<
@@ -6,7 +6,33 @@
"colorAria": "Color {{color}}",
"createProject": "Create Project",
"creating": "Creating...",
"customIcon": "Custom icon",
"customIconDialogTitle": "Select Icon",
"editTitle": "Edit Project",
"icon": "Icon",
"iconAria": "Icon {{icon}}",
"iconCandidateTitle": "{{sourceDir}}: {{label}}",
"iconFileFilter": "Image files",
"iconPresets": {
"ai": "AI",
"api": "API",
"app": "App",
"automation": "Automation",
"code": "Code",
"components": "Components",
"database": "Database",
"design": "Design",
"docs": "Docs",
"folderCode": "Folder code",
"gitBranch": "Git branch",
"github": "GitHub",
"launch": "Launch",
"package": "Package",
"server": "Server",
"settings": "Settings",
"terminal": "Terminal",
"website": "Website"
},
"instructions": "Instructions",
"instructionsPlaceholder": "System prompt or context for agents working in this project...",
"name": "Name",
@@ -15,6 +41,8 @@
"noneUseDefault": "None (use default)",
"provider": "Provider",
"saving": "Saving...",
"scanningIcons": "Scanning...",
"uploadIcon": "Upload",
"useWorktrees": "Use git worktrees for branch isolation"
},
"view": {
@@ -23,7 +23,7 @@
},
"sections": {
"projects": "Projects",
"recents": "Recents"
"recents": "Chats"
},
"showLess": "Show less",
"viewAllChats_one": "View all {{displayCount}} chat",
@@ -1,6 +0,0 @@
{
"noModel": "No model",
"sessionTitle": "Session: {{id}}",
"tokens_one": "{{displayCount}} token",
"tokens_other": "{{displayCount}} tokens"
}
@@ -6,7 +6,33 @@
"colorAria": "Color {{color}}",
"createProject": "Crear proyecto",
"creating": "Creando...",
"customIcon": "Icono personalizado",
"customIconDialogTitle": "Seleccionar icono",
"editTitle": "Editar proyecto",
"icon": "Icono",
"iconAria": "Icono {{icon}}",
"iconCandidateTitle": "{{sourceDir}}: {{label}}",
"iconFileFilter": "Archivos de imagen",
"iconPresets": {
"ai": "IA",
"api": "API",
"app": "App",
"automation": "Automatización",
"code": "Código",
"components": "Componentes",
"database": "Base de datos",
"design": "Diseño",
"docs": "Documentación",
"folderCode": "Carpeta de código",
"gitBranch": "Rama de Git",
"github": "GitHub",
"launch": "Lanzamiento",
"package": "Paquete",
"server": "Servidor",
"settings": "Ajustes",
"terminal": "Terminal",
"website": "Sitio web"
},
"instructions": "Instrucciones",
"instructionsPlaceholder": "Prompt del sistema o contexto para agentes que trabajan en este proyecto...",
"name": "Nombre",
@@ -15,6 +41,8 @@
"noneUseDefault": "Ninguno (usar predeterminado)",
"provider": "Proveedor",
"saving": "Guardando...",
"scanningIcons": "Escaneando...",
"uploadIcon": "Subir",
"useWorktrees": "Usar git worktrees para aislar ramas"
},
"view": {
@@ -23,7 +23,7 @@
},
"sections": {
"projects": "Proyectos",
"recents": "Recientes"
"recents": "Chats"
},
"showLess": "Mostrar menos",
"viewAllChats_one": "Ver {{displayCount}} chat",
@@ -1,6 +0,0 @@
{
"noModel": "Sin modelo",
"sessionTitle": "Sesión: {{id}}",
"tokens_one": "{{displayCount}} token",
"tokens_other": "{{displayCount}} tokens"
}
+2
View File
@@ -717,6 +717,8 @@ body,
@apply border-border;
}
html {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
font-variation-settings: normal;
}
+4 -4
View File
@@ -68,25 +68,25 @@ const buttonVariants = cva(
variant: "ghost",
size: "icon-xs",
className:
"bg-transparent text-muted-foreground hover:bg-transparent hover:text-foreground active:bg-transparent",
"bg-transparent text-muted-foreground hover:bg-transparent hover:text-foreground active:bg-transparent data-[state=open]:text-foreground aria-expanded:text-foreground",
},
{
variant: "ghost",
size: "icon-sm",
className:
"bg-transparent text-muted-foreground hover:bg-transparent hover:text-foreground active:bg-transparent",
"bg-transparent text-muted-foreground hover:bg-transparent hover:text-foreground active:bg-transparent data-[state=open]:text-foreground aria-expanded:text-foreground",
},
{
variant: "ghost",
size: "icon",
className:
"bg-transparent text-muted-foreground hover:bg-transparent hover:text-foreground active:bg-transparent",
"bg-transparent text-muted-foreground hover:bg-transparent hover:text-foreground active:bg-transparent data-[state=open]:text-foreground aria-expanded:text-foreground",
},
{
variant: "ghost",
size: "icon-lg",
className:
"bg-transparent text-muted-foreground hover:bg-transparent hover:text-foreground active:bg-transparent",
"bg-transparent text-muted-foreground hover:bg-transparent hover:text-foreground active:bg-transparent data-[state=open]:text-foreground aria-expanded:text-foreground",
},
],
defaultVariants: {