Skip to content

Auto hide horizontal tabs only when vertical sidebar is active and visible #206

@lethefrost

Description

@lethefrost

Enhancement Checklist

  • I have searched existing issues and this is not a duplicate
  • I am reporting a simple enhancement or improvement within Vertical Tabs, not requesting new features or addressing compatibility issues with other plugins
  • I understand that proposals for new features should be discussed in the ‘Discussions’ tab
  • I understand that compatibility issues with other plugins should be posted as a 'Compatibility' issue

Beta Version

  • I am using a beta version of Vertical Tabs

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)

No response

Additional Information (Optional)

Thank you for developing and maintaining this very helpful plugin!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions