codepod icon indicating copy to clipboard operation
codepod copied to clipboard

Scopes should be like bubbles, automatically expanding as members are added

Open forrestbao opened this issue 2 years ago • 0 comments

Currently, a scope is visualized as a large box, even when it is empty. This is not good. It takes too much space. Manual enlargement is needed when it members grow into too many. And vise versa for manual shrinkage when removing a member.

So I suggest let a scope be initially a small round-cornered rectangle. A member, which can be either a code cell or a scope, can be added into the scope by drag-and-drop. After drag-and-drop, the scope should expand itself to slightly but tightly fit the member(s).

forrestbao avatar Dec 15 '22 04:12 forrestbao