-
Notifications
You must be signed in to change notification settings - Fork 56
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
A collapsible Sidebar (similar to TableOfContents) #102
base: main
Are you sure you want to change the base?
Conversation
Another minor thing is that |
Very cool! Let's call sometime to discuss? I have some ideas :) |
@fonsp Definitely, I've sent you an e-mail. 😃 |
Is this still a in play or has it be subsumed by other functionality? It kind of reminds me of similar sidebar functionality in MATLAB: or something similar in Scribble (Racket's documentation DSL). |
Any development of this functionality? It would be very useful in some circumstances (my use case: it would be an input panel, always displayed, for variables used by many cells in the notebook). |
Thanks, @schneiderfelipe . Good news it is functional! I am not able to develop it, but I can surely use the code in my notebooks. |
This adds a simple
Sidebar
object, much likeTableOfContents
(the sidebar stays to the left to avoid conflicting with the table of contents). Much of the code was based onTableOfContents
.I was inspired by the sidebar from streamlit (an example here).
@fonsp Do you think this is a fit for PlutoUI.jl?
You see from the GIF above that there are still issues, such as 1. the sidebar not knowing the cell order (content is added to the sidebar as they are created) and 2. output on the sidebar doesn't get updated as it should. Feedback is welcome. 🙂🎈