-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closing many notebooks at once #970
Comments
You should be able to select all the running notebooks and then click a shutdown button at the top. |
Aha, I see. You can select them on the files tab, though I think you have to act on one directory at a time. It probably makes sense for them to be selectable in the running tab too. |
Hi, I'd like to work on this! Can you direct me to the files where these changes need to be made ? |
It's either in sessionlist.js or kernellist.js - I'm a bit unsure about the distinction between those two. |
Is anyone working on this issue? If not, can I take up this issue? |
I don't think it's being worked on at the moment. @ragnerok , please let us know if you are still looking into it. |
yeah sorry I couldn't work on it. You can take it up @Axle7XStriker |
I imagine it will involve something similar to the notebook/notebook/static/tree/js/notebooklist.js Lines 871 to 880 in 25c628c
|
I am almost finished implementing the feature, just the notebook refresh part is left, running_list refresh part in particular. When I try to refresh the running_list(kernel list) a call to session_list.load_sessions is made which in turn make a call to session_list.sessions_loaded which in turn make a call to notebook_list.sessions_loaded, but the problem is if an instance of running_list(kernel list) make a call than also in the end the call is made to the instance of notebook_list and not back to the running_list. I am not able to figure out how do i fix this. Need help. notebook/notebook/static/tree/js/sessionlist.js Lines 71 to 90 in 25c628c
|
@Axle7XStriker Are you still in need of help? Or have you figured it out? |
Yes, I still need help, I had really appreciate if you can help me in this regard. |
@Axle7XStriker Sure! Have you made any progress since your last update? |
I have made some progress with regards to the issue as a whole but I haven't found any solution to the problem depicted above. |
Hey I am a first-timer looking for tasks to do too. I found this issue pretty interesting. Anything I can help with? |
That's Great. Everything about the issue is already mentioned above. Please have a look at it and ask me anything you didn't understand. |
Sorry, I don't think I will continue to work on this due to the limited time I have besides school :( I would like to pick something up in the future once I have more free time! |
Hi! I'm a beginner in open source contributions, but I'd like to try this out. Kindly let me know if anyone else is working on it or something. :) |
Yeah, this issue is being worked upon. Just one part of the issue is left which is also being worked upon. Although if you have any ideas related to the issue. I'll be glad to hear from you. |
Is it still open. If yes I want to work on it. |
Hi @ishanema1 - thank you for your interest in contributing. It looks like #4300 deserves a kick. I'll try to do that. If we find that it's been abandoned or additional help is needed, then your help would be appreciated. Please stay tuned. |
@kevin-bates, I would like to work on this issue as well!. Do let me know |
Thank you for interest in helping out @Ajay95! As I mentioned to Isha, #4300 needs to get reviewed since it's meant to address this functionality. Unfortunately, this requires a review from a maintainer knowledgable about the front-end. I'm not sure how this should move forward and is one of the reasons I opened #5360. |
Hi, can I work on this? I'm new so can someone guide me? |
@Axle7XStriker Hey. Shall I help you with this? |
Adding this issue to the 7.0 milestone. Since Notebook 7 is based on JupyterLab components, it includes a button to terminate all terminals and kernels at once like in JupyterLab: Leaving this issue open until Notebook 7 final is released. |
Taking in account that Notebook 7 adds "Shut Down All" button that shuts down all running kernels, should this issue be closed as resolved? Or does this track a request to have a button to shut down all kernels AND close respective browser tabs/windows? This might not be optimal as users usually expect to have control over individual browser windows/tabs and don't expect one browser window/tab to be closed from another tab. This can lead to data loss. |
Closing as fixed in Notebook 7 (see replies above). Don't hesitate to open a new issue if you have more feedback or want to discuss this more. Thanks! |
I'm currently taking a Data Science class at Cal Poly and I've noticed that I have many notebooks and terminals open. I thought it would be helpful to have a button that closes everything at once and pops a dialogue up to make sure of the delete, rather than clicking on every single button to shutdown the notebooks. Even though people can call, $('.btn.btn-warning.btn-xs').click(), to close all notebooks, I think it would be more intuitive to just have a button.
The text was updated successfully, but these errors were encountered: