Enhancement Checklist
Beta Version
Beta Version Tag (if applicable)
No response
Enhancement Type
Usability
Enhancement Description
I hope if we turn on the Auto hide horizontal tabs option, it can hide/show the horizontal bar based on a smarter strategy—whenever the vertical tabs pane isn't the current active tab of the sidebar it's at, OR the sidebar is collapsed—which both make the vertical tabs temporarily not accessible on the screen, it should show the horizontal tabs bar instead.
Motivation
Currently, it only re-show the hidden horizontal tabs bar when the entire sidebar is collapsed. However, there are many scenarios you don't collapse the sidebar, but instead just switch to another tab in that sidebar (for example, using the file explorer, outline, etc.). Being on the other tabs in the sidebar, without either horizontal or vertical tabs. Now you have to take one extra step whenever you'd like to go to another opened note or arrange the tabs/groups: either by collapsing the sidebar to show the horizontal tabs, or switching to the vertical tabs pane. It happens so many times a day in real world situation and makes the Auto hide horizontal tabs feature actually inconvenient and troublesome in usage.
I really like this idea of hiding the horizontal tabs bar in suitable cases (when the vertical tabs is on the screen as an alternative) to save the space for notes, and it's especially appealing on smaller screens. However, the inconvenience has made me regretfully give up this feature because in more than half of the time my sidebar's active tab isn't Vertical Tabs. I'd be great if in such cases we can have the horizontal bar automatically.
Alternatives (Optional)
Currently, I am turning this auto hide setting off, and use the following CSS snippet as a stopgap. I tried to specify the inner selector in :has() as detailed as possible to limit the subtree traversal according to this documentation. It's working and not causing significant lag (at least not perceivable). But it would be easier if the plugin javascript can insert a classname into the note tabs container, so the workspace:has wouldn't be needed and performance might be even better.
.workspace:has(
> .workspace-split.mod-sidedock > .workspace-tabs > .workspace-tab-header-container >
.workspace-tab-header-container-inner > .workspace-tab-header.is-active.obsidian-vertical-tabs-tab-header
) > .workspace-split.mod-root .workspace-tab-header-container{
display: none;
}
Additional Information (Optional)
Thank you for developing and maintaining this very helpful plugin!
Enhancement Checklist
Beta Version
Beta Version Tag (if applicable)
No response
Enhancement Type
Usability
Enhancement Description
I hope if we turn on the
Auto hide horizontal tabsoption, it can hide/show the horizontal bar based on a smarter strategy—whenever the vertical tabs pane isn't the current active tab of the sidebar it's at, OR the sidebar is collapsed—which both make the vertical tabs temporarily not accessible on the screen, it should show the horizontal tabs bar instead.Motivation
Currently, it only re-show the hidden horizontal tabs bar when the entire sidebar is collapsed. However, there are many scenarios you don't collapse the sidebar, but instead just switch to another tab in that sidebar (for example, using the file explorer, outline, etc.). Being on the other tabs in the sidebar, without either horizontal or vertical tabs. Now you have to take one extra step whenever you'd like to go to another opened note or arrange the tabs/groups: either by collapsing the sidebar to show the horizontal tabs, or switching to the vertical tabs pane. It happens so many times a day in real world situation and makes the
Auto hide horizontal tabsfeature actually inconvenient and troublesome in usage.I really like this idea of hiding the horizontal tabs bar in suitable cases (when the vertical tabs is on the screen as an alternative) to save the space for notes, and it's especially appealing on smaller screens. However, the inconvenience has made me regretfully give up this feature because in more than half of the time my sidebar's active tab isn't Vertical Tabs. I'd be great if in such cases we can have the horizontal bar automatically.
Alternatives (Optional)
Currently, I am turning this auto hide setting off, and use the following CSS snippet as a stopgap. I tried to specify the inner selector in
:has()as detailed as possible to limit the subtree traversal according to this documentation. It's working and not causing significant lag (at least not perceivable). But it would be easier if the plugin javascript can insert a classname into the note tabs container, so theworkspace:haswouldn't be needed and performance might be even better.Additional Information (Optional)
Thank you for developing and maintaining this very helpful plugin!