Phase 5-4. - The workspace button sits at the left end of the header. It shows the workspace name and opens the workspace list below it. - The left ribbon is always present: plugin views at the top, Help and Settings at the bottom. The left pane footer is gone. - Tabs keep 120 pixels and scroll. Fades show tabs out of view, and a list button names all tabs, with pinned and unsaved marks. The active tab now scrolls into view with its close button. - A drag area of 120 pixels follows the tabs. In a narrow header, the tabs shrink first, and the drag area keeps at least 48 pixels. - Caption buttons are square, 46 pixels wide, and full height. When the pointer rests on maximize, the new window_snap_layouts command opens Snap Layouts with Win+Z for the focused window. - macOS keeps its native traffic lights: tauri.macos.conf.json and the runtime window builders use an overlay title bar. Title bars leave --rs-titlebar-inset-start free for the traffic lights. - 3 new catalog rows and 1 removed row, in French, Japanese, and Simplified Chinese. - Docs: UI-050, the user guide, and ui-design.md. Tests: the new layout/titleBar. Tests that used the left pane footer, the rounded caption buttons, the 600-pixel theme editor pane, or a ribbon of no width now follow the new layout.
110 lines
3.1 KiB
JSON
110 lines
3.1 KiB
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "default",
|
|
"description": "Capability for the main window",
|
|
"windows": [
|
|
"main",
|
|
"workspace-*",
|
|
"terminal-*"
|
|
],
|
|
"permissions": [
|
|
"allow-spelling-menu-install",
|
|
"allow-spelling-suggestions",
|
|
"allow-theme-export",
|
|
"allow-spelling-menu-select",
|
|
"allow-spelling-menu-uninstall",
|
|
"allow-settings-open-window",
|
|
"allow-window-snap-layouts",
|
|
"allow-settings-read",
|
|
"allow-settings-write",
|
|
"allow-settings-migrate",
|
|
"allow-tab-transfer-offer",
|
|
"allow-tab-transfer-take",
|
|
"allow-tab-transfer-finish",
|
|
"allow-tab-transfer-cancel",
|
|
"allow-completion-request",
|
|
"allow-completion-cancel",
|
|
"allow-browser-request",
|
|
"allow-browser-connect",
|
|
"allow-browser-stop",
|
|
"allow-git-status",
|
|
"allow-git-diff",
|
|
"allow-git-stage",
|
|
"allow-git-unstage",
|
|
"allow-git-commit",
|
|
"allow-git-blame",
|
|
"allow-git-push",
|
|
"allow-git-pull",
|
|
"allow-git-graph",
|
|
"allow-git-commit-diff",
|
|
"allow-git-commit-details",
|
|
"core:default",
|
|
"core:window:allow-destroy",
|
|
"core:window:allow-close",
|
|
"core:window:allow-minimize",
|
|
"core:window:allow-toggle-maximize",
|
|
"core:window:allow-start-dragging",
|
|
"opener:default",
|
|
"dialog:default",
|
|
"allow-workspace-open",
|
|
"allow-workspace-open-window",
|
|
"allow-workspace-last-path",
|
|
"allow-workspace-recent",
|
|
"allow-workspace-forget",
|
|
"allow-workspace-new",
|
|
"allow-workspace-list",
|
|
"allow-workspace-list-markdown",
|
|
"allow-workspace-read",
|
|
"allow-workspace-read-many",
|
|
"allow-workspace-read-bytes",
|
|
"allow-workspace-write",
|
|
"allow-workspace-create",
|
|
"allow-workspace-rename",
|
|
"allow-workspace-delete",
|
|
"allow-workspace-read-data-url",
|
|
"allow-workspace-write-bytes",
|
|
"allow-workspace-copy",
|
|
"allow-workspace-abs-path",
|
|
"allow-workspace-reveal",
|
|
"allow-workspace-open-terminal",
|
|
"allow-workspace-open-default",
|
|
"allow-workspace-search",
|
|
"allow-plugins-snapshot",
|
|
"allow-plugins-choose",
|
|
"allow-plugins-from-git",
|
|
"allow-plugins-cancel",
|
|
"allow-plugins-install",
|
|
"allow-plugins-set-enabled",
|
|
"allow-plugins-load",
|
|
"allow-plugins-release",
|
|
"allow-plugins-prepare-remove",
|
|
"allow-plugins-remove",
|
|
"allow-plugins-retry-remove",
|
|
"allow-plugins-reveal",
|
|
"allow-plugins-data",
|
|
"allow-plugins-asset",
|
|
"allow-pty-open",
|
|
"allow-pty-write",
|
|
"allow-pty-resize",
|
|
"allow-pty-close",
|
|
"allow-pty-profiles",
|
|
"allow-pty-new-window",
|
|
"allow-pty-dictation",
|
|
"opener:allow-reveal-item-in-dir",
|
|
"allow-backgrounds-choose-folder",
|
|
"allow-backgrounds-default-folder",
|
|
"allow-backgrounds-list",
|
|
"allow-backgrounds-read",
|
|
"allow-backgrounds-read-image-settings",
|
|
"allow-backgrounds-write-image-settings",
|
|
"allow-folders-choose",
|
|
"allow-folders-picture",
|
|
"allow-folders-grants",
|
|
"allow-folders-revoke",
|
|
"allow-folders-list",
|
|
"allow-folders-read",
|
|
"allow-folders-read-sidecar",
|
|
"allow-folders-write-sidecar"
|
|
]
|
|
}
|