panel icon indicating copy to clipboard operation
panel copied to clipboard

`pn.Overlay()` layout

Open ahuang11 opened this issue 2 years ago • 3 comments

I was randomly looking at the Discourse icons, and I wonder if we can have a pn.Overlay() to overlay icons over existing widgets? image

I imagine having a set of presets, like location to overlay, e.g. top_left, top_right, center, etc, which makes the CSS position sticky or something.

Maybe similar implementation as pn.Swipe. https://panel.holoviz.org/reference/layouts/Swipe.html

ahuang11 avatar Dec 21 '23 23:12 ahuang11

I don't think I like the idea of pn.Overlay very much but do want to support this use case. Will have to work if there are alternative approaches.

philippjfr avatar Dec 26 '23 16:12 philippjfr

Related: https://github.com/holoviz/panel/issues/5086

ahuang11 avatar Dec 26 '23 16:12 ahuang11

Here's another example of pn.Overlay from https://github.com/holoviz/geoviews/issues/720

image

ahuang11 avatar Sep 18 '24 23:09 ahuang11

Mr. @ahuang11 this screenshot comes from a tool I created called MSC AniMet, my point was WMS services allow for dynamic wind barbs and I wondered if a Holoviews/Geoviews VectorField can provide a Dynamic Wind Barbs Overlay.

itsgifnotjiff avatar Dec 20 '24 00:12 itsgifnotjiff

The ability to overlay "copy", "maximize", "download" etc. icon buttons is very much a missed feature. Could also be context menu.

MarcSkovMadsen avatar Dec 20 '24 07:12 MarcSkovMadsen