-
Notifications
You must be signed in to change notification settings - Fork 260
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
Scratchpad #1464
Comments
@PatrickCleary thanks for the feature request (and great design). this is something requested before. we can add this. is this something you would be interested in contributing or pairing on? if not, i am sure i can get to it at some point |
I would take a crack at it! Would you be able to share some quick context on how you'd recommend approaching? |
@PatrickCleary just wanted to say that I love the mockup! Happy to help with the backend as needed. |
I think we can put this in the sidebar for now as a new helper panel. We can add a new endpoint for run_scratch_code which runs Python with the existing global variables but does not add itself to the dependency graph. The scratch doesn't need to be reactive either. It can return the console or visual outputs via the websocket infrastructure we have - we can add new ws messages. Feel free to implement as much as you want - and then we can fill in the gaps. I really like your version history with arrow up/down too - up to you if you want to implement that in the first iteration. |
Started on this. Left one question on a draft PR and also if someone wanted to give it a quick glance to make sure I'm on the right track that would be great. |
Closed by #1821 Thanks for your help @PatrickCleary! |
Description
I find Notebooks become cluttered with non-essential code while iterating. This code is mostly from testing and checking variables.
Suggested solution
I've always felt that a scratchpad in Notebooks would solve the above issue in addition to some others. Three use cases:
Quick mockup (after making this I realized it may belong on the left side with the other tab options):
Alternative
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: