feat(open-webui): header entry, side panel, keybind and spotlight chat
Replace the bottom-right floating chat button with app-wide launchers, as requested in review: - side panel: a right-side Drawer (OpenWebUiChat) reusing the chat widget, mounted app-wide and shown only to authed users who own an Open WebUI integration - header entry: an 'AI Chat' item in the user-avatar menu (like the Docker item) - keybind: mod+shift+a toggles the panel (hotkeys.toggleAiChat) - spotlight: a '?' 'Ask AI' mode that starts a conversation from the typed query and opens the panel pre-filled; also surfaced in the Cmd+K help/mode list when the integration is present - the panel and spotlight are bridged to the app via an openWebUiChatEvent window event (mirrors the existing media-request search event) The Chat widget gains an optional initialQuery that auto-sends once on open.
This commit is contained in:
15 files changed
+272
-148
No files matched your search
@@ -1489,6 +1489,7 @@
|
||||
"switchToLightMode": "Switch to light mode",
|
||||
"management": "Management",
|
||||
"docker": "Docker",
|
||||
"aiChat": "AI Chat",
|
||||
"preferences": "Your preferences",
|
||||
"logout": "Logout",
|
||||
"login": "Login",
|
||||
@@ -5787,6 +5788,16 @@
|
||||
"fetch": "An error occurred while fetching data"
|
||||
},
|
||||
"mode": {
|
||||
"askAi": {
|
||||
"help": "Start an AI chat",
|
||||
"title": "AI Chat",
|
||||
"group": {
|
||||
"ask": {
|
||||
"startWithQuery": "Ask AI: {query}",
|
||||
"hint": "Start an AI chat"
|
||||
}
|
||||
}
|
||||
},
|
||||
"appIntegrationBoard": {
|
||||
"help": "Search for apps, integrations or boards",
|
||||
"group": {
|
||||
|
||||
Reference in new issue
Block a user