jupyter / jupyter/notebook

Output, scrolling, collapsed and UI

Open
#807 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
13.3k
Forks
5.8k
Avg merge
6d 11h
Merged PRs (30d)
7

Description

[marking as 5.0]

I find the "toggle" output/toggle scroll UI confusing, especially with multiple selection.
if I have 1 cell collapsed, 1 cell not collapsed and both selected I do not want to "toggle". Even with 1 cell, I do not want to toggle.

Proposal change the
- Toggle
- Toggle scrolled

To the following:
- Expand
- Scroll
- Collapse

It has the nice advantage of being stateless with respect to the current state of the notebook, and we can still have a "smart" toggle that: (collapsed->scrolled->expanded), other direction, or cycle.

Could apply to **input** as well.

@ellisonbg, @fperez ?

Contributor guide

Open the contributing guide

Research direction

Start by locating the notebook output controls described in the issue and review how selection, collapsed state, and scrolled state are handled. The work is done when separate Expand, Scroll, and Collapse actions behave predictably for multiple selected cells, with any corresponding input behavior addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.