Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Release v2.4.9#242

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
minjk-bl merged 17 commits intomainfromrelease
Sep 8, 2023
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
Show all changes
17 commits
Select commitHold shift + click to select a range
c37cb62
Fix DataSelector slicing, indexing 0 bug
Sep 8, 2023
d84b7c8
Fix MultiSelector not showing and loading bug
Sep 8, 2023
5844de4
Add selecting execution type on app running
Sep 8, 2023
9d48a52
Edit evaluation display codes
Sep 8, 2023
534a18c
Fixed ProbDist charts
Sep 8, 2023
311313b
Add errorbar option for line, barplot on Seaborn
Sep 8, 2023
ec63d1e
Edit sizeLevel 4 width
Sep 8, 2023
f24b30f
Edit sizeLevel 4 width
Sep 8, 2023
9312220
Edit MultiSelector style
Sep 8, 2023
4fe6bd0
Fix sort_values by columnSelector's output code for list
Sep 8, 2023
e06224b
Add ignoreWarning util function
Sep 8, 2023
708b12b
Edit package list code to ignore warnings
Sep 8, 2023
5a98510
Add runtype config data
Sep 8, 2023
f4eb5cf
Edit AlertModal to show details
Sep 8, 2023
fb08194
Merge pull request #241 from minjk-bl/devops
minjk-blSep 8, 2023
ee84a90
deploy visualpython 2.4.9
visualpythonSep 8, 2023
077fa97
Merge branch 'main' into release
minjk-blSep 8, 2023
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
4 changes: 2 additions & 2 deletionsbuild.sh
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,8 +11,8 @@
#=============================================================================
# Set version and replace it
#=============================================================================
VP_ORG_VER=2.4.7
VP_NEW_VER=2.4.8
VP_ORG_VER=2.4.8
VP_NEW_VER=2.4.9

# update version info
grep -REil "VP_ORG_VER=.+$" colab/build.colab.sh jupyterlab/build.jupyterlab.sh jupyternotebook/build.jupyternotebook.sh | xargs sed -i "s/VP_ORG_VER=.\+$/VP_ORG_VER=${VP_ORG_VER}/g"
Expand Down
4 changes: 2 additions & 2 deletionscolab/build.colab.sh
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,8 +11,8 @@
#=============================================================================
# Replace Version
#=============================================================================
VP_ORG_VER=2.4.7
VP_NEW_VER=2.4.8
VP_ORG_VER=2.4.8
VP_NEW_VER=2.4.9

# update version info
# update manifest version with new numbering for new version
Expand Down
2 changes: 1 addition & 1 deletioncolab/manifest.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
{
"name": "Visual Python for Colab",
"description": "GUI-based Python code generator for Google Colab as an extension",
"version": "2.4.8",
"version": "2.4.9",
"manifest_version": 3,
"icons": {
"48": "icon.png",
Expand Down
4 changes: 2 additions & 2 deletionsjupyterlab/build.jupyterlab.sh
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,8 +11,8 @@
#=============================================================================
# Replace Version and Basic Files
#=============================================================================
VP_ORG_VER=2.4.7
VP_NEW_VER=2.4.8
VP_ORG_VER=2.4.8
VP_NEW_VER=2.4.9

# update version info
grep -REil "\"version\": \"${VP_ORG_VER}\"" package.json | xargs sed -i "s/\"version\": \"${VP_ORG_VER//\./\\.}\"/\"version\": \"${VP_NEW_VER}\"/g"
Expand Down
4 changes: 2 additions & 2 deletionsjupyterlab/package-lock.json
View file
Open in desktop

Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.

2 changes: 1 addition & 1 deletionjupyterlab/package.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "jupyterlab-visualpython",
"version": "2.4.8",
"version": "2.4.9",
"description": "GUI-based Python code generator for Jupyter Lab as an extension",
"keywords": [
"jupyter",
Expand Down
4 changes: 2 additions & 2 deletionsjupyterlab/pyproject.toml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -32,7 +32,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
version = "2.4.8"
version = "2.4.9"

[project.license]
file = "LICENSE"
Expand DownExpand Up@@ -92,7 +92,7 @@ file = [
]

[tool.tbump.version]
current = "2.4.8"
current = "2.4.9"
regex = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)((?P<channel>a|b|rc|.dev)(?P<release>\\d+))?"

[tool.tbump.git]
Expand Down
4 changes: 2 additions & 2 deletionsjupyternotebook/build.jupyternotebook.sh
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,8 +11,8 @@
#=============================================================================
# Replace Version and Basic Files
#=============================================================================
VP_ORG_VER=2.4.7
VP_NEW_VER=2.4.8
VP_ORG_VER=2.4.8
VP_NEW_VER=2.4.9

# update version info
grep -REil ${VP_ORG_VER//\./\\.} setup.py visualpython/js/com/com_Config.js visualpython/js/com/com_Const.js | xargs sed -i --follow-symlinks "s/${VP_ORG_VER//\./\\.}/${VP_NEW_VER}/g"
Expand Down
2 changes: 1 addition & 1 deletionjupyternotebook/setup.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -10,7 +10,7 @@

setup(
name = name,
version = '2.4.8',
version = '2.4.9',
packages = find_packages(),
package_data = {"": ["*"], 'visualpython' : ['visualpython.yaml', 'README.md']},
scripts = ['visualpython/bin/visualpy', 'visualpython/bin/visualpy.bat'],
Expand Down
15 changes: 14 additions & 1 deletionvisualpython/css/component/alertModal.css
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -13,7 +13,7 @@
top: 50%;
transform:translate(-50%, -50%);
width: 400px;
height:150px;
height:170px;
padding: 15px;
background-color: var(--vp-background-color);
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
Expand DownExpand Up@@ -59,10 +59,23 @@
font-size: 13px;
font-weight: 700;
}
.vp-alertModal-detailStr {
color: var(--vp-primary-text);
background-color: var(--vp-light-gray-color);
border-radius: 5px;
padding: 10px;
border: 0.25px solid var(--vp-grid-line-color);
height: 60px;
}
.vp-alertModal-detailStr > pre {
border: 0px;
padding: 0px;
}
.vp-alertModal-style-flex-column-evenly {
display: flex;
flex-direction: column;
justify-content: space-evenly;
row-gap: 3px;
}
.vp-alertModal-style-flex-row-center {
display: flex;
Expand Down
22 changes: 20 additions & 2 deletionsvisualpython/css/component/multiSelector.css
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -4,6 +4,7 @@
display: grid;
grid-template-columns: calc(47% - 15px) 50px calc(47% - 15px);
grid-auto-rows: 100%;
position: relative;
}
.vp-cs-select-container input.vp-cs-select-search {
width: 100%;
Expand DownExpand Up@@ -44,9 +45,9 @@
background-color: #F5F5F5;
}
/* Item Sorting FIXME: change span to class */
.right .vp-cs-select-item span {
/*.right .vp-cs-select-item span {
padding: 0px 10px 0px 0px;
}
} */
/* TODO: If sortable, apply this style */
/* .right .vp-cs-select-item span:hover {
cursor: n-resize;
Expand DownExpand Up@@ -80,4 +81,21 @@
left: calc(100% - 25px);
bottom: 23px;
cursor: pointer;
}
.vp-cs-del-item {
position: relative;
float: right;
top: 4px;
cursor: pointer;
}
.vp-cs-refresh {
display: inline-block;
width: 20px;
height: 20px;
line-height: 20px;
vertical-align: middle;
cursor: pointer;
position: absolute;
bottom: 5px;
right: 5px;
}
16 changes: 14 additions & 2 deletionsvisualpython/css/component/popupComponent.css
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -222,14 +222,14 @@
margin-top: 9px;
margin-right: 10px;
}
.vp-popup-button[data-type="run"] {
.vp-popup-runadd-box > .vp-popup-button.vp-popup-run-button {
display: inline-block;
width: 60px;
min-width: 60px;
border-radius: 3px 0px 0px 3px;
border-right: 0.25px solid white !important;
}
.vp-popup-button[data-type="show-detail"] {
.vp-popup-runadd-box > .vp-popup-button.vp-popup-show-detail-button {
display: inline-block;
width: 20px;
min-width: 20px;
Expand All@@ -251,11 +251,23 @@
}
.vp-popup-detail-button {
color: var(--vp-font-primary);
display: grid;
grid-template-columns: 25px calc(100% - 25px);
}
.vp-popup-detail-button:hover {
color: var(--vp-font-highlight);
background: var(--vp-light-gray-color);
}
.vp-popup-detail-button > label {
border-right: 0.25px solid var(--vp-border-gray-color);
margin: 0;
padding-left: 5px;
}
.vp-popup-detail-button > .vp-popup-detail-action-button {
text-align: left;
line-height: 35px;
padding-left: 5px;
}
.vp-popup-save-button {
float: right;
height: 30px;
Expand Down
4 changes: 2 additions & 2 deletionsvisualpython/css/root.css
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -43,8 +43,8 @@
src: url(../fonts/consola.ttf) format("font-truetype");
}
/* font style */
.vp-primary {
color: var(--vp-font-highlight);
.vp-primary-text {
color: var(--vp-font-primary);
}
.vp-orange-text {
color: var(--vp-font-highlight);
Expand Down
3 changes: 3 additions & 0 deletionsvisualpython/html/component/alertModal.html
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -24,6 +24,9 @@
vp-alertModal-style-text-center
vp-alertModal-style-font-weight-700">

</div>
<div class="vp-alertModal-detailStr vp-scrollbar">

</div>
<div class="vp-alertModal-style-flex-row-center">
<input class="vp-alertModal-yes
Expand Down
18 changes: 14 additions & 4 deletionsvisualpython/html/component/popupComponent.html
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -105,16 +105,26 @@
<button type="button" class="vp-button vp-popup-button" data-type="help">Help</button>

<div class="vp-popup-runadd-box">
<button type="button" class="vp-button activated vp-popup-button" data-type="run" title="Save to block &Runcell">Run</button>
<button type="button" class="vp-button activated vp-popup-button" data-type="show-detail">
<button type="button" class="vp-button activated vp-popup-button vp-popup-run-button" data-type="run" title="Runcode">Run</button>
<button type="button" class="vp-button activated vp-popup-button vp-popup-show-detail-button" data-type="show-detail">
<!-- LAB: img to url -->
<!-- <img src="${vp_base}/img/arrow_short_up.svg"/> -->
<div class="vp-icon-arrow-short-up"></div>
</button>
<div class="vp-popup-run-detailbox vp-cursor vp-close-on-blur">
<!-- <div class="vp-popup-detail-button" data-type="apply" title="Save to block">Save to block</div> -->
<div class="vp-popup-detail-button" data-type="run-save" title="Save to block & Run code">Run & Save</div>
<div class="vp-popup-detail-button" data-type="add" title="Add code to cell">Code to cell</div>
<div class="vp-popup-detail-button" title="Run code">
<label><input type="radio" class="vp-popup-run-type" name="runType" value="run" checked/><span></span></label>
<span class="vp-popup-detail-action-button" data-type="run">Run</span>
</div>
<div class="vp-popup-detail-button" title="Save to block & Run code">
<label><input type="radio" class="vp-popup-run-type" name="runType" value="run-save" /><span></span></label>
<span class="vp-popup-detail-action-button" data-type="run-save">Run & Save</span>
</div>
<div class="vp-popup-detail-button" title="Add code to cell">
<label><input type="radio" class="vp-popup-run-type" name="runType" value="add" /><span></span></label>
<span class="vp-popup-detail-action-button" data-type="add">Code to cell</span>
</div>
</div>
</div>
<button type="button" class="vp-button activated vp-popup-button vp-popup-save-button" data-type="save" title="Save to target" style="display:none;">OK</button>
Expand Down
7 changes: 6 additions & 1 deletionvisualpython/html/m_visualize/seaborn.html
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -231,13 +231,18 @@
<label for="showValuesPrecision">Decimal place</label>
<input type="number" id="showValuesPrecision" class="vp-state" placeholder="Type decimal places(0~5)" min="0" max="5"/>
</div>
</div>
<div class="vp-grid-box sb-option">
<hr style="margin:5px;"/>
<label class="vp-bold">Errorbar</label>
<input type="text" id="errorbar" class="vp-input vp-state" placeholder="('ci', 95)"/>
<hr style="margin:5px;"/>
</div>
<label for="useLegend" class="vp-bold">Legend</label>
<div class="vp-grid-col-p50">
<select id="legendPos" class="vp-select vp-state">
<!-- Legend Position FIXME: -->

</select>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletionsvisualpython/js/com/com_Config.js
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -65,7 +65,7 @@ define([
this.data = {
// Configuration
'vpcfg': {

'runType': 'run'
},
// User defined code for Snippets
'vpudf': {
Expand DownExpand Up@@ -637,7 +637,7 @@ define([
/**
* Set configuration data (on server)
* @param {Object} dataObj
* @param {String} configKey
* @param {String} configKeyvpcfg / vpudf / vpimport / vppackman
*/
setData(dataObj, configKey='vpudf') {
let that = this;
Expand DownExpand Up@@ -1017,7 +1017,7 @@ define([
/**
* Version
*/
Config.version = "2.4.8";
Config.version = "2.4.9";

/**
* Type of mode
Expand Down
2 changes: 1 addition & 1 deletionvisualpython/js/com/com_Const.js
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -19,7 +19,7 @@ define ([
class Constants { }

Constants.TOOLBAR_BTN_INFO = {
HELP: "Visual Python 2.4.8"
HELP: "Visual Python 2.4.9"
, ICON: "vp-main-icon"
, ID: "vpBtnToggle"
, NAME: "toggle-vp"
Expand Down
22 changes: 20 additions & 2 deletionsvisualpython/js/com/com_generatorV2.js
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -736,6 +736,11 @@ define([
let colList = pageThis.autoGen[obj.name].getDataList();
pageThis.state[obj.name] = colList.map(data => { return data.code });
value = colList.map(data => { return data.code }).join(',');
if (colList.length == 0) {
value = '';
} else if (colList.length > 0) {
value = '[' + value + ']';
}
$(pageThis.wrapSelector('#'+obj.name)).val(value);
break;
case 'file-open':
Expand DownExpand Up@@ -1274,7 +1279,20 @@ define([
let targetId = $(tag).data('target');
let colSelector = new MultiSelector(
pageThis.wrapSelector('#' + compId),
{ mode: 'columns', parent: (pageThis.state[targetId] || ''), selectedList: pageThis.state[compId] }
{
mode: 'columns', parent: (pageThis.state[targetId] || ''), selectedList: pageThis.state[compId],
change: function(type, list) {
let value = list.map(data => { return data.code }).join(',');
if (list.length == 0) {
value = '';
} else if (list.length > 0) {
value = '[' + value + ']';
}
pageThis.state[compId] = list.map(data => { return data.code });
pageThis.state[id] = value;
$(pageThis.wrapSelector('#'+id)).val(value);
}
}
);
pageThis.autoGen = {
[id]: colSelector,
Expand All@@ -1290,7 +1308,7 @@ define([
let value = list.map(data => { return data.code }).join(',');
if (list.length == 0) {
value = '';
} else if (list.length >1) {
} else if (list.length >0) {
value = '[' + value + ']';
}
pageThis.state[compId] = list.map(data => { return data.code });
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp