Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] URI to open note in popover mode #79

Closed
daxmonson opened this issue Sep 23, 2022 · 10 comments
Closed

[Feature Request] URI to open note in popover mode #79

daxmonson opened this issue Sep 23, 2022 · 10 comments

Comments

@daxmonson
Copy link

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.

@Vinzent03
Copy link
Owner

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?

@daxmonson
Copy link
Author

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.

@XMB-7
Copy link

XMB-7 commented Nov 8, 2022

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.

@daxmonson
Copy link
Author

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

@Vinzent03
Copy link
Owner

Available via the new openmode parameter

@daxmonson
Copy link
Author

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

@Vinzent03
Copy link
Owner

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

@XMB-7
Copy link

XMB-7 commented Nov 10, 2022

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

@daxmonson
Copy link
Author

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

@Vinzent03
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants