From 5352560d78d44e2f273a6f9fa1fe3b9105b424a6 Mon Sep 17 00:00:00 2001 From: minjk-bl Date: Thu, 18 Nov 2021 19:53:33 +0900 Subject: [PATCH 1/2] Apps > Groupby - aggregate code generation bug fixed --- src/common/vpGroupby.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/common/vpGroupby.js b/src/common/vpGroupby.js index d909e303..b2884ac0 100644 --- a/src/common/vpGroupby.js +++ b/src/common/vpGroupby.js @@ -437,6 +437,9 @@ define([ page.appendFormatLine('', '', 'Select method type'); page.appendFormatLine('', 'typing', 'Typing'); this.methodList.forEach(method => { + if (method.value == '') { + return; + } page.appendFormatLine('', method.value, method.label); }); page.appendLine(''); @@ -1196,7 +1199,7 @@ define([ } } - if (method != '') { + if (method != '' || advanced) { // when using as_index option with Grouper, use .reset_index() if (useGrouper && resetIndex) { methodStr.append('.reset_index()'); From 1c6d073a8f1fccc1b7344bc5a085a39f95e5d120 Mon Sep 17 00:00:00 2001 From: "blacklogic.dev" Date: Fri, 19 Nov 2021 17:00:11 +0900 Subject: [PATCH 2/2] deploy visualpython 1.2.2 --- src/api_block/blockContainer.js | 2 +- src/api_block/index.html | 2 +- src/common/constant.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api_block/blockContainer.js b/src/api_block/blockContainer.js index 4b0dc7f8..745b0610 100644 --- a/src/api_block/blockContainer.js +++ b/src/api_block/blockContainer.js @@ -2649,7 +2649,7 @@ define([ this.hideOptionPreviewBox(); $(VP_ID_PREFIX + VP_APIBLOCK_BOARD_OPTION_PREVIEW_BUTTON).removeClass('enabled'); - this.setNavigator(BLOCK_CODELINE_TYPE.NONE, 'Visual Python 1.2.1'); + this.setNavigator(BLOCK_CODELINE_TYPE.NONE, 'Visual Python 1.2.2'); this.setFocusedPageType(FOCUSED_PAGE_TYPE.BOARD); $('.vp-apiblock-option-tab-none').css(STR_DISPLAY, STR_BLOCK); } diff --git a/src/api_block/index.html b/src/api_block/index.html index 84283246..21bda4ba 100644 --- a/src/api_block/index.html +++ b/src/api_block/index.html @@ -120,7 +120,7 @@ id='vp_apiblock_option_page'>
- Visual Python 1.2.1 + Visual Python 1.2.2
diff --git a/src/common/constant.js b/src/common/constant.js index 972850b5..f865f868 100644 --- a/src/common/constant.js +++ b/src/common/constant.js @@ -48,7 +48,7 @@ define ([ * toolbar btn properties */ const TOOLBAR_BTN_INFO = { - HELP: "Visual Python 1.2.1" + HELP: "Visual Python 1.2.2" // , ICON: "fa-angellist" , ICON: "vp-main-icon" , ID: "vpBtnToggle"