Skip to content

Commit 0f09eca

Browse files
authored
Merge pull request #225 from visualpython/release
Release v2.4.4
2 parents 6f7560a + 97760be commit 0f09eca

33 files changed

+399
-230
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
dist/
22
jupyterlab/_output
3-
jupyterlab/.jupyterlite.doit.db
3+
jupyterlab/.jupyterlite.doit*
44
jupyterlab/lib/visualpython
55
jupyternotebook/visualpython
66
colab/visualpython
77
test/
88
.gitignore
9-
visualpython/js/com/com_Config.js

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#=============================================================================
1212
# Set version and replace it
1313
#=============================================================================
14-
VP_ORG_VER=2.4.2
15-
VP_NEW_VER=2.4.3
14+
VP_ORG_VER=2.4.3
15+
VP_NEW_VER=2.4.4
1616

1717
# update version info
1818
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"

colab/build.colab.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#=============================================================================
1212
# Replace Version
1313
#=============================================================================
14-
VP_ORG_VER=2.4.2
15-
VP_NEW_VER=2.4.3
14+
VP_ORG_VER=2.4.3
15+
VP_NEW_VER=2.4.4
1616

1717
# update version info
1818
# update manifest version with new numbering for new version

colab/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Visual Python for Colab",
33
"description": "GUI-based Python code generator for Google Colab as an extension",
4-
"version": "2.4.3",
4+
"version": "2.4.4",
55
"manifest_version": 3,
66
"icons": {
77
"48": "icon.png",

jupyterlab/build.jupyterlab.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#=============================================================================
1212
# Replace Version and Basic Files
1313
#=============================================================================
14-
VP_ORG_VER=2.4.2
15-
VP_NEW_VER=2.4.3
14+
VP_ORG_VER=2.4.3
15+
VP_NEW_VER=2.4.4
1616

1717
# update version info
1818
grep -REil "\"version\": \"${VP_ORG_VER}\"" package.json | xargs sed -i "s/\"version\": \"${VP_ORG_VER//\./\\.}\"/\"version\": \"${VP_NEW_VER}\"/g"

jupyterlab/dev-build.jupyterlab.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,7 @@ jlpm run build
5050
# jupyter lite build
5151

5252
# Run jupyterlite server
53-
# jupyter lite serve
53+
# jupyter lite serve # init + build + serve
54+
55+
# If something went wrong, remove _output/extensions folder and run command below
56+
# jupyter lite init

jupyterlab/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jupyterlab/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jupyterlab-visualpython",
3-
"version": "2.4.3",
3+
"version": "2.4.4",
44
"description": "GUI-based Python code generator for Jupyter Lab as an extension",
55
"keywords": [
66
"jupyter",

jupyterlab/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ classifiers = [
3232
"Programming Language :: Python :: 3.9",
3333
"Programming Language :: Python :: 3.10",
3434
]
35-
version = "2.4.3"
35+
version = "2.4.4"
3636

3737
[project.license]
3838
file = "LICENSE"
@@ -92,7 +92,7 @@ file = [
9292
]
9393

9494
[tool.tbump.version]
95-
current = "2.4.3"
95+
current = "2.4.4"
9696
regex = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)((?P<channel>a|b|rc|.dev)(?P<release>\\d+))?"
9797

9898
[tool.tbump.git]

jupyternotebook/build.jupyternotebook.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#=============================================================================
1212
# Replace Version and Basic Files
1313
#=============================================================================
14-
VP_ORG_VER=2.4.2
15-
VP_NEW_VER=2.4.3
14+
VP_ORG_VER=2.4.3
15+
VP_NEW_VER=2.4.4
1616

1717
# update version info
1818
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"

jupyternotebook/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setup(
1212
name = name,
13-
version = '2.4.3',
13+
version = '2.4.4',
1414
packages = find_packages(),
1515
package_data = {"": ["*"], 'visualpython' : ['visualpython.yaml', 'README.md']},
1616
scripts = ['visualpython/bin/visualpy', 'visualpython/bin/visualpy.bat'],

visualpython/css/mainFrame.css

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,43 @@ div#vp_wrapper.colab * {
5959
#vp_wrapper.lab *, #vp_wrapper.lite * {
6060
box-sizing: border-box !important;
6161
}
62+
/* LITE: show protector */
63+
#vp_wrapper.lab .vp-protector,
64+
#vp_wrapper.lite .vp-protector {
65+
background-color: rgb(33 33 33 / 77%);
66+
position: absolute;
67+
width: 100%;
68+
height: 100%;
69+
z-index: 100;
70+
}
71+
#vp_wrapper.lab .vp-protector-info,
72+
#vp_wrapper.lite .vp-protector-info {
73+
background-color: var(--vp-background-color);
74+
width: 250px;
75+
height: 170px;
76+
padding: 10px;
77+
margin: auto;
78+
top: calc(50% - 80px);
79+
position: relative;
80+
display: grid;
81+
grid-template-rows: 20px 100px 30px;
82+
}
83+
#vp_wrapper.lab .vp-protector-title,
84+
#vp_wrapper.lite .vp-protector-title {
85+
font-weight: bold;
86+
color: var(--vp-font-highlight);
87+
}
88+
#vp_wrapper.lab .vp-protector-content,
89+
#vp_wrapper.lite .vp-protector-content {
90+
border: 0.25px solid var(--vp-border-gray-color);
91+
border-radius: 10px;
92+
padding: 10px;
93+
margin: 5px 0;
94+
}
95+
#vp_wrapper.lab .vp-protector-footer,
96+
#vp_wrapper.lite .vp-protector-footer {
97+
text-align: right;
98+
}
6299

63100
/* resizing handle */
64101
#vp_wrapper > .ui-resizable-handle {

visualpython/css/root.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,22 @@ button.vp-button {
378378
background: #C4C4C4;
379379
}
380380

381+
/* Scrollbar vertical only */
382+
.vp-scrollbar-vertical {
383+
overflow-x: hidden;
384+
overflow-y: auto;
385+
white-space: nowrap;
386+
--webkit-mask-position: left top;
387+
}
388+
.vp-scrollbar-vertical::-webkit-scrollbar {
389+
width: 5px;
390+
height: 5px;
391+
}
392+
.vp-scrollbar-vertical::-webkit-scrollbar-thumb {
393+
border: 0.3px solid #C4C4C4;
394+
background: #C4C4C4;
395+
}
396+
381397
/* Scrollbar horizontal */
382398
.vp-scrollbar-horizontal {
383399
overflow-x: auto;

0 commit comments

Comments
 (0)