Skip to content

Commit b22302f

Browse files
author
minjk-bl
committed
disable merge, reshape
1 parent c42f3d6 commit b22302f

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

src/api_block/constData.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -813,16 +813,17 @@ define([
813813
},
814814
'merge': {
815815
label: 'Merge',
816+
tooltip: 'Work In Progress', // FIXME:
816817
file: 'nbextensions/visualpython/src/common/vpMerge',
817818
icon: '/nbextensions/visualpython/resource/apps/apps_merge.svg',
818-
color: 3,
819+
color: 0,
819820
},
820821
'reshape': {
821822
label: 'Reshape',
822-
tooltip: 'Pivot & Melt',
823+
tooltip: 'Work In Progress', // FIXME: 'Pivot & Melt',
823824
file: 'nbextensions/visualpython/src/common/vpReshape',
824825
icon: '/nbextensions/visualpython/resource/apps/apps_reshape.svg',
825-
color: 3,
826+
color: 0,
826827
},
827828
'chart': {
828829
label: 'Chart',

src/api_block/createAppsBtn.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ define([
6666
bindEvent() {
6767
var blockContainer = this.blockContainerThis;
6868

69+
// block preparing apps
70+
if (this.colorLevel == 0) {
71+
return;
72+
}
73+
6974
$(this.dom).on('click', function() {
7075
var menu = $(this).attr('data-menu');
7176

0 commit comments

Comments
 (0)