Closed Richard-Woessner closed 5 days ago
src/browser/components/preferences/zen-settings.js (1)
`624-624`: **Setting defaultExpandPref is correct, but pausedForExpandPref needs handling.** The logic to set `defaultExpandPref` to false when hover mode is enabled is correct. However, as noted in a previous review, the new `pausedForExpandPref` should also be reset when changing the expand strategy.
Any chance of an animation when it is sliding back in? I remember a PR for that a while back but seems like it got closed..
Ya I messed up this pr so it closed so it hasn't been merged yet
Thanks a lot!
…nd/collapse behavior
Preferences:
zen.view.sidebar-expanded.on-hover.paused-for-expand
to manage the paused state of the sidebar hover functionality.zen.view.sidebar-expanded.on-hover
preference handling to ensure proper behavior when toggling the sidebar.ZenUIManager.mjs:
_updateOnHoverVerticalTabs
method to handle the expanded state and remove hover attributes when the sidebar is expanded._updateEvent
method to check and handle the expanded state of the sidebar, and to open or close the sidebar accordingly.openSidebar
andcloseSidebar
methods to manage the sidebar's expanded state and related attributes.toggleExpand
method to handle the newpaused-for-expand
preference and ensure proper toggling of the sidebar's expanded state.zen-settings.js:
setCompactModeStyle
method to handle the newpaused-for-expand
preference.paused-for-expand
preference is reset when the sidebar expand strategy is changed.zen-browser.js:
zen.view.sidebar-expanded.on-hover.paused-for-expand
with a default value offalse
.Submodule Updates:
l10n
submodule to the latest commitdd93803b84f398834049a3f650536fbdbd14cbca
.zen-components
submodule to the latest commitd853fa8de4167dfd4d1289f4f15792a698c738c3-dirty
.Miscellaneous:
ZenUIManager.mjs
.ZenUIManager.mjs
.ISSUE: #2156
Summary by CodeRabbit
New Features
Bug Fixes
Refactor