Skip to content

Release v2.4.4 #225

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 19 commits into from
Jul 7, 2023
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
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
dist/
jupyterlab/_output
jupyterlab/.jupyterlite.doit.db
jupyterlab/.jupyterlite.doit*
jupyterlab/lib/visualpython
jupyternotebook/visualpython
colab/visualpython
test/
.gitignore
visualpython/js/com/com_Config.js
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
#=============================================================================
# Set version and replace it
#=============================================================================
VP_ORG_VER=2.4.2
VP_NEW_VER=2.4.3
VP_ORG_VER=2.4.3
VP_NEW_VER=2.4.4

# 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 deletions colab/build.colab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
#=============================================================================
# Replace Version
#=============================================================================
VP_ORG_VER=2.4.2
VP_NEW_VER=2.4.3
VP_ORG_VER=2.4.3
VP_NEW_VER=2.4.4

# update version info
# update manifest version with new numbering for new version
Expand Down
2 changes: 1 addition & 1 deletion colab/manifest.json
Original file line number Diff line number Diff 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.3",
"version": "2.4.4",
"manifest_version": 3,
"icons": {
"48": "icon.png",
Expand Down
4 changes: 2 additions & 2 deletions jupyterlab/build.jupyterlab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
#=============================================================================
# Replace Version and Basic Files
#=============================================================================
VP_ORG_VER=2.4.2
VP_NEW_VER=2.4.3
VP_ORG_VER=2.4.3
VP_NEW_VER=2.4.4

# 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
5 changes: 4 additions & 1 deletion jupyterlab/dev-build.jupyterlab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,7 @@ jlpm run build
# jupyter lite build

# Run jupyterlite server
# jupyter lite serve
# jupyter lite serve # init + build + serve

# If something went wrong, remove _output/extensions folder and run command below
# jupyter lite init
4 changes: 2 additions & 2 deletions jupyterlab/package-lock.json

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

2 changes: 1 addition & 1 deletion jupyterlab/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jupyterlab-visualpython",
"version": "2.4.3",
"version": "2.4.4",
"description": "GUI-based Python code generator for Jupyter Lab as an extension",
"keywords": [
"jupyter",
Expand Down
4 changes: 2 additions & 2 deletions jupyterlab/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
version = "2.4.3"
version = "2.4.4"

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

[tool.tbump.version]
current = "2.4.3"
current = "2.4.4"
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 deletions jupyternotebook/build.jupyternotebook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
#=============================================================================
# Replace Version and Basic Files
#=============================================================================
VP_ORG_VER=2.4.2
VP_NEW_VER=2.4.3
VP_ORG_VER=2.4.3
VP_NEW_VER=2.4.4

# 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 deletion jupyternotebook/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name = name,
version = '2.4.3',
version = '2.4.4',
packages = find_packages(),
package_data = {"": ["*"], 'visualpython' : ['visualpython.yaml', 'README.md']},
scripts = ['visualpython/bin/visualpy', 'visualpython/bin/visualpy.bat'],
Expand Down
37 changes: 37 additions & 0 deletions visualpython/css/mainFrame.css
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,43 @@ div#vp_wrapper.colab * {
#vp_wrapper.lab *, #vp_wrapper.lite * {
box-sizing: border-box !important;
}
/* LITE: show protector */
#vp_wrapper.lab .vp-protector,
#vp_wrapper.lite .vp-protector {
background-color: rgb(33 33 33 / 77%);
position: absolute;
width: 100%;
height: 100%;
z-index: 100;
}
#vp_wrapper.lab .vp-protector-info,
#vp_wrapper.lite .vp-protector-info {
background-color: var(--vp-background-color);
width: 250px;
height: 170px;
padding: 10px;
margin: auto;
top: calc(50% - 80px);
position: relative;
display: grid;
grid-template-rows: 20px 100px 30px;
}
#vp_wrapper.lab .vp-protector-title,
#vp_wrapper.lite .vp-protector-title {
font-weight: bold;
color: var(--vp-font-highlight);
}
#vp_wrapper.lab .vp-protector-content,
#vp_wrapper.lite .vp-protector-content {
border: 0.25px solid var(--vp-border-gray-color);
border-radius: 10px;
padding: 10px;
margin: 5px 0;
}
#vp_wrapper.lab .vp-protector-footer,
#vp_wrapper.lite .vp-protector-footer {
text-align: right;
}

/* resizing handle */
#vp_wrapper > .ui-resizable-handle {
Expand Down
16 changes: 16 additions & 0 deletions visualpython/css/root.css
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,22 @@ button.vp-button {
background: #C4C4C4;
}

/* Scrollbar vertical only */
.vp-scrollbar-vertical {
overflow-x: hidden;
overflow-y: auto;
white-space: nowrap;
--webkit-mask-position: left top;
}
.vp-scrollbar-vertical::-webkit-scrollbar {
width: 5px;
height: 5px;
}
.vp-scrollbar-vertical::-webkit-scrollbar-thumb {
border: 0.3px solid #C4C4C4;
background: #C4C4C4;
}

/* Scrollbar horizontal */
.vp-scrollbar-horizontal {
overflow-x: auto;
Expand Down
Loading