Code Monkey home page Code Monkey logo

Comments (2)

ian-r-rose avatar ian-r-rose commented on June 12, 2024

Hi @t-makaro, there is currently work ongoing in JupyterLab for both reducing the space that the side area tabs take up, and docking them on the left/right areas as the user desires.

I am a little reticent to have the TOC appear/disappear depending on whether a document it understands is active. I think the sudden disappearance and reappearance of the "Cell Tools" tab is kind of busy and confusing. Do you think the reduced crowding from the above changes would be a good enough way to address the problem?

from jupyterlab-toc.

t-makaro avatar t-makaro commented on June 12, 2024

I personally think that the user should have the option to set a sidebar tab visibility to true, false or auto. The cell tools tab doesn't make sense to have if a user is never (or rarely) working with notebooks. I don't think it's unusual for programs to be adaptive in this manner. (Like how in MS word, certain tabs on the ribbon only appear if you're clicked on a table or a image, which is fairly similar to only having cell tools available with notebooks. Though maybe ToC doesn't fit this manner as well)

Personally, I'd move tabs that are document dependent to the right side bar and leave the main ones on the left side bar. This way the right side bar adapts, but the left is constant. Granted a tab disappearing while is it open would be weird. I think having tabs available that aren't relevant to any open documents can also be confusing to a user. (People may feel like "why isn't this working?" or "what does this ever do?" especially new users)

All that said, being able to move stuff to the right side would go most of the way to making me happy. Though (hopefully) ToC wouldn't have to make adaptive appearance the default behaviour. I suppose that adaptive sidebar tabs is something that needs more discussion in general.

from jupyterlab-toc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.