generated from nhcarrigan/template
c5e0d5302c
Add a compact mode that shrinks the window to a small widget showing just the character sprite, recent messages, and a quick input box. Perfect for quick questions while working without the full UI. - Add CompactMode.svelte component with minimal widget interface - Add compact mode toggle in StatusBar (Ctrl+Shift+M shortcut) - Save/restore window size when toggling compact mode - Handle display scaling by converting physical to logical pixels - Add compact_mode to config (Rust + TypeScript) - Add required Tauri window permissions for resize operations
28 lines
770 B
JSON
28 lines
770 B
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "default",
|
|
"description": "Capability for the main window",
|
|
"windows": ["main"],
|
|
"permissions": [
|
|
"core:default",
|
|
"dialog:default",
|
|
"opener:default",
|
|
"shell:allow-spawn",
|
|
"shell:allow-stdin-write",
|
|
"shell:allow-kill",
|
|
"notification:default",
|
|
"notification:allow-is-permission-granted",
|
|
"notification:allow-request-permission",
|
|
"notification:allow-notify",
|
|
"clipboard-manager:default",
|
|
"clipboard-manager:allow-read-image",
|
|
"core:tray:default",
|
|
"fs:default",
|
|
"fs:allow-read-text-file",
|
|
"fs:allow-write-text-file",
|
|
"core:window:allow-set-size",
|
|
"core:window:allow-set-always-on-top",
|
|
"core:window:allow-inner-size"
|
|
]
|
|
}
|