Skip to content
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

Python env management UI and env selector popup updates #742

Merged
merged 62 commits into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
eeaeb45
python env management UI and env selector popup updates
mbektas Dec 26, 2023
bd2718c
add linux aarch64 support
mbektas Dec 27, 2023
d82601a
fix popup height calculation
mbektas Dec 27, 2023
69aa8df
store additional env install info
mbektas Dec 27, 2023
44b6aa7
env delete implementation
mbektas Dec 28, 2023
6225a6c
implement add existing environment
mbektas Dec 28, 2023
a7abc0b
update messages
mbektas Dec 29, 2023
83df9ac
prevent deleting environments that are in use
mbektas Dec 29, 2023
d048f5e
introduce new user settings for environments, refactoring
mbektas Dec 30, 2023
955745e
validate env setting inputs
mbektas Dec 30, 2023
b6dec5d
add env list description, update styles
mbektas Dec 31, 2023
29c1f04
handle env delete and add existing errors
mbektas Dec 31, 2023
741b58c
sync env select popup
mbektas Dec 31, 2023
a812818
handle bundled / custom env states
mbektas Jan 1, 2024
57c4172
Update pythonenvdialog.ts
mbektas Jan 1, 2024
87b8c48
reuse python ev dialog, show new dialog when links to server settings…
mbektas Jan 1, 2024
5c0f17b
update create new env option states
mbektas Jan 1, 2024
1013f9e
handle undefined condaPath and systemPythonPath
mbektas Jan 1, 2024
d7fc8de
Update pythonenvdialog.ts
mbektas Jan 1, 2024
1382eed
copy session info, close popup buttons. handle delayed server list loads
mbektas Jan 2, 2024
8bdd6b6
fix path issues on windows
mbektas Jan 2, 2024
48bc6b8
fix env list active item issue, improve security
mbektas Jan 2, 2024
f1d0128
fix multiple window issue caused by sync event
mbektas Jan 2, 2024
1bb8905
keep registry default env in sync
mbektas Jan 2, 2024
decf350
set initial values for file / directory pickers
mbektas Jan 2, 2024
206e59c
enlarge validity icons
mbektas Jan 2, 2024
816799a
show more completete venv install preview
mbektas Jan 2, 2024
1910825
refactor, introduce discovered pythonPath
mbektas Jan 3, 2024
8737a8d
registry enhancements
mbektas Jan 4, 2024
1b8ed48
update discovered paths
mbektas Jan 4, 2024
78c7e6e
enable welcome view local server links and prevent restart after env …
mbektas Jan 4, 2024
5bfbd5f
restart session button on env select popup
mbektas Jan 4, 2024
d692ef7
improve check for python binary
mbektas Jan 4, 2024
ff5a5e5
update CLI, support env commands with env name
mbektas Jan 4, 2024
1a6eb3e
fix show output state
mbektas Jan 5, 2024
88c7663
cleanup
mbektas Jan 5, 2024
ae8fe84
improve env list panel layout
mbektas Jan 5, 2024
7b8a90f
fix styling issues on linux
mbektas Jan 5, 2024
e14d7f8
fix popup initialization issue on first launch
mbektas Jan 5, 2024
dacf891
handle exception when using appData.pythonPath
mbektas Jan 5, 2024
c1cdd78
highlight current env, fix issue with currentPythonPath calculation
mbektas Jan 5, 2024
5ea08af
show detailed env validation error message
mbektas Jan 6, 2024
348c2ca
improve package list input check
mbektas Jan 6, 2024
36c42b9
launch terminal and show in finder
mbektas Jan 7, 2024
32afe74
fix terminal launch in win
mbektas Jan 7, 2024
fce4987
linux launch terminal implementation
mbektas Jan 7, 2024
dcb57fd
CLI updates to sync with env management UI
mbektas Jan 7, 2024
b121929
add env to registry only if it includes jupyterlab, fix linux menu se…
mbektas Jan 8, 2024
86c6f65
conda channels setting, new CLI options, env list load progress message
mbektas Jan 19, 2024
6af2702
Update package.json
mbektas Jan 19, 2024
3383544
give detailed error on conda-lock call error
mbektas Jan 19, 2024
c33520a
show download log
mbektas Jan 19, 2024
a44eef8
CLI updates
mbektas Jan 20, 2024
2061a97
use getCondaPath, getSystemPythonPath
mbektas Jan 20, 2024
6376dcc
escape backslash properly on Windows
mbektas Jan 20, 2024
68956d5
update env select popup
mbektas Jan 21, 2024
e5b2dc1
update environment after rebase
mbektas Jan 23, 2024
aa8b96d
unsign only bundled installer binaries, improve CLI error handling
mbektas Jan 23, 2024
64089cb
rediscover Python envs directory, update manage envs styling
mbektas Jan 23, 2024
30255cc
fix server launch issue on Windows
mbektas Jan 24, 2024
4f4bf1b
confirm env delete
mbektas Jan 24, 2024
b019a8e
use classic solver for installing additional packages to conda-pack g…
mbektas Jan 25, 2024
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 .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ typedoc-theme/
.vscode/

