Richardsl / heatmap-calendar-obsidian

An Obsidian plugin for displaying data in a calendar similar to the github activity calendar
Apache License 2.0
614 stars 102 forks source link

[Feature Request] Hover preview text content #106

Open itodevio opened 8 months ago

itodevio commented 8 months ago

Would be really nice to be able to see the cell's content with a hover preview (like for a page link, but just the content prop in the cell, it being a simple string or something like that)

For example:

image

I make a note on my exercises, expanses and book readings for the day in the same note (a regular daily note), and I'd like to see my exercise routine in a given day by hovering it (would be written down on the content), check the value I spent on the day by hovering etc

lksrpp commented 7 months ago

You can do this already. Have a look at the readme again, it’s described how you can edit the content so that a hover window is shown.

itodevio commented 7 months ago

You can do this already. Have a look at the readme again, it’s described how you can edit the content so that a hover window is shown.

Maybe I'm not seeing it xD All I found was the await dv.span('[](${page.file.name})') but that shows the preview for the whole page, all I want is a custom preview, where I can set content: "some random text" and preview some random text in a popup when hover, is that documented anywhere? If so, I wasn't able to find

lksrpp commented 7 months ago

Oh sorry, I misunderstood what you were trying to do. No this is not implemented as far as I know.

jlar0che commented 6 months ago

Any guidance on how this could be implemented?