mirror of
https://github.com/zen-browser/components.git
synced 2025-07-08 11:19:59 +02:00
This commit introduces a unified behavior for the pinned tab close shortcut, controlled by a single preference `zen.pinned-tab-manager.close-shortcut-behavior`. The previous implementation relied on multiple separate preferences: - `zen.pinned-tab-manager.reset-pinned-tab-on-close-shortcut` - `zen.pinned-tab-manager.unload-pinned-tab-on-close-shortcut` - `zen.pinned-tab-manager.change-pinned-tab-on-close-shortcut` - `zen.pinned-tab-manager.close-pinned-tab-on-close-shortcut` This new unified approach simplifies the configuration and offers more granular control over the desired behavior. The new preference `zen.pinned-tab-manager.close-shortcut-behavior` accepts the following values: - `close`: Closes the selected pinned tab. - `reset`: Resets the selected pinned tab to its stored state. - `unload`: Unloads the selected pinned tab. - `switch`: Switches to the next unpinned tab. - `reset-unload-switch`: Resets, unloads, and switches the selected pinned tab. - `unload-switch`: Unloads and switches the selected pinned tab. - `reset-switch`: Resets and switches the selected pinned tab. This unified approach provides greater flexibility and simplifies the user experience. |
||
---|---|---|
.. | ||
actors | ||
ZenCommonUtils.mjs | ||
ZenCompactMode.mjs | ||
ZenGradientGenerator.mjs | ||
ZenKeyboardShortcuts.mjs | ||
ZenPinnedTabManager.mjs | ||
ZenProfileDialogUI.mjs | ||
ZenSidebarManager.mjs | ||
ZenTabUnloader.mjs | ||
ZenThemeBuilder.mjs | ||
ZenThemesCommon.mjs | ||
ZenThemesImporter.mjs | ||
ZenViewSplitter.mjs | ||
ZenWorkspaces.mjs | ||
ZenWorkspacesStorage.mjs | ||
ZenWorkspacesSync.mjs |