env_installer

src/assets/uFuzzy.iife.min.js
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@
.vscode/

env_installer

src/assets/uFuzzy.iife.min.js
15 changes: 14 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,20 @@
"env": {
"NODE_ENV": "development"
}
}
},
{
"name": "Debug CLI",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
"args" : [".", "env", "list"],
"outputCapture": "std",
"preLaunchTask": "npm: build",
"env": {
"NODE_ENV": "development"
}
}
]
}

16 changes: 8 additions & 8 deletions env_installer/conda-linux-64.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated by conda-lock.
# platform: linux-64
# input_hash: b0bc926d98175b3a6e2c78129c99b7c2c0db86132f246b27e8bb0915464669eb
# input_hash: b62b27af5c80ee49992715b3ac6ef942d473c872c0003c1b2aca8c5c0c71bde5
@EXPLICIT
https://conda.anaconda.org/conda-forge/linux-64/_libgcc_mutex-0.1-conda_forge.tar.bz2#d7c89558ba9fa0495403155b64376d81
https://conda.anaconda.org/conda-forge/linux-64/ca-certificates-2023.11.17-hbcca054_0.conda#01ffc8d36f9eba0ce0b3c1955fa780ee
Expand Down Expand Up @@ -61,7 +61,7 @@ https://conda.anaconda.org/conda-forge/linux-64/brotli-bin-1.1.0-hd590300_1.cond
https://conda.anaconda.org/conda-forge/linux-64/freetype-2.12.1-h267a509_2.conda#9ae35c3d96db2c94ce0cef86efdfa2cb
https://conda.anaconda.org/conda-forge/linux-64/krb5-1.21.2-h659d440_0.conda#cd95826dbd331ed1be26bdf401432844
https://conda.anaconda.org/conda-forge/linux-64/libarchive-3.7.2-h2aa1ff5_1.conda#3bf887827d1968275978361a6e405e4f
https://conda.anaconda.org/conda-forge/linux-64/libopenblas-0.3.25-pthreads_h413a1c8_0.conda#d172b34a443b95f86089e8229ddc9a17
https://conda.anaconda.org/conda-forge/linux-64/libopenblas-0.3.26-pthreads_h413a1c8_0.conda#760ae35415f5ba8b15d09df5afe8b23a
https://conda.anaconda.org/conda-forge/linux-64/libtiff-4.6.0-ha9c0a0a_2.conda#55ed21669b2015f77c180feb1dd41930
https://conda.anaconda.org/conda-forge/linux-64/python-3.8.18-hd12c33a_1_cpython.conda#134e8a55d40a80865a092c0a8bdb0c40
https://conda.anaconda.org/conda-forge/noarch/archspec-0.2.2-pyhd8ed1ab_0.conda#0dc2fce00a160271714647c019e3a8a8
Expand Down Expand Up @@ -89,13 +89,13 @@ https://conda.anaconda.org/conda-forge/linux-64/jsonpointer-2.4-py38h578d9bd_3.c
https://conda.anaconda.org/conda-forge/noarch/jupyterlab_widgets-3.0.9-pyhd8ed1ab_0.conda#8370e0a9dc443f9b45a23fd30e7a6b3b
https://conda.anaconda.org/conda-forge/linux-64/kiwisolver-1.4.5-py38h7f3f72f_1.conda#b66dcd4f710628fc5563ad56f02ca89b
https://conda.anaconda.org/conda-forge/linux-64/lcms2-2.16-hb7c19ff_0.conda#51bb7010fc86f70eee639b4bb7a894f5
https://conda.anaconda.org/conda-forge/linux-64/libblas-3.9.0-20_linux64_openblas.conda#2b7bb4f7562c8cf334fc2e20c2d28abc
https://conda.anaconda.org/conda-forge/linux-64/libblas-3.9.0-21_linux64_openblas.conda#0ac9f44fc096772b0aa092119b00c3ca
https://conda.anaconda.org/conda-forge/linux-64/libcurl-8.5.0-hca28451_0.conda#7144d5a828e2cae218e0e3c98d8a0aeb
https://conda.anaconda.org/conda-forge/linux-64/markupsafe-2.1.3-py38h01eb140_1.conda#2dabf287937cd631e292096cc6d0867e
https://conda.anaconda.org/conda-forge/linux-64/markupsafe-2.1.4-py38h01eb140_0.conda#4e4a02ad88d2ea7eddefa3a13994d8eb
https://conda.anaconda.org/conda-forge/linux-64/menuinst-2.0.2-py38h578d9bd_0.conda#c1514fdcdcb7d1c4d1224e50e5e83773
https://conda.anaconda.org/conda-forge/noarch/mistune-3.0.2-pyhd8ed1ab_0.conda#5cbee699846772cc939bef23a0d524ed
https://conda.anaconda.org/conda-forge/noarch/munkres-1.1.4-pyh9f0ad1d_0.tar.bz2#2ba8498c1018c1e9c61eb99b973dfe19
https://conda.anaconda.org/conda-forge/noarch/nest-asyncio-1.5.9-pyhd8ed1ab_0.conda#6c59cb840d511a1a997998d55e68516c
https://conda.anaconda.org/conda-forge/noarch/nest-asyncio-1.6.0-pyhd8ed1ab_0.conda#6598c056f64dc8800d40add25e4e2c34
https://conda.anaconda.org/conda-forge/linux-64/openjpeg-2.5.0-h488ebb8_3.conda#128c25b7fe6a25286a48f3a6a9b5b6f3
https://conda.anaconda.org/conda-forge/noarch/packaging-23.2-pyhd8ed1ab_0.conda#79002079284aa895f883c6b7f3f88fd6
https://conda.anaconda.org/conda-forge/noarch/pandocfilters-1.5.0-pyhd8ed1ab_0.tar.bz2#457c2c8c08e54905d6954e79cb5b5db9
Expand Down Expand Up @@ -159,11 +159,11 @@ https://conda.anaconda.org/conda-forge/noarch/jinja2-3.1.3-pyhd8ed1ab_0.conda#e7
https://conda.anaconda.org/conda-forge/noarch/jsonpatch-1.33-pyhd8ed1ab_0.conda#bfdb7c5c6ad1077c82a69a8642c87aff
https://conda.anaconda.org/conda-forge/linux-64/jupyter_core-5.7.1-py38h578d9bd_0.conda#083d6afb9942e024c66e79f797ae6a38
https://conda.anaconda.org/conda-forge/noarch/jupyterlab_pygments-0.3.0-pyhd8ed1ab_0.conda#3f0915b1fb2252ab73686a533c5f9d3f
https://conda.anaconda.org/conda-forge/linux-64/libcblas-3.9.0-20_linux64_openblas.conda#36d486d72ab64ffea932329a1d3729a3
https://conda.anaconda.org/conda-forge/linux-64/liblapack-3.9.0-20_linux64_openblas.conda#6fabc51f5e647d09cc010c40061557e0
https://conda.anaconda.org/conda-forge/linux-64/libcblas-3.9.0-21_linux64_openblas.conda#4a3816d06451c4946e2db26b86472cb6
https://conda.anaconda.org/conda-forge/linux-64/liblapack-3.9.0-21_linux64_openblas.conda#1a42f305615c3867684e049e85927531
https://conda.anaconda.org/conda-forge/linux-64/libmamba-1.5.6-had39da4_0.conda#d6213d8b3abe12c556f007894752ef41
https://conda.anaconda.org/conda-forge/noarch/matplotlib-inline-0.1.6-pyhd8ed1ab_0.tar.bz2#b21613793fcc81d944c76c9f2864a7de
https://conda.anaconda.org/conda-forge/noarch/overrides-7.4.0-pyhd8ed1ab_0.conda#4625b7b01d7f4ac9c96300a5515acfaa
https://conda.anaconda.org/conda-forge/noarch/overrides-7.6.0-pyhd8ed1ab_0.conda#3ed0205566229c23c70fd9e6318e0568
https://conda.anaconda.org/conda-forge/noarch/pexpect-4.8.0-pyh1a96a4e_2.tar.bz2#330448ce4403cc74990ac07c555942a1
https://conda.anaconda.org/conda-forge/linux-64/pillow-10.2.0-py38ha43c96d_0.conda#6d41caaaba25a751cdab3fc61e69de0d
https://conda.anaconda.org/conda-forge/noarch/pip-23.3.2-pyhd8ed1ab_0.conda#8591c748f98dcc02253003533bc2e4b1
Expand Down
Loading