Explorar el Código

fix(ui): add Windows File Explorer icon for session header (#12386)

Maharshi Patel hace 3 semanas
padre
commit
d4fcc1b863

+ 1 - 1
packages/app/src/components/session/session-header.tsx

@@ -102,7 +102,7 @@ export function SessionHeader() {
         { id: "vscode", label: "VS Code", icon: "vscode", openWith: "code" },
         { id: "vscode", label: "VS Code", icon: "vscode", openWith: "code" },
         { id: "cursor", label: "Cursor", icon: "cursor", openWith: "cursor" },
         { id: "cursor", label: "Cursor", icon: "cursor", openWith: "cursor" },
         { id: "zed", label: "Zed", icon: "zed", openWith: "zed" },
         { id: "zed", label: "Zed", icon: "zed", openWith: "zed" },
-        { id: "finder", label: "File Explorer", icon: "finder" },
+        { id: "finder", label: "File Explorer", icon: "file-explorer" },
         { id: "powershell", label: "PowerShell", icon: "powershell", openWith: "powershell" },
         { id: "powershell", label: "PowerShell", icon: "powershell", openWith: "powershell" },
       ] as const
       ] as const
     }
     }

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
packages/ui/src/assets/icons/app/file-explorer.svg


+ 2 - 0
packages/ui/src/components/app-icon.tsx

@@ -5,6 +5,7 @@ import type { IconName } from "./app-icons/types"
 import androidStudio from "../assets/icons/app/android-studio.svg"
 import androidStudio from "../assets/icons/app/android-studio.svg"
 import antigravity from "../assets/icons/app/antigravity.svg"
 import antigravity from "../assets/icons/app/antigravity.svg"
 import cursor from "../assets/icons/app/cursor.svg"
 import cursor from "../assets/icons/app/cursor.svg"
+import fileExplorer from "../assets/icons/app/file-explorer.svg"
 import finder from "../assets/icons/app/finder.png"
 import finder from "../assets/icons/app/finder.png"
 import ghostty from "../assets/icons/app/ghostty.svg"
 import ghostty from "../assets/icons/app/ghostty.svg"
 import iterm2 from "../assets/icons/app/iterm2.svg"
 import iterm2 from "../assets/icons/app/iterm2.svg"
@@ -19,6 +20,7 @@ const icons = {
   vscode,
   vscode,
   cursor,
   cursor,
   zed,
   zed,
+  "file-explorer": fileExplorer,
   finder,
   finder,
   terminal,
   terminal,
   iterm2,
   iterm2,

+ 1 - 0
packages/ui/src/components/app-icons/types.ts

@@ -4,6 +4,7 @@ export const iconNames = [
   "vscode",
   "vscode",
   "cursor",
   "cursor",
   "zed",
   "zed",
+  "file-explorer",
   "finder",
   "finder",
   "terminal",
   "terminal",
   "iterm2",
   "iterm2",

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio