From b300696ef7fcabd5799d4247dc6281572ca26038 Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Sat, 24 Oct 2015 10:57:47 -0700 Subject: [PATCH] Reminder of where the celltoolbar menu is The UI has changed since 4.0 so 4.1 need to tell that to users. --- notebook/static/notebook/js/maintoolbar.js | 26 +++++++++++++++++++++- notebook/static/notebook/less/toolbar.less | 7 ++++++ 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/notebook/static/notebook/js/maintoolbar.js b/notebook/static/notebook/js/maintoolbar.js index 49b539b28..9661e2bd1 100644 --- a/notebook/static/notebook/js/maintoolbar.js +++ b/notebook/static/notebook/js/maintoolbar.js @@ -55,10 +55,34 @@ define([ ], 'run_int'], [''], - [['jupyter-notebook:show-command-palette']] + [['jupyter-notebook:show-command-palette']], + [''] ]; this.construct(grps); }; + + MainToolBar.prototype._pseudo_actions = {}; + + + // reminder of where the celltoolbar new menu is, remove for 5.0 + MainToolBar.prototype._pseudo_actions.add_celltoolbar_reminder = function () { + var _b = $('