Comments (6)
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.
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.
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.
Here is a work-in-progress PR to ipywidgets implementing the start of what I was thinking: jupyter-widgets/ipywidgets#1862
from appmode.
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.
Sounds good. I'm also pursuing this idea as I have time.
from appmode.
Related Issues (20)
- tmp copies deletion failed HOT 1
- How to initiate appmode from terminal? HOT 1
- How to hide the tree of an ipywidgets application with appmode? HOT 2
- Any plan to support jupyterlab? HOT 7
- How can I pause the execution of the rest of the notebook until a form is completed? HOT 8
- 404 Page not found error - AWS Sagemaker HOT 3
- Temp notebook copies and kernels never removed HOT 17
- Replaceable gears? HOT 4
- 404 Not Found Error after clicking "Appmode" button HOT 8
- 404 Error When Automatically Triggering Appmode HOT 3
- Appmode button doesn't show up in Jupyter notebook HOT 1
- How could I keep the same kernel when I lanch the appmode HOT 1
- Is it possible to autostart in appmode? HOT 1
- Unable to view the appmode button on google colab HOT 2
- command line startup HOT 1
- Disable buttons and allow only Appmode HOT 1
- Permission issue HOT 1
- HTTP 400 : Bad Request HOT 16
- Setting a default kernel for appmode? HOT 1
- Got unstable kernel when appmode installed HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appmode.