Giter Site home page Giter Site logo

deshaw / jupyterlab-skip-traceback Goto Github PK

View Code? Open in Web Editor NEW
24.0 24.0 8.0 531 KB

Render collapsible JupyterLab errors with copy-paste functionality

License: BSD 3-Clause "New" or "Revised" License

TypeScript 54.09% CSS 7.12% Jupyter Notebook 24.24% JavaScript 0.17% Python 13.86% Shell 0.52%

jupyterlab-skip-traceback's People

Contributors

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

Watchers

 avatar  avatar

jupyterlab-skip-traceback's Issues

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.

Copy/Paste Syntax Highlighting

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

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?

JupyterLab 3.0 update

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

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.