-
Notifications
You must be signed in to change notification settings - Fork 209
Startup Notebook in Dashboard view? #279
Comments
The 3rd dashboard icon in the toolbar is for the Dashboard Preview. This shows the dashboard with minimal UI. Notice that this also changes the URL -- loading to that URL directly will automatically switch to this preview view. However, the user will still have to select Cell > Run All, at least. You could also do something along these lines, with the above solution. But this should be considered a hack. The best solution is to use the Dashboards Server, which is specifically built for this purpose. You would deploy your notebook using the Dashboards extension (this project) and users would run it in the Dashboards Server: clean UI, cells are automatically run and comes with enhanced security. |
A bit more background: Running a notebook automatically on open breaks the security model which prevents malicious notebook code from running without a chance of user review first. |
Thank you for the information and the security model reminder. I am now considering a custom widget button that would somehow execute restart & run all and then switch to dashboard preview. Does this seem feasible? Or even perhaps customize the dashboard toolbar to include such a button? At that point, it is just a single click for the user. EDIT: we do use the dashboard server, however, I want to keep the ability to directly change the notebook on demand when needed without having to re-deploy it to the dashboard server. |
Sorry for the delayed response.
Adding a button, menu item, or command palette option to "Run All as Dashboard" or some such should be feasible. Making it a drop down option of the Dashboard Preview button might be another way to do it without a wholly new button on the toolbar. If you take a pass at implementing it as an addition to to this extension, please feel free to submit a PR. We can iterate on how to get it in. |
Hi guys, I there any update on this. |
Anyone with an interest in this topic should check out https://github.com/oschuett/appmode. |
Hello,
Is there a way to make the notebook startup in dashboard view? Or perhaps, default to dashboard view during a restart?
Right now, a user needs to restart and run all, the switch to dashboard view to see the outputs, widgets, input fields etc... It would be nice if the user could just open a notebook and have that view readlily there for them without the initial extra clicks...
Warm Regards,
-Randy
The text was updated successfully, but these errors were encountered: