Skip to content

Commit 45ed0a4

Browse files
committed
fix(studio): the palette's entry icon map knows the 全部类型 kind
Claude-Session: https://claude.ai/code/session_01QSeKYpEsWWE9Y5YtSsDgqZ Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 8c09070 commit 45ed0a4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎ui/packages/app-shell/src/views/studio-design/StudioPaletteGroups.tsx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
*/
2929

3030
import * as React from 'react';
31-
import { List, Building2, Share2, Activity, KeyRound, type LucideIcon } from 'lucide-react';
31+
import { List, Building2, Share2, Activity, KeyRound, LayoutGrid, type LucideIcon } from 'lucide-react';
3232
import { CommandGroup, CommandItem } from '@object-ui/components';
3333
import { useObjectTranslation } from '@object-ui/i18n';
3434
import { matchesPaletteQuery } from '../../chrome/paletteMatch.js';
@@ -56,6 +56,8 @@ const ENTRY_ICONS: Record<StudioMenuEntry['kind'], LucideIcon> = {
5656
owd: Share2,
5757
diagnostics: Activity,
5858
environment: KeyRound,
59+
// objectstack#37360 — the menu's 全部类型 row; the palette lists only the menu's groups, so it draws none today.
60+
allTypes: LayoutGrid,
5961
};
6062

6163
/**

0 commit comments

Comments
 (0)