Skip to content

Commit 8707745

Browse files
authored
Merge pull request #88 from minjk-bl/devops
Hotfix for 1.1.9 (as v1.1.10)
2 parents d39f3d3 + e2d0780 commit 8707745

17 files changed

Lines changed: 51 additions & 24 deletions

File tree

.gitignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

bin/visualpy

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ f_main() {
7575
#=============================================================================
7676
f_install() {
7777
RES=`f_check_extension`
78-
# 1 = Jupyterr Extension is not actived
78+
# 1 = Jupyter Extension is not actived
7979
# 2 = visualpython does not exist
8080
# 3 = visualpython exists
8181

@@ -104,7 +104,7 @@ f_install() {
104104
#=============================================================================
105105
f_uninstall() {
106106
RES=`f_check_extension`
107-
# 1 = Jupyterr Extension is not actived
107+
# 1 = Jupyter Extension is not actived
108108
# 2 = visualpython does not exist
109109
# 3 = visualpython exists
110110

@@ -234,7 +234,7 @@ f_remove_files() {
234234

235235
#=============================================================================
236236
# Check Visual Python files
237-
# 1 = Jupyterr Extension is not actived
237+
# 1 = Jupyter Extension is not actived
238238
# 2 = visualpython does not exist
239239
# 3 = visualpython exists
240240
#=============================================================================
@@ -266,7 +266,7 @@ f_get_string_pipshow() {
266266
f_get_extension_path() {
267267
RESULT="EMPTY"
268268
if which conda-env > /dev/null 2>&1; then
269-
RESULT=`conda-env list | grep "*" | awk -F'*' '{print $2}'|tr -d ' '`/share/jupyter/nbextension
269+
RESULT=`conda-env list | grep "*" | awk -F'*' '{print $2}'|tr -d ' '`/share/jupyter/nbextensions
270270
else
271271
RESULT=`jupyter --data-dir`/nbextensions
272272
fi

bin/visualpy.bat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ rem # Install Visual Python
8282
rem #=========================================================================
8383
:f_install
8484
call :f_check_extension RES
85-
rem # 1 = Jupyterr Extension is not actived
85+
rem # 1 = Jupyter Extension is not actived
8686
rem # 2 = visualpython does not exist
8787
rem # 3 = visualpython exists
8888

@@ -110,7 +110,7 @@ rem # Uninstall Visual Python
110110
rem #=========================================================================
111111
:f_uninstall
112112
call :f_check_extension RES
113-
rem # 1 = Jupyterr Extension is not actived
113+
rem # 1 = Jupyter Extension is not actived
114114
rem # 2 = visualpython does not exist
115115
rem # 3 = visualpython exists
116116

@@ -241,7 +241,7 @@ rem #=========================================================================
241241

242242
rem #=========================================================================
243243
rem # Check Visual Python files
244-
rem # 1 = Jupyterr Extension is not actived
244+
rem # 1 = Jupyter Extension is not actived
245245
rem # 2 = visualpython does not exist
246246
rem # 3 = visualpython exists
247247
rem #=========================================================================

css/file_io/udf.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205
background-image: url(../../resource/chevron_big_down.svg) !important;
206206
}
207207
#vp_udfPage .vp-sn-item-header input.vp-sn-item-title {
208-
width: calc(100% - 100px);
208+
width: calc(100% - 110px);
209209
outline: none;
210210
background: transparent;
211211
border: 0.5px solid transparent;

src/api_block/block.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1801,7 +1801,8 @@ define([
18011801
};
18021802

18031803
blockContainerThis.createAppsPage(menu, file, config);
1804-
break;
1804+
return;
1805+
// break;
18051806
}
18061807
}
18071808

@@ -2029,7 +2030,7 @@ define([
20292030
$(blockLineNumberInfoDom).find('.vp-apiblock-circle-play').css(STR_OPACITY, 1);
20302031
}
20312032

2032-
2033+
blockContainerThis.setFocusedPageType(FOCUSED_PAGE_TYPE.BOARD);
20332034
blockContainerThis.resetBlockListAndRenderThisBlock(thisBlock);
20342035

20352036
event.stopPropagation();

src/common/vpFrameEditor.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1755,7 +1755,11 @@ define([
17551755
var code = this.state.steps.join('\n');
17561756
var returnVariable = $(this.wrapSelector('#vp_feReturn')).val();
17571757
if (returnVariable != '') {
1758-
code = code.replaceAll('_vp', returnVariable);
1758+
code = code.replaceAll(this.state.tempObj, returnVariable);
1759+
1760+
code += '\n' + returnVariable;
1761+
} else {
1762+
code += '\n' + this.state.tempObj;
17591763
}
17601764
return code;
17611765
}

src/common/vpSubsetEditor.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2278,6 +2278,15 @@ define([
22782278
this.setPreview(code.toString());
22792279
}
22802280

2281+
// display
2282+
if (this.useCell) {
2283+
code.appendLine();
2284+
if (allocation && this.state.allocateTo != '') {
2285+
code.append(this.state.allocateTo);
2286+
} else {
2287+
code.append(this.state.pandasObject);
2288+
}
2289+
}
22812290
return code.toString();
22822291
}
22832292

src/file_io/fileio.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
</table>
5050
</div>
5151
</div>
52-
<div class="vp-accordion-container vp-accordion-gray-color">
52+
<div class="vp-accordion-container vp-accordion-open vp-accordion-gray-color">
5353
<div class="vp-accordion-header"><span class="vp-accordion-indicator"></span><span class="vp-accordion-caption" data-caption-id="TODO:Variable">Additional Options</span></div>
5454
<div id="vp_optionBox" class="vp-accordion-content">
5555
<table class="vp-option-table">
@@ -72,7 +72,7 @@
7272
</table>
7373
</div>
7474
</div>
75-
<div class="vp-accordion-container vp-accordion-gray-color">
75+
<div class="vp-accordion-container vp-accordion-open vp-accordion-gray-color">
7676
<div class="vp-accordion-header"><span class="vp-accordion-indicator"></span><span class="vp-accordion-caption" data-caption-id="TODO:Variable">Additional Options</span></div>
7777
<div id="vp_optionBox" class="vp-accordion-content">
7878
<table class="vp-option-table">

src/file_io/fileio.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ define([
6767

6868
this.fileExtensions = {
6969
'csv': 'csv',
70-
'excel': 'xls',
70+
'excel': 'xlsx',
7171
'json': 'json',
7272
'pickle': 'pickle'
7373
}

src/file_io/import.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ define([
7676
]
7777
}
7878
, { library: 'seaborn', alias:'sns'}
79-
, { library: 'plotly.express', alias: 'px'}
8079
];
8180

8281
this.package = {

0 commit comments

Comments
 (0)