Skip to content

Release v1.2.2 (Hotfix) #109

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/api_block/blockContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion src/api_block/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
id='vp_apiblock_option_page'>
<div class="vp-apiblock-option-navigator">
<div class="vp-apiblock-option-navigator-label">
<span class="vp-orange-text">Visual Python 1.2.1</span>
<span class="vp-orange-text">Visual Python 1.2.2</span>
</div>
<div class="vp-apiblock-option-new-to-save" title="something modified...">

Expand Down
2 changes: 1 addition & 1 deletion src/common/constant.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 4 additions & 1 deletion src/common/vpGroupby.js
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,9 @@ define([
page.appendFormatLine('<option value="{0}">{1}</option>', '', 'Select method type');
page.appendFormatLine('<option value="{0}">{1}</option>', 'typing', 'Typing');
this.methodList.forEach(method => {
if (method.value == '') {
return;
}
page.appendFormatLine('<option value="{0}">{1}</option>', method.value, method.label);
});
page.appendLine('</select>');
Expand Down Expand Up @@ -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()');
Expand Down