You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notebook controls with special LiveStore events for bulk actions (#600)
Depends on #657
Added controls (new LiveStore events behind a feature flag):
- Run all cells
- Restart and run all cells (placeholder for now, shows toast)
- Stop all cells
- Clear all outputs
- Delete all cells
Commits:
* WIP
* WIP first pass dropdown menu
* Move hide AI cells button
* Add toasts for stopping cells
* Implement hide AI cells
* Show badge if cells running or AI cells are hidden
* Use standard function for generating a queue id
* Fix stop all cells
* Do filtering on sqlite side
* Show message if user adds AI cell if AI cells are hidden
* Add warning if hiding AI cells
* Use a single event for running all cells
* Use single event for clearing all outputs and stopping execution
* Update queue id generation to resist collisions better
* Rename stop to cancel
* Cancel all without arguments
* Use past tense
* Clear all with almost no arguments
* Update toast
* Don't return ops
* Fix getting cells
* Remove unused
* Move runnableCellsWithIndices$
* Remove hide AI cells NB control
* Change menu titles
* Fix type error
* Show live running status
* Remove badge
* merge: main to nb-controls-2
* Put bulk nb controls behind a feature flag
* Remove unused
* Move new queries into one place
* Add extra checks
* Undo schema change
* Remove unimportant changes
Copy file name to clipboardExpand all lines: src/contexts/FeatureFlagContext.tsx
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@ export interface FeatureFlags {
6
6
"test-flag": boolean;
7
7
"ipynb-export": boolean;
8
8
"file-upload": boolean;
9
+
/** Whether to enable the notebook controls */
10
+
"bulk-notebook-controls": boolean;
9
11
/** Show AI capabilities in the AI cell dropdown. We'd enable this by default if we support vision or allow choosing models that don't have tool support. */
0 commit comments