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

Devops for v2.4.1#220

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 22 commits intovisualpython:devopsfromminjk-bl:devops
Jun 30, 2023
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
Show all changes
22 commits
Select commitHold shift + click to select a range
ae9cd9d
Add numeric/nonnumeric icon to multiselector
Jun 27, 2023
3680896
Add packagemanager
Jun 27, 2023
2b41efa
Edit Snippets search icon
Jun 27, 2023
e8b3b87
Fix students t-test two-sample code
Jun 27, 2023
3e6ccde
Add numeric_only option to corr function
Jun 27, 2023
0d83b16
Edit Anova
Jun 27, 2023
50f4511
Edit category exception, input selection on focus
Jun 27, 2023
9ca7cc4
Edit loadState function
Jun 27, 2023
f493674
Edit position of user option
Jun 27, 2023
5fc1348
Edit Frame astype dtype list, qcut label mechanism, Add type labels
Jun 27, 2023
b62ea84
Edit valuecounts output
Jun 27, 2023
be0cdf8
Edit Regression to exclude selected dependent column
Jun 27, 2023
8c991d0
Edit style
Jun 30, 2023
b77aae8
Edit Frame - add column with apply
Jun 30, 2023
6c9fa11
Edit Package Manager
Jun 30, 2023
d8a62db
Edit checking package if exist
Jun 30, 2023
80aa45c
Add docs link for pandas libraries
Jun 30, 2023
42903cc
Add jupyterlite extension type and functions
Jun 30, 2023
7e8d0f1
Edit import to set default checked state for jupyterlite seaborn
Jun 30, 2023
8d9c317
Add jupyterlite
Jun 30, 2023
eb81b7d
Add gitignore
Jun 30, 2023
e108318
add jupyterlite
Jun 30, 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
2 changes: 2 additions & 0 deletions.gitignore
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
dist/
jupyterlab/_output
jupyterlab/.jupyterlite.doit.db
jupyterlab/lib/visualpython
jupyternotebook/visualpython
colab/visualpython
Expand Down
Binary file addedjupyterlab/.jupyterlite.doit.db
View file
Open in desktop
Binary file not shown.
8 changes: 7 additions & 1 deletionjupyterlab/dev-build.jupyterlab.sh
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -44,4 +44,10 @@ grep -rl "__VP_CSS_LOADER__" lib/visualpython/js/* | xargs sed -i "s/__VP_CSS_LO
# jupyter labextension install # install the current directory as an extension

# Run Build for jupyterlab extension
jlpm run build
jlpm run build

# Run Build for jupyterlite
# jupyter lite build

# Run jupyterlite server
# jupyter lite serve
3 changes: 3 additions & 0 deletionsjupyterlab/lib/index.js
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -25,6 +25,9 @@ module.exports = [{
);

global.vpExtType = 'lab';
if (app.name === 'JupyterLite') {
global.vpExtType = 'lite';
}
global.vpLab = app;

const VpPanel = require('./VpPanel');
Expand Down
207 changes: 207 additions & 0 deletionsvisualpython/css/component/packageManager.css
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,207 @@
/* UDF Editor - CodeMirror */
.vp-pm-body .CodeMirror { border: 1px solid silver; }
.vp-pm-body .CodeMirror.CodeMirror-focused { border: 1px solid var(--vp-highlight-color); }
.vp-pm-body .CodeMirror-empty { outline: 1px solid #c22; }
.vp-pm-body .CodeMirror-empty.CodeMirror-focused { outline: none; }
.vp-pm-body .CodeMirror pre.CodeMirror-placeholder { color: #999; }
.vp-pm-body .CodeMirror-scroll { min-height: 80px; max-height: 250px;}

.vp-pm-body {
padding: 10px;
}
.vp-pm-header {
height: 30px;
}
.vp-pm-header label {
font-weight: bold;
font-size: 14px;
line-height: 16px;
}
.vp-pm-menu {
float: right;
cursor: pointer;
position: relative;
}
.vp-pm-menu-box {
display: none;
position: absolute;
width: 130px;
top: 23px;
right: 0px;
border: 0.25px solid var(--vp-border-gray-color);
border-radius: 3px;
background: var(--vp-background-color);
padding: 5px;
z-index: 5;
}
.vp-pm-menu-item {
height: 30px;
font-size: 14px;
line-height: 30px;
padding: 0px 5px;
cursor: pointer;
}
.vp-pm-menu-item:hover {
color: var(--vp-font-highlight);
}
.vp-pm-search-box {
position: relative;
}
.vp-pm-search-box .vp-pm-search {
width: 100% !important;
height: 30px;
padding-right: 30px !important;
}
.vp-pm-search-box .vp-pm-search-icon {
position: absolute;
color: #C4C4C4;
right: 10px;
padding-top: 4px;

/* LAB: img to background-image */
background: center / contain no-repeat url(../../img/search.svg);
width: 20px;
height: 20px;
top: 5px;
}
.vp-pm-func-box {
height: 50px;
padding: 10px 0px;
}
.vp-pm-func-left {
float: left;
position: relative;
}
.vp-pm-func-right {
float: right;
}
.vp-pm-sort {
cursor: pointer;
/* LAB: img to background-image */
background: top / contain no-repeat url(../../img/snippets/sort.svg);
height: 22px;
width: 22px;
}
.vp-pm-sort-menu-box {
display: none;
position: absolute;
width: 100px;
border: 0.25px solid var(--vp-border-gray-color);
background: var(--vp-background-color);
padding: 5px;
z-index: 5;
}
.vp-pm-sort-menu-item {
height: 25px;
line-height: 25px;
padding: 0px 5px;
cursor: pointer;
}
.vp-pm-sort-menu-item:hover {
color: var(--vp-font-highlight);
}
/* Empty List */
.vp-pm-table {
margin-top: 10px;
display: grid;
grid-row-gap: 5px;
}
.vp-pm-table:empty::after {
content: '(No saved snippets)';
color: #C4C4C4;
}
.vp-pm-table-header {
height: 20px;
line-height: 20px;
padding: 0px 7px;
box-sizing: border-box;
display: grid;
grid-template-columns: 1fr 1fr 0.5fr;
}
.vp-pm-item {
min-height: 35px;
display: grid;
grid-template-columns: calc(100% - 25px) 25px;
}
.vp-pm-item.selected {
background: #F5F5F5;
}
.vp-pm-item-header {
height: 35px;
line-height: 35px;
padding: 0px 7px;
border: 0.25px solid var(--vp-border-gray-color);
box-sizing: border-box;
cursor: pointer;
display: grid;
grid-template-columns: 1fr 1fr 0.5fr;
}
.vp-pm-item-header.selected {
background: #F5F5F5;
}
.vp-pm-item-header .vp-pm-indicator {
display: inline-block;
cursor: pointer;
background-image: url(../../img/chevron_big_right.svg);
background-size: contain;
background-repeat: no-repeat;
width: 10px;
height: 10px;
}
.vp-pm-item-header .vp-pm-indicator.open {
background-image: url(../../img/chevron_big_down.svg) !important;
}
.vp-pm-item-header input.vp-pm-item-title {
width: calc(100% - 110px);
outline: none;
background: transparent;
border: 0.5px solid transparent;
cursor: pointer;
}
.vp-pm-item-header.selected input.vp-pm-item-title {
color: var(--vp-font-highlight);
}
.vp-pm-item-header input.vp-pm-item-title:focus {
transition: 0.7s;
border: 0.5px solid var(--vp-highlight-color) !important;
cursor: text;
}
.vp-pm-item-menu {
text-align: right;
padding-right: 5px;
}
.vp-pm-item-menu-item {
display: inline-block;
cursor: pointer;
margin-left: 5px;
}
.vp-pm-item-menu-item.vp-icon-install.disabled {
background: center / contain no-repeat url(../../img/import_disabled.svg);
cursor: not-allowed;
}
.vp-pm-item-menu-item.vp-icon-install:not(.disabled):hover {
background: center / contain no-repeat url(../../img/import_activated.svg);
}
.vp-pm-item-menu-item.vp-icon-upgrade.disabled {
background: center / contain no-repeat url(../../img/upgrade_disabled.svg);
cursor: not-allowed;
}
.vp-pm-item-menu-item.vp-icon-upgrade:not(.disabled):hover {
background: center / contain no-repeat url(../../img/upgrade_activated.svg);
}
.vp-pm-item-menu-item.vp-icon-delete {
background: center / contain no-repeat url(../../img/delete.svg);
}
.vp-pm-item-menu-item.vp-icon-delete.disabled {
background: center / contain no-repeat url(../../img/delete_disabled.svg);
cursor: not-allowed;
}
.vp-pm-item-menu-item.vp-icon-delete:not(.disabled):hover {
background: center / contain no-repeat url(../../img/delete_activated.svg);
}
.vp-pm-item-delete {
display: inline-block;
cursor: pointer;
margin-left: 5px;
margin-top: 8px;
}
5 changes: 3 additions & 2 deletionsvisualpython/css/m_apps/snippets.css
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -110,11 +110,12 @@
.vp-sn-search-box .vp-sn-search-icon {
position: absolute;
color: #C4C4C4;
right:10px;
padding-top: 4px;
right:7px;
top: 4px;
/* LAB: img to background-image */
background: top / contain no-repeat url(../../img/search.svg);
height: 100%;
width: 22px;
}
.vp-sn-func-box {
height: 50px;
Expand Down
4 changes: 2 additions & 2 deletionsvisualpython/css/mainFrame.css
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -50,13 +50,13 @@ div#vp_wrapper.colab * {
box-sizing: border-box !important;
}
/* LAB: reset position and size */
#vp_wrapper.lab {
#vp_wrapper.lab, #vp_wrapper.lite {
position: unset !important;
width: 100% !important;
height: 100% !important;
min-width: 273px !important;
}
#vp_wrapper.lab * {
#vp_wrapper.lab *, #vp_wrapper.lite * {
box-sizing: border-box !important;
}

Expand Down
12 changes: 8 additions & 4 deletionsvisualpython/css/menuFrame.css
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -28,18 +28,21 @@
border-bottom: 1px solid var(--vp-border-gray-color);
}
.vp-package-manager {
/*display: inline-flex; */
display: none;
display: inline-flex;
/*display: none; */
float: right;
position: relative;
font-size: 18px;
font-weight: bold;
color: var(--vp-highlight-color);
margin:8px 6px 8px 3px;
margin:5px 6px 8px 3px;
cursor: pointer;
width: 18px;
height: 18px;
}
.vp-package-manager span:hover {
background: center / contain no-repeat url(../img/package_manager_hover.svg);
}
.vp-version-updater {
display: none;
float: right;
Expand DownExpand Up@@ -103,7 +106,8 @@ input.vp-menu-search-box {
background-size: contain;
}
/* LAB: img to background-image */
#vp_wrapper.lab .vp-menu-search-icon {
#vp_wrapper.lab .vp-menu-search-icon,
#vp_wrapper.lite .vp-menu-search-icon {
position: absolute;
right: 45px;
top: 15px;
Expand Down
39 changes: 39 additions & 0 deletionsvisualpython/css/root.css
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -60,6 +60,9 @@
.vp-center {
text-align: center;
}
.vp-vertical-text {
vertical-align: text-bottom;
}
/* Body */
body {
overflow: hidden;
Expand DownExpand Up@@ -96,6 +99,16 @@ select.vp-select:disabled {

/* image icons */
/* LAB: img to background-image */
.vp-icon-package-manager {
background: center / contain no-repeat url(../img/package_manager.svg);
width: 20px;
height: 20px;
}
.vp-icon-install {
background: center / contain no-repeat url(../img/import.svg);
width: 16px;
height: 16px;
}
.vp-icon-setting {
background: center / contain no-repeat url(../img/setting.svg);
width: 100%;
Expand DownExpand Up@@ -191,6 +204,23 @@ select.vp-select:disabled {
width: 15px;
height: 15px;
}
.vp-icon-upgrade {
background: center / contain no-repeat url(../img/upgrade.svg);
width: 16px;
height: 16px;
}
.vp-icon-numeric {
background: center / contain no-repeat url(../img/numeric.svg);
display: inline-block;
width: 16px;
height: 16px;
}
.vp-icon-non-numeric {
background: center / contain no-repeat url(../img/non_numeric.svg);
display: inline-block;
width: 16px;
height: 16px;
}

.vp-file-browser-button {
width: 22px;
Expand DownExpand Up@@ -571,6 +601,11 @@ hr.vp-extra-menu-line {
.vp-inner-popup-body .mr5 {
margin-right: 5px;
}
#vp_wrapper .pl5,
.vp-popup-frame .pl5,
.vp-inner-popup-body .pl5 {
padding-left: 5px;
}
/* Layout */
.vp-inline-block {
display: inline-block !important;
Expand DownExpand Up@@ -602,6 +637,10 @@ hr.vp-extra-menu-line {
padding: 15px;
grid-row-gap: 5px;
}
.vp-grid-col-rp3 {
display: grid;
grid-template-columns: repeat(3, 1fr);
}
.vp-grid-col-p50 {
display: grid;
grid-template-columns: 50% 50%;
Expand Down
2 changes: 2 additions & 0 deletionsvisualpython/html/component/fileNavigation.html
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -22,6 +22,8 @@
<!-- Chrome extension for colab -->
<div class="fnp-sidebar-menu colab" data-path="/">Colab Home</div>
<div class="fnp-sidebar-menu colab" data-path="drive">Drive Home</div>
<!-- Lite -->
<div class="fnp-sidebar-menu lite" data-path="lite-home">Lite Home</div>
</div>
<div class='fileNavigationPage-inner flex-column'
>
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp