Giter Club home page Giter Club logo

jupyterlab-skip-traceback's People

Contributors

krassowski avatar mlucool avatar nishikantparmariam avatar peytondmurray avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

jupyterlab-skip-traceback's Issues

Copy/Paste Syntax Highlighting

We should include syntax highlighting for the exception traceback while copying to a rich text environment (e.g. outlook).

Extension has no effect when using Notebook v7 interface instead of JupyterLab interface

Most JupyterLab v3/v4 extensions have support for both the JupyterLab notebook interface as well as the Notebook v7 interface. (e.g. the NB v7 extensions page mentions this and also links to jupyterlab-skip-traceback in the page describing the transitioning from Classic Notebook to Notebook 7.)

However, it seems this extension does not support Notebook v7. For instance, here's the same notebook opened in the Lab interface (shows the collapse button) and then in the Notebook v7 interface (no collapse button):

Screenshot 2024-08-01 at 9 01 36 AM

Screenshot 2024-08-01 at 9 01 47 AM

Is it possible to extend this so that it works for Notebook v7 as well? Thank you for building this functionality!

Traceback color does not match Neon Theme

I use Neon Theme. I would like to use skip-traceback to experience short error messages too. But the different theme used in the add-on looks weird and uncomfortable to the eyes.

Default error view on Neon Theme:

Neon Theme default


Skip-traceback (collapsed):

Skip Tracebak (Collapsed)

  • I dislike the red color on the error background.
  • I wish the syntax coloring remained the same as the last line of traceback, i.e. something like this:

Default last line for error


Skip-traceback (expanded):

Skip Tracebak

  • The red color on the error background is unwelcome to the eyes.

JupyterLab 3.0 update

Hi, it seems that your extension is not compatible with version 3 of Jupyterlab.
Thx for your help.

Does not yet support linking to paths (JupyterLab 4.1+)

The upcoming JupyterLab 4.1 will support linking to paths. jupyterlab-skip-traceback replaces application/vnd.jupyter.error renderer it disables linking. This is because JupyterLab 4.1 defines a new renderError function which enables opening files from tracebacks but jupyterlab-skip-traceback uses the old renderText:

This will need to be swapped in a future version to support linking to paths.

Set default to collapsed

One very useful use case for the skip traceback extension is in educational settings, where verbose error traces are hidden from students unless they really want to see them.

Having to provide instructions to novice uses how to got into setting to effectively make use of the functionality of the extension is a painful overhead, eg when writing explanatory text to get students started quickly.

If an educator is in control of a student environment, eg providing a predefined containerised environment, then default settings can be modified via a configuration file, but if students are using a "found" environment into which they have installed the extension themselves, they will be presented with the uncollapsed errors by default.

Is there a particularly strong reason for not enabling the collapsed state by default, escpecially give the extension is called skip-traceback not optionally-skip-traceback?

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.