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

FR: Page preview support #17

Open
greetclammy opened this issue Oct 29, 2024 · 2 comments
Open

FR: Page preview support #17

greetclammy opened this issue Oct 29, 2024 · 2 comments

Comments

@greetclammy
Copy link

greetclammy commented Oct 29, 2024

If it's technically feasible, one should be able to bring up a page preview while hovering over a card, just as one is currently able to in native menus.
Screen Shot 2024-10-30 at 02 56 37

@tu2-atmanand
Copy link

tu2-atmanand commented Nov 22, 2024

I was about to create a new PR, but since something related to that is already here, I would like to explain what I felt regarding the current user interactions for the cards.

Following things will give a better user experience

Learning drawio

  • At present, if the user clicks anywhere inside the card, other than the pin or delete button, it opens the note. Personally, this is a little annoying, since even a false click opens the note. This can be improved by using a double click instead of a single click to open the note.
  • From the above image, if there are internal links, one click should open those notes in a new tab. Also, hoverPopover should work for them as usual in the normal notes, also explained by @greetclammy in this original issue above.
  • Now, to get a hoverPopover for the parent note (that is the note whose card has been displayed), the user can hold CTRL key and place the cursor anywhere inside this card to see the popover for the note.
  • As shown in the above image, if the user clicks on the folder icon, then that should apply the folder filter in the search bar, so the user can see only the notes from that specific folder, as explained further in this issue : FR: Folder Note 2.0 #15

Notes

  • False Clicks means, when user in on their touchpad and while moving their finger there can be a click, also sometimes happens on mouse. This is a UI methodology, you can learn more about it on web.
  • For the third request, hoverPopover for the parent note, this needs some discussion, because, there are more internal links inside the card as well, linking to other notes, so to get the hoverPopover for these notes, the user will Hold the CTRL key and try to move the cursor on those links, but while doing this, will also trigger the hoverPopover for the parent file, so, the best I can think of right now is to open the hoverPopover for the parent note, only when the user will move the cursor on the file name or the header, if we implement the header from Header for cards and suggestions for aesthetic look #24

@tu2-atmanand
Copy link

tu2-atmanand commented Nov 22, 2024

BTW, I wasn't a big fan of the hover popover, even after Obsidian has integrated a game changing feature, wherein we can now directly edit the notes from the popover. But from the moment I have come across the Hover Editor plugin, I am in love with this functionality. I always liked floating windows, and the features this plugin provides, like pinning the popover, moving wherever you want and resizing, these are the things which makes me use Obsidian even more. Hence also wants this hoverPopover feature in Card View as well.

  • But ensure that, the plugin has been developed by using some work around, like without the official APIs of Obsidian, for the editor and all. But I wonder why obsidian couldn't integrate such features, like, there should have been some workflow, wherein, Obsidian team could be able to merge a plugin as a core functionality.

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

2 participants