redesign action menu: grid layout, search, Ask SurfSense, fix action groups

This commit is contained in:
CREDO23 2026-03-27 19:47:02 +02:00
parent 151d6a853e
commit f36e5f8287
3 changed files with 120 additions and 83 deletions

View file

@ -33,6 +33,14 @@ export const DEFAULT_ACTIONS: QuickAskAction[] = [
icon: "pen-line",
group: "transform",
},
{
id: "summarize",
name: "Summarize",
prompt: "Summarize the following text concisely. Return only the summary, nothing else.\n\n{selection}",
mode: "transform",
icon: "list",
group: "transform",
},
{
id: "explain",
name: "Explain",
@ -42,27 +50,19 @@ export const DEFAULT_ACTIONS: QuickAskAction[] = [
group: "explore",
},
{
id: "summarize",
name: "Summarize",
prompt: "Summarize the following text:\n\n{selection}",
mode: "explore",
icon: "list",
group: "explore",
},
{
id: "search-knowledge",
name: "Search my knowledge",
id: "ask-knowledge-base",
name: "Ask my knowledge base",
prompt: "Search my knowledge base for information related to:\n\n{selection}",
mode: "explore",
icon: "search",
group: "knowledge",
group: "explore",
},
{
id: "search-web",
name: "Search the web",
id: "look-up-web",
name: "Look up on the web",
prompt: "Search the web for information about:\n\n{selection}",
mode: "explore",
icon: "globe",
group: "knowledge",
group: "explore",
},
];