mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-17 23:05:20 +00:00
Updates the ShortcutsModal to dynamically display the correct physical keys for users with non-US keyboard layouts. The `ShortcutItem` component now uses `navigator.keyboard.getLayoutMap()` to resolve `KeyboardEvent.code` values (e.g., "Slash") to the character they produce on the user's active keyboard layout (e.g., "-"). This ensures the displayed shortcuts match the keys the user needs to press. A fallback is included for older browsers that do not support this API. |
||
|---|---|---|
| .. | ||
| ChatControls | ||
| ContentRenderer | ||
| Controls | ||
| MessageInput | ||
| Messages | ||
| ModelSelector | ||
| Overview | ||
| Placeholder | ||
| Settings | ||
| Artifacts.svelte | ||
| Chat.svelte | ||
| ChatControls.svelte | ||
| ChatPlaceholder.svelte | ||
| MessageInput.svelte | ||
| Messages.svelte | ||
| ModelSelector.svelte | ||
| Navbar.svelte | ||
| Overview.svelte | ||
| Placeholder.svelte | ||
| SettingsModal.svelte | ||
| ShareChatModal.svelte | ||
| ShortcutItem.svelte | ||
| ShortcutsModal.svelte | ||
| Suggestions.svelte | ||
| TagChatModal.svelte | ||
| Tags.svelte | ||
| ToolServersModal.svelte | ||