GithubHelp home page GithubHelp logo

Comments (6)

oschuett avatar oschuett commented on July 23, 2024

Hi Jason, sorry for the late reply.

we could use the new JupyterLab output area component

Unfortunately, I haven't managed to tinker with your web3 example, yet.

I do agree that monkey patching the CSS is not very elegant. On the other hand it makes Appmode pretty lightweight (<300LoC) and the classic notebook seems to be fairly stable. Then again, I would also like to add JupyterLab support and I suppose the output component would be the way to go, right?

but the 'app mode' is confined to specially-marked cells.

What use cases do you have in mind for this? Comments and debugging stuff can already be hidden in code cells. Generally, I'd be afraid that this causes confusion among users because metadata is pretty invisible to them. Hence, I would like to keep the current behavior as a default in any case.

from appmode.

oschuett avatar oschuett commented on July 23, 2024

Dear @jasongrout,

I've been thinking a bit more about how to move forward on your proposal...

AFAIK, the @jupyterlab/services are not available in the classic notebook. Hence, for those users I'll have to keep the currently implementation of Appmode, right?

However, I would also like to see Appmode in JupyterLab. Again, I find it very important that users can easily switch between the two views. Therefore, I did a bit of reading on notebook extensions. Unfortunately, it's not clear to me how I could implement Appmode within that framework. Maybe you could give me some hints?

from appmode.

jasongrout avatar jasongrout commented on July 23, 2024

First, I think what you've done is great, and fills a need in the community - thanks again!

Second, I think maybe I wasn't clear enough in my explanation. What I'm proposing is an entirely new (but simple) webapp, served from a new server extension, based on the ipywidgets web3 example, which doesn't use the classic notebook javascript code at all, and also is not an extension in jupyterlab. Basically, take the current web3 example, and add something which fetches a given notebook, parses it for code cells, executes the code, and displays the results.

I'll try to find some time soon-ish to experiment with actually coding something, rather than just talking about it - or I'm happy to discuss if someone else wants to experiment with coding it up.

from appmode.

jasongrout avatar jasongrout commented on July 23, 2024

Here is a work-in-progress PR to ipywidgets implementing the start of what I was thinking: jupyter-widgets/ipywidgets#1862

from appmode.

oschuett avatar oschuett commented on July 23, 2024

I'm going to close this issue. I think, for the time being Appmode is filling a niche. In the meantime the greater discussion about dashboarding continues here. Thanks @jasongrout for driving this forward!

from appmode.

jasongrout avatar jasongrout commented on July 23, 2024

Sounds good. I'm also pursuing this idea as I have time.

from appmode.

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.