Improves the logic for initializing workspaces in the ZenWorkspaces module. The code now checks for the last used workspace and sets it as the active workspace if available. If the last used workspace is not found, it creates a default workspace or selects the first available workspace. This change enhances the user experience by automatically loading the last used workspace or providing a default option when no workspaces exist. (https://github.com/zen-browser/desktop/issues/1196)
Simplify the logic for initializing workspaces in the ZenWorkspaces module. The code now checks for the last used workspace and sets it as the active workspace if available. If the last used workspace is not found, it creates a default workspace or selects the first available workspace. This change improves the user experience by automatically loading the last used workspace or providing a default option when no workspaces exist.
Closes#376
Remove the "disableglobalhistory" and "disablesecurity" attributes from the ZenSidebarManager module. These attributes are no longer needed and can be safely removed. This cleanup improves the code readability and reduces unnecessary clutter.
Update the ZenKeyboardShortcuts module to use the SidebarController instead of the deprecated SidebarUI for managing bookmarks. This refactor ensures compatibility with the latest version of the browser and improves the overall stability and performance of the application.
This commit adds an event listener for the "TabClose" event in the ZenWorkspaces module. When a tab is closed, the listener checks if it is the last tab in a workspace and creates a new tab if necessary. It also closes other tabs in the workspace. This enhancement improves the functionality and user experience of ZenWorkspaces.
refactor: Fix incorrect split view actions in ZenKeyboardShortcuts.mjs
Correct the split view actions in the ZenKeyboardShortcuts.mjs file to ensure that the vertical and horizontal split view actions are assigned to the correct functions. This fix resolves the issue where the vertical and horizontal split view actions were swapped.