[assist] Remove the assistant from the Hue 3 context panel
@@ -546,10 +546,7 @@ from notebook.conf import ENABLE_QUERY_BUILDER, ENABLE_QUERY_SCHEDULING, ENABLE_
<div class="context-panel" data-bind="css: {'visible': isContextPanelVisible}" style="${ 'height: 100%' if not is_embeddable else '' }">
<ul class="nav nav-tabs">
- % if has_optimizer():
- <li class="active"><a href="#assistantTab" data-toggle="tab">${_('Assistant')}</a></li>
- % endif
- <li class="${ 'active' if not has_optimizer() else '' }"><a href="#sessionsTab" data-toggle="tab">${_('Sessions')}</a></li>
+ <li class="active"><a href="#sessionsTab" data-toggle="tab">${_('Sessions')}</a></li>
% if ENABLE_QUERY_SCHEDULING.get():
<!-- ko if: $root.selectedNotebook() && $root.selectedNotebook().isBatchable() -->
<li><a href="#scheduleTab" data-toggle="tab">${_('Schedule')}</a></li>
@@ -558,19 +555,8 @@ from notebook.conf import ENABLE_QUERY_BUILDER, ENABLE_QUERY_SCHEDULING, ENABLE_
</ul>
<div class="tab-content" style="border: none">
- % if has_optimizer():
- <div class="tab-pane ${ 'active' if has_optimizer() else '' }" id="assistantTab">
- <div class="span12">
- <form class="form-horizontal">
- <fieldset>
- <div data-bind="component: { name: 'assistant-panel' }"></div>
- </fieldset>
- </form>
- </div>
- </div>
- % endif
- <div class="tab-pane ${ 'active' if not has_optimizer() else '' }" id="sessionsTab">
+ <div class="tab-pane active" id="sessionsTab">
<div class="row-fluid">
<div class="span12" data-bind="template: { name: 'notebook-session-config-template', data: $root }"></div>
</div>
