JuliaPluto / PlutoUI.jl

https://featured.plutojl.org/basic/plutoui.jl
The Unlicense
299 stars 54 forks source link

add Sidebar #257

Open aplavin opened 1 year ago

aplavin commented 1 year ago

Add a simple stateless sidebar that can be pin to either corner or to either side of the screen.

image

github-actions[bot] commented 1 year ago

Try this Pull Request!

Open Julia and type:

  julia> import Pkg
julia> Pkg.activate(temp=true)
julia> Pkg.add(url="https://github.com/aplavin/PlutoUI.jl", rev="main")
julia> using PlutoUI

Or run this code in your browser: Run with binder

aplavin commented 1 year ago

bump

fonsp commented 1 year ago

Hi @aplavin !

I'm really sorry, but I don't have the capacity to work on this PR until at least October :(

The problem is that this is quite a big feature with lots of overlap with other features. It might overlap with the live docs, Edit or Run, recently deleted cells, Ctrl+S and features we want to add in the future. A second problem is small screens, where a floating UI can take over the whole screen.

To add it to PlutoUI, i would like to find a cool solution to these problems. Maybe it needs integration into Pluto's UI directly. It's definitely useful right now in an experimental state, but PlutoUI already has a backlog of bugfixes and unfinished experimental features that I don't want to add to.

I think the best way forward is to register this as a new package! I think small packages are great, other language ecosystems use them all the time :)

Again apologies that I don't have time! Open source can be tough

aplavin commented 1 year ago

No problems, included sidebar into https://gitlab.com/aplavin/PlutoUIExtra.jl.