decaf-dev / obsidian-vault-explorer

Explore your Obsidian vault in visual format
https://vaultexplorer.com
MIT License
111 stars 4 forks source link

Pin Vault Explorer #313

Closed a-rock-lobster closed 2 months ago

a-rock-lobster commented 3 months ago

Doesn't currently seem to be possible to pin the Vault Explorer tab. Might be a nice addition.

XU-Nuo commented 2 months ago

I think you can combine it with the homepage plugin with custom command to get similar result. image

a-rock-lobster commented 2 months ago

Hmm, thanks for the suggestion but I couldn't get it to work. Perhaps there is a conflict going on with another addon that effects tabs.

decaf-dev commented 2 months ago

@a-rock-lobster I didn't know pinning tabs was a thing. I will look into this.

a-rock-lobster commented 2 months ago
Screenshot 2024-09-10 at 14 21 27

I added a little css snippet to make pinned tabs smaller like firefox. Good space saver. But for some reason the option isn't in the contextual menu for Vault Explorer.

decaf-dev commented 2 months ago

@a-rock-lobster So I did some investigation yesterday and, I think this might be a limitation of the ItemView in Obsidian. If you know any plugins that have a pinnable view, let me know and I will check our their code.

a-rock-lobster commented 2 months ago

The Kanban plugin springs to mind. Otherwise I will keep my eye out and report back.

decaf-dev commented 2 months ago

I just got a response from Liam on the forums. Apparently there's a navigation flag for the View class that can be set to true.

On Tue, Sep 10, 2024 at 3:35 PM a-rock-lobster @.***> wrote:

The Kanban plugin https://github.com/mgmeyers/obsidian-kanban springs to mind. Otherwise I will keep my eye out and report back.

— Reply to this email directly, view it on GitHub https://github.com/decaf-dev/obsidian-vault-explorer/issues/313#issuecomment-2342050887, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJTQYW4ZUJC4W7RIG7HI56LZV5Q2ZAVCNFSM6AAAAABMN2U4MGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBSGA2TAOBYG4 . You are receiving this because you commented.Message ID: @.***>

decaf-dev commented 2 months ago

@a-rock-lobster Added in 1.44.0. Enjoy :)

a-rock-lobster commented 2 months ago

Hey, thanks. Can report it works well. Cheers, again!