-
-
Notifications
You must be signed in to change notification settings - Fork 294
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
[Feature Request] Double click to edit cell #210
Comments
Suggestions are hard to answer objectively, so here are some wavy thoughts: Clicking cell output used to be the way to fold/unfold a cell (before
Double clicking the cell shoulder (the thing left of a cell) could work, although this is also mixing up UI concepts: the click shoulder would be both a click handler and a drag handler. (Although you see that more often in UI) |
Thanks for your reply! To me, your point about double-clicking a button is the strongest one. What about triggering the unfold-action only when clicking a cell away from its interactive bindings. E.g., assume you have a cell with a slider, a button, and a text-box to write in. Double-clicking any of these elements uses the current behavior. But double-clicking somewhere else in the cell unfolds the code for you to edit it. This does not solve the [double-click to select] issue, but I think that's OK because once unfolded, then you can double-click that text again inside the unfolded code. And it does make the notebook "feel fragile", but I guess I would be OK to trade this fragility for more productivity! |
What are your thoughts about double clicking the cell shoulder? |
To be honest, I don't know... I guess I'd have to try it to see how it feels? But my (uneducated) intuition is that most Pluto users will come with a mostly-Jupyter experience, and expect some of the interface (and muscle-memory) to work in both frameworks? |
Jupyter has double clicking the cell shoulder to fold/unfold cell output, so it is actually quite close. It sounds like the underlying issue here is that it takes too long to toggle folding a cell. Other solutions are a keyboard shortcut and making the click area of the 👁 button larger. |
I have moved this to the suggestion box 🐹 |
It would be very nice if double-clicking a cell unfolded its code for editing (as is done by Jupyter). No idea how hard it is to implement, but this would reduce the number of clicks and improve productivity when creating content IMHO.
The text was updated successfully, but these errors were encountered: