Skip to content

Commit

Permalink
"Close all" command refers to tabs, not widgets
Browse files Browse the repository at this point in the history
Users are unaware of the JupyterLab "widget" nomenclature (which is
also overloaded in many contexts). The other Main Area commands
currently refer to "Activate Next Tab" and "Activate Previous Tab", so
having "Close All Tabs" seems like a more natural name for the
operation.
  • Loading branch information
ivanov committed Feb 25, 2019
1 parent fd1b87f commit 2597fbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/application-extension/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ function addCommands(app: JupyterLab, palette: ICommandPalette): void {

command = CommandIDs.closeAll;
app.commands.addCommand(command, {
label: 'Close All Widgets',
label: 'Close All Tabs',
execute: () => {
app.shell.closeAll();
}
Expand Down

0 comments on commit 2597fbc

Please sign in to comment.