obsidian-advanced-uri icon indicating copy to clipboard operation
obsidian-advanced-uri copied to clipboard

[Feature Request] URI to open note in popover mode

Open daxmonson opened this issue 3 years ago • 2 comments

While inline in one note, it would be helpful to be able to use an advanced URI to call up another note via IOS shortcut by voice etc so that it pops up over the top of current note. This way you could stay in the flow of the original note and not have to do a bunch of navigating.

daxmonson avatar Sep 23 '22 16:09 daxmonson

Does obsidian have such popover mode? So do you want me to open a file in a popover or to craft the popover mode itself as well?

Vinzent03 avatar Sep 26 '22 10:09 Vinzent03

Yep, it's the page preview in the core plugins, triggered by cmd and hovering the cursor over a link. I think if there was a way to call up a note to display this way via URI there wouldn't be a need to craft it. If possible, it would be a very welcomed addition. Thanks for considering it.

daxmonson avatar Sep 26 '22 17:09 daxmonson

There is a beta plugin called Hover Editor which provides such a popover mode feature, but not sure if easy to collaborate with it. BTW, highly recommended trying Hover Editor, it is the one could enhance people's workflow.

XMB-7 avatar Nov 08 '22 14:11 XMB-7

That’s right. Using hover editor frequently here (it’s actually not beta anymore). Interoperability between the two would be welcome to see.

daxmonson avatar Nov 08 '22 16:11 daxmonson

Available via the new openmode parameter

Vinzent03 avatar Nov 08 '22 22:11 Vinzent03

Thanks for implementing this, I just bought you a coffee.

I've got a vault "Ipad" and a note "say something" which I'm able to call up and open with an advanced URI. I've looked at the schema for popups and have tried to use different syntax to pull it up in popover, but haven't been able to yet (have hover editor installed). Maybe time for me to go by myself a coffee.

obsidian://advanced-uri?vault=IPad%20Vault&filepath=Say%2520something=openmode=popover.md

Possible to write the line correctly in advanced URI schema? Thanks

daxmonson avatar Nov 09 '22 17:11 daxmonson

Thank you! The .md corresponds to the filepath parameter and not to the end.

Vinzent03 avatar Nov 09 '22 20:11 Vinzent03

I guess the correct one is obsidian://advanced-uri?vault=Ipad&filepath=say%20something&openmode=popover.

XMB-7 avatar Nov 10 '22 03:11 XMB-7

Hmm, I'd actually tried that yesterday too as a variation after Vincent's comment. It does open Obsidian and to that note, but not in Hover mode. I thought it might have something to do with running the URI from Siri shortcuts, but placing the URI in the Safari address bar on iOS or OSX also just opens the Obsidian note like regular advanced URI. Maybe another plugin or setting is interfering. Will update this when I sort out what's happening. Thanks

daxmonson avatar Nov 10 '22 18:11 daxmonson

@daxmonson Oh I'm sorry I just found a bug in the implementation. Fixed in 1.29.2.

Vinzent03 avatar Nov 10 '22 18:11 Vinzent03