Git Product home page Git Product logo

Comments (1)

kenjioman avatar kenjioman commented on July 16, 2024 1

Related to this -- if all tags are removed while a tag-based filter is in place, some kind of a dialog should be available to clear the filter. Currently, toggling the tags button just show there are no tags available, with none of the document structure visible.

Steps to reproduce:

  1. Add a tag to a cell for a tag-free notebook (no other tags in any of the cells for the notebook)
  2. Toggle filtering on that tag (so, only that cell will show up in the TOC)
  3. Remove the tag on the cell

Now, we don't see anything in the TOC, and there is no indication that tag-based filtering is taking place. I didn't try testing this to see if closing/ re-opening the notebook would clear this, but in any case, there would ideally be an indicator to notify the unsuspecting user that tag-based filtering is in place, but there are currently no tags, so users can be given the option to clear the active filter.

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.