Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(presets): move find actions to the last of generate group #6886

Merged
merged 1 commit into from
Apr 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 6 additions & 8 deletions packages/presets/src/ai/entries/edgeless/actions-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,12 +275,6 @@ const generateGroup: AIItemGroupConfig = {
showWhen: noteBlockOrTextShowWhen,
handler: actionToHandler('writeOutline'),
},
{
name: 'Find actions',
icon: AISearchIcon,
showWhen: noteBlockOrTextShowWhen,
handler: actionToHandler('findActions'),
},
{
name: 'Expand from this mind map node',
icon: AIPenIcon,
Expand All @@ -306,7 +300,6 @@ const generateGroup: AIItemGroupConfig = {
showWhen: noteBlockOrTextShowWhen,
handler: actionToHandler('brainstormMindmap'),
},

{
name: 'Regenerate mind map',
icon: AIPenIcon,
Expand All @@ -319,7 +312,6 @@ const generateGroup: AIItemGroupConfig = {
showWhen: noteBlockOrTextShowWhen,
handler: actionToHandler('createSlides'),
},

{
name: 'Make it real',
icon: MakeItRealIcon,
Expand Down Expand Up @@ -351,6 +343,12 @@ const generateGroup: AIItemGroupConfig = {
};
}),
},
{
name: 'Find actions',
icon: AISearchIcon,
showWhen: noteBlockOrTextShowWhen,
handler: actionToHandler('findActions'),
},
],
};

Expand Down