nothingislost/obsidian-hover-editor

FR: Add native workspace support for popovers (serialize/deserialize)

FelipeRearden opened this issue · 4 comments

Hello @nothingislost !!!!!!!!

I'm having such a great time using this new feature that I can't live without anymore :)

I'm building workflows and there is one thing that I miss ....

Would be amazing if we could "save" the popover notes using the Workspaces Core Plugin and/or your amazing Workspaces-Plus plugin.

  • would be amazing to have my popover notes back when loading a workspace :)

Thanks for reading this !!!!!

Have a great day!!!!

pjeby commented

With Obsidian 0.15+, it's now possible to drag popovers out to the desktop (or use the "move to new window" command), creating secondary Obsidian windows that are saved with the workspace. I'm leaving this issue open since we may still want to support this, but there is now a feasible alternative using the latest version of Obsidian.

Hello @pjeby

If you don't mind, I just wanna share some thoughts about the difference between the Secondary Windows (SE) and HE applied to Workspaces enviroments for users with multi-disciplinary purposes:

HE has some amazing features that are different form SE:

1️⃣ Minimize a HE WITH KEYBOARD HOTKEY→ I can have HE almost hidden in my screen.

QuickAdd Macro command to Minimize HE (toggle) and send the focus to the last active Note.

2️⃣ Fighting with Switching to Another Apps → ALT+TAB

Since it's inside the active window I don't have to use ALT+TAB to switch between other apps in my OS just to open another Obsidian window.

3️⃣ Multiple Notes inside only one HE window

HE is so amazing that lets us have many notes inside the same HE window. THis is amazing when dealing with complex workflows.

Because we can have all tools (Notes, Kanban, Tasks, Tables, Images ...) inside a single HE that can be minimized when needed.

4️⃣ Mobile Support + Single Monitor Users

a) HE supports Mobile for iPad users 🙏

b) Many users only can afford a single monitor and this way can't have many Obsidian windows open. HE helps to solve this problem :)


As someone who relies a lot on Workspaces and HE to use Obsidian, I can humbly say that would be a fantastic feature for HE to support workspaces:

  • Save HE windows;
  • Save HE spacial position windows in the screen;
  • Save HE status (minimized, snap to right, snap to left and full screen)

I know that you already know all the things that I wrote above. My intention with this comment was just to share with you and @nothingislost how this feature is important to me.

Every time that I have to switch from Workspace A to Workspace B, I have to mount and dismount my HE windowns for each different workflow

pjeby commented

I'm kind of surprised by some of your comments, because:

  • You can minimize secondary windows to your OS task bar
  • Pane Relief has keyboard commands for next/previous secondary window as well as commands for going to specific secondary windows (that you can assign to number or other keys)
  • You can have multiple notes in secondary windows - they split panes just like HE does
  • You can tell secondary windows to stay "always on top", floating above your main windows a bit like HE's do -- no need for multiple monitors
  • Secondary window sizes and positions are saved with the workspace

But as I said above, I was leaving the issue open anyway. I just wanted to let any watchers on the issue know that they can effectively get "permanent popups" using secondary windows now, at least on desktop.

Secondary windows also have another advantage for desktop, which is that if you want some "permanent" ones their window numbers don't have to change, which means you can assign them to hotkeys with Pane Relief, and they don't become part of the within-window pane rotation as hover editors do. Even when/if there is an ability to save HEs to the workspace, this particular advantage will remain exclusive to secondary windows.

For me personally, the main question about implementing workspace-save for HEs is how to also allow HEs to cross workspace boundaries. Currently, HEs in the main area remain open when you switch workspaces, allowing you to move panes between workspaces by converting to hover editor, change workspaces, and dock. They also let you carry work temporarily between workspaces. If HEs were always tied to the workspace, these workflows would become impossible.

So I think that actually implementing this would need a per-HE state for "keep with the workspace" vs "free floating", with a way to toggle it off or on, and a default setting for new popovers.

"3️⃣ Multiple Notes inside only one HE window
HE is so amazing that lets us have many notes inside the same HE window. THis is amazing when dealing with complex workflows."

That's my main use case on mobile too. Searched but it didn't catch the redundant request here. Thanks for the merge and drawing attention here. Not sure how hard it would be for HE to do this, but would be great for those with many complex workspaces.