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

0.0.11 #32

Merged
merged 357 commits into from
Aug 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
357 commits
Select commit Hold shift + click to select a range
41b8fc3
Update command registrations for servers, pipelines, and stacks
marwan37 Mar 19, 2024
b136cb1
Refine UI components and event handling for smoother interactions
marwan37 Mar 19, 2024
2824d6e
Update utils to help with tests
marwan37 Mar 19, 2024
884797a
Initialize EventBus in extension.ts and streamline package.json commands
marwan37 Mar 19, 2024
6d38da4
Update test suite and mocks to align with latest extension and server…
marwan37 Mar 19, 2024
bbbe42a
Specify timeout for subprocess in lsp_zenml.py to avoid hanging
marwan37 Mar 19, 2024
770749f
Refactor version check following CodeRabbit's suggestion
marwan37 Mar 19, 2024
6e528a7
Add flexible method in LSClient to abstract LSP command requests
marwan37 Mar 19, 2024
6dfa2c5
Remove debug notifications from lsp_server.py
marwan37 Mar 19, 2024
9b55638
Update MockLSClient with sendLsClientRequest method, and integrate ch…
marwan37 Mar 19, 2024
49b1d17
Add license field to package.json
marwan37 Mar 19, 2024
e48795a
Run format on all typescript and json files
marwan37 Mar 19, 2024
d857469
Fix linting errors, document and re-orgnaize bundled/tool python files
marwan37 Mar 20, 2024
d28213e
Improved logging suppression during dynamic/lazy imports
marwan37 Mar 20, 2024
6d3faa7
Separate stack and component fetching
marwan37 Mar 20, 2024
d29b198
Improve docs for lazy_import.py and suppress log noise when executing…
marwan37 Mar 20, 2024
e9ee383
Remove unnecessary event listeners and notifications for background r…
marwan37 Mar 20, 2024
4788dee
Rename ZenML Python to ZenML, and cleanup console logs
marwan37 Mar 20, 2024
423e781
Refactor LSClient for direct config updates and optimize event handling
marwan37 Mar 20, 2024
f3969a4
Optimize file watcher for minimal notifications and improve utility f…
marwan37 Mar 20, 2024
511dc5d
Update command utilities and UI views for better stack and server han…
marwan37 Mar 20, 2024
085c498
Refine ServerInfoTypes and update package.json for new file watcher c…
marwan37 Mar 20, 2024
fd38cfc
Adjust tests and MockLSClient for updated ServerDataProvider logic
marwan37 Mar 20, 2024
d580a8c
Run format on all ts files and remove unused imports
marwan37 Mar 20, 2024
0528363
Refactor codebase for improved testability and implement minor optimi…
marwan37 Mar 22, 2024
d9c427a
Run format/lint on all ts files
marwan37 Mar 22, 2024
531c2a9
Prompt user for python interpreter if ZenML isntallation not found, a…
marwan37 Mar 22, 2024
86a541c
Run format/lint scripts
marwan37 Mar 22, 2024
8f3bcd2
Add info popup letting users know ZenML installation was found
marwan37 Mar 22, 2024
470c2a3
Prevent re-prompting for interpreter on cancellation and refine feedb…
marwan37 Mar 22, 2024
cadb8c4
Refactor ZenML LSP server initialization and checks
marwan37 Mar 23, 2024
c6e96ce
Move global config watcher to zen_watcher.py as ZenConfigWatcher
marwan37 Mar 23, 2024
f52ba64
Implement async checks for ZenML installation in lsp_zenml.py
marwan37 Mar 23, 2024
92945dd
Clean up activation logic, only restart server in ZenExtension's prom…
marwan37 Mar 23, 2024
0534f2d
Clean up main extension.ts, and adjust other files to integrate chang…
marwan37 Mar 23, 2024
a113de5
Implement coderabbit suggestions to improve config watcher, add const…
marwan37 Mar 23, 2024
a297c5c
Correct constant names, and only register pytool commands once zenml …
marwan37 Mar 23, 2024
445b42e
Improve interpreter selection logic to await ZenML readiness post-ser…
marwan37 Mar 23, 2024
abd4098
Adjust context manager to only suppress stdout when executing LSP com…
marwan37 Mar 23, 2024
8eca9dc
Run format/lint scripts and add lint script
marwan37 Mar 23, 2024
6ddd431
Update scripts/lint.sh to exit if the directory change fails
marwan37 Mar 23, 2024
cab059e
Update scripts/lint.sh to separate the declaration and assignment of …
marwan37 Mar 23, 2024
7c85f43
Dynamically get cwd of workspace rather than hardcoding a slash durin…
marwan37 Mar 23, 2024
6b7ef10
Update README with more details for usage, development, and troublesh…
marwan37 Mar 24, 2024
d12dfd3
Add ZenML environment view to activity bar (for python interpreter an…
marwan37 Mar 24, 2024
e693d78
update all commands with decorator
marwan37 Mar 24, 2024
de7b942
Add script to clear cache and recompile
marwan37 Mar 24, 2024
6189b7b
Rely on onDidChangePythonInterpreter handler to restart the server af…
marwan37 Mar 24, 2024
a6add5e
Add package.nls.json for documentation purposes and remove unused com…
marwan37 Mar 24, 2024
16ffbdc
Update Environment data provider, items, and commands
marwan37 Mar 24, 2024
716e98f
Refactor
marwan37 Mar 24, 2024
b6b6996
Update language server implementation and supporting tooling
marwan37 Mar 25, 2024
236a91b
Run format/lint scripts
marwan37 Mar 25, 2024
e20a57e
Add safety checks to prevent potential script errors – from coderabbit
marwan37 Mar 25, 2024
001ea85
Add comment to clarify event handler will trigger the LSP restart aft…
marwan37 Mar 25, 2024
88f3343
Update README with new environment view details
marwan37 Mar 25, 2024
ee537fd
Refactor zenml_wrappers.py for compatibility with ZenML v0.55.0+, sto…
marwan37 Mar 25, 2024
615c91a
Add setInterpreter command to environmentview's interpreter tree items
marwan37 Mar 26, 2024
94034ab
Increase timeout to 20 seconds for extension launch in .vscode/launch…
marwan37 Mar 26, 2024
f278310
Make url clickable, and improve error handling
marwan37 Mar 27, 2024
e3f05fd
fetch all stacks, rather than by page, and improve error handling
marwan37 Mar 27, 2024
4866569
send events for lsClient, zenmlClient readiness and state to show rel…
marwan37 Mar 27, 2024
d182b71
Add new types for error tree items, and add new test for the ServerDa…
marwan37 Mar 27, 2024
282ca8f
Run format/lint scripts
marwan37 Mar 27, 2024
cee352c
Add pagination to allow fetching stacks in batches of 20, until total…
marwan37 Mar 27, 2024
d1468a3
Add option to set max items per page for stacks
marwan37 Mar 27, 2024
c19000f
Allow setting max pipeline run items per page, and list by most recen…
marwan37 Mar 27, 2024
b18bcfe
Add command tree items for next/prev pipeline runs
marwan37 Mar 27, 2024
46f29fa
Remove preview=true from package.json, and add missing commands to pa…
marwan37 Mar 27, 2024
481d8a9
Add details to package.json to prepare for publishing
marwan37 Mar 27, 2024
286857a
add gif to readme
strickvl Mar 27, 2024
e512dba
use publisher ID
strickvl Mar 27, 2024
8b8c891
use publisher ID everywhere
strickvl Mar 27, 2024
0ebe969
Edit readme
marwan37 Mar 27, 2024
a651a22
Update README.md
marwan37 Mar 27, 2024
3a2c4c3
fix typo
strickvl Mar 27, 2024
0174aa9
Merge branch 'python-lsp-integration' of https://github.com/marwan37/…
strickvl Mar 27, 2024
89b2ab3
add license shield
strickvl Mar 27, 2024
4aaae68
Add installation and version requirements for ZenML extension
strickvl Mar 27, 2024
31157c6
Small change
strickvl Mar 27, 2024
d3a0bca
add links
strickvl Mar 27, 2024
7e524ab
display active stack in status bar again
marwan37 Mar 27, 2024
2985e77
Add contributing.md
marwan37 Mar 27, 2024
038cb22
edit contrib
marwan37 Mar 27, 2024
b3a663f
Small nits for contributing document
strickvl Mar 27, 2024
be2fc19
Merge pull request #6 from marwan37/python-lsp-integration
strickvl Mar 27, 2024
bc7dccc
update package.json metadata
strickvl Mar 27, 2024
156159b
remove beta designation
strickvl Mar 27, 2024
05f2e5c
use zenml-vscode as extension name
strickvl Mar 27, 2024
7cf026a
use zenml studio as name
strickvl Mar 27, 2024
19c28c8
add logo
strickvl Mar 27, 2024
29a8a66
bump version
strickvl Mar 27, 2024
29dd99d
bump version to 0.0.3
strickvl Mar 27, 2024
e89aa1c
Refactor UI for improved UX
marwan37 Apr 2, 2024
c3656f7
Add ruff for Python linting, update requirements and lint script, app…
marwan37 Apr 3, 2024
330baef
Regenrate requirements.txt to include ruff
marwan37 Apr 3, 2024
c72b8d2
Ensure environment view shows loading/correct state and icons when re…
marwan37 Apr 3, 2024
9ea55c1
Show 'you may need to rerun zenml connect message when Authentication…
marwan37 Apr 3, 2024
f7608be
Add colors to icons
marwan37 Apr 3, 2024
dcb323b
Make connection and disconnection cancellable
marwan37 Apr 3, 2024
783b3e8
Consolidate statusBar items to one item, and correctly display active…
marwan37 Apr 3, 2024
a9eca07
Run Format/lint scripts
marwan37 Apr 3, 2024
5edbb5c
Update ErrorTreeItem.ts for better readability
marwan37 Apr 3, 2024
17e264a
Apply suggestions from code review
marwan37 Apr 4, 2024
e47d353
Apply suggestions from code review
marwan37 Apr 4, 2024
42ecb30
Remove ruff from requirements.in, and ununsed dependencies from packa…
marwan37 Apr 4, 2024
e5b5b1b
Add functionality to switch stacks on status bar click, for both conn…
marwan37 Apr 4, 2024
9d091a6
Include all project files
marwan37 Apr 5, 2024
668bc35
upate lint
marwan37 Apr 5, 2024
c0461dc
Register status bar command outside constructor to prevent test confl…
marwan37 Apr 5, 2024
308f51c
Add running of format/lint scripts to ci.yml
marwan37 Apr 5, 2024
631b194
Run format/lint scripts
marwan37 Apr 5, 2024
277498c
Prevent QuickPick on error in stacks, and utilize existing state rath…
marwan37 Apr 5, 2024
dda2e4c
Merge pull request #21 from marwan37/general-ui-enhancements
strickvl Apr 5, 2024
70bc167
Version 0.0.4 release
strickvl Apr 5, 2024
6fb7dca
Update requirements.in with Conda env fixes for Python < 3.11
marwan37 Apr 7, 2024
c7f70e0
Add/fix type annotations and function signatures, and ensure TextIOWr…
marwan37 Apr 7, 2024
925d20b
Update typing imports and safely handle initialization options
marwan37 Apr 7, 2024
26a077c
Refactor lsp_utils.py: Add Optional type hinting
marwan37 Apr 7, 2024
6013c4a
Refactor ZenConfigWatcher class to improve readability and error hand…
marwan37 Apr 7, 2024
b816dc5
Refactor error handling and logging in lsp_zenml.py
marwan37 Apr 7, 2024
012c9a1
Add types-PyYAML package and type check Python files with mypy
marwan37 Apr 7, 2024
2d162e1
Update formatting and linting scripts to format/lint yaml files with …
marwan37 Apr 7, 2024
48e51e3
Add mypy configuration file
marwan37 Apr 7, 2024
2b0020f
Update CI workflow to include formatting and linting scripts
marwan37 Apr 8, 2024
e1ee951
Add release workflow for publishing VSCode extension
marwan37 Apr 8, 2024
279c013
Refactor typing imports and remove unused code
marwan37 Apr 8, 2024
82f5b21
Add release process documentation
marwan37 Apr 8, 2024
5c75087
Add mypy cache to .gitignore and update package.json scripts
marwan37 Apr 8, 2024
341e8d4
Add release workflow and documentation, and update package.json
marwan37 Apr 8, 2024
321c15f
Add mypy to dependencies in ci.yml
marwan37 Apr 8, 2024
b46189e
Update CI workflow and add requirements-dev.txt
marwan37 Apr 8, 2024
b7ef8dd
Update CI workflow and dependencies
marwan37 Apr 8, 2024
b964100
Update format/lint scripts, and add separate GH Action for linting
marwan37 Apr 8, 2024
531843e
Update cache-dependency-path in lint and ci workflows
marwan37 Apr 8, 2024
5948f69
feat:add sidebar links to open dashboard for stacks and runs
frye-t Apr 26, 2024
4d3d986
Fixed package.nls.json error
frye-t Apr 26, 2024
8dacf71
Merge pull request #24 from frye-t/feature/dashboard-links
strickvl May 24, 2024
b158640
Merge branch 'develop' into enhance/lint-ci-conda-release
strickvl May 24, 2024
9e94674
Prettier formatting
strickvl May 24, 2024
4f8ff04
Merge pull request #23 from marwan37/enhance/lint-ci-conda-release
strickvl May 24, 2024
3208653
Bump version
strickvl May 24, 2024
8912fde
Merge branch 'develop' of https://github.com/zenml-io/vscode-zenml in…
strickvl May 24, 2024
8ff93a6
Update link for contributing guidelines document
strickvl Jun 24, 2024
314206a
feat: Render DAG visualization for runs from context button
Christopher-R-Perkins Jul 3, 2024
b19f48f
fix: prevent panel from opening multiple times, if button clicked mul…
ErikWiens Jul 5, 2024
d0d2308
feat: dag webview changed from pure svg to svg+html
Christopher-R-Perkins Jul 5, 2024
4dfbbe2
feat: changed nodes on dag to foreign objects instead of overlay
Christopher-R-Perkins Jul 6, 2024
05d0e38
feat: Dag now has orthagonal edges
Christopher-R-Perkins Jul 8, 2024
a38b967
feat: added pan and zoom to dag visualization
Christopher-R-Perkins Jul 8, 2024
9693a28
fix: prevent ignoring zenml config change due to debounce
Christopher-R-Perkins Jul 9, 2024
1e858e8
feat: add progress indicator for image loading in WebView panel
ErikWiens Jul 9, 2024
61702d4
feat: Added error notifcation for failed DAG data retrieval
Christopher-R-Perkins Jul 9, 2024
e124a88
feat: Dag hover node -> highlight edges
Christopher-R-Perkins Jul 9, 2024
40312b7
chore: Moved Dag Renderer to its own class.
Christopher-R-Perkins Jul 9, 2024
ec5dadf
feat: Added colored icons to DAG view
Christopher-R-Perkins Jul 9, 2024
83323a3
feat: Added ability to retrieve single pipeline run from ZenML client
Christopher-R-Perkins Jul 10, 2024
e2c4209
feat: Added dashboard url to server info
Christopher-R-Perkins Jul 10, 2024
974abe5
feat: Added ability to pull steps and artifacts via ZenML client
Christopher-R-Perkins Jul 10, 2024
ee8cf49
feat: Added ability to get DAG data from ZenML client
Christopher-R-Perkins Jul 10, 2024
ba6c307
feat: add update button to DAG panel if DAG run still running or init…
ErikWiens Jul 11, 2024
a17751e
feat: Changed update bar to title/update bar
Christopher-R-Perkins Jul 11, 2024
376b634
feat: Dag Node onclick goes to dashboard
Christopher-R-Perkins Jul 11, 2024
ee3173f
feat: Added ZenML Panel for data view with DAG step/artifact
Christopher-R-Perkins Jul 11, 2024
535d688
chore: Added Documentation To DAG view
Christopher-R-Perkins Jul 11, 2024
de7cd4c
fix: Pipeline Url now goes to new dashboard
Christopher-R-Perkins Jul 11, 2024
cf8d4f8
feat: Changed way node urls are accessed - now via panel or dbl click
Christopher-R-Perkins Jul 12, 2024
c46dfd2
feat: Sped up graph building by implementing own solution
Christopher-R-Perkins Jul 12, 2024
3ae30f1
feat: Packed webview js and updated security for it
Christopher-R-Perkins Jul 14, 2024
b9f8b03
feat: Added loading indicator when retrieving step/artifact in panel
Christopher-R-Perkins Jul 14, 2024
50989d9
feat: Updated readme with rundown of DAG visualization feature
Christopher-R-Perkins Jul 14, 2024
19dc93a
chore: removed unused imports
Christopher-R-Perkins Jul 14, 2024
38d77e9
chore: implemented code rabbit suggestions
Christopher-R-Perkins Jul 15, 2024
9c18b5c
chore: refactor DagRenderer.createView to fit code rabbit suggestions
Christopher-R-Perkins Jul 15, 2024
5594a86
chore: Moved messageHandler for webviewpanel into own method for read…
Christopher-R-Perkins Jul 15, 2024
e238f28
chore: Refactored createMessageHandler and added error logs as sugges…
Christopher-R-Perkins Jul 15, 2024
37007c9
Fix linting
strickvl Jul 16, 2024
d4d6a19
fix: Fixed initializing edges list as list, not dict in grapher
Christopher-R-Perkins Jul 16, 2024
68161cd
fix: updated context mock in activation test
Christopher-R-Perkins Jul 16, 2024
2760d9e
chore: Implemented Alex's notes from code review
Christopher-R-Perkins Jul 16, 2024
0a959de
Merge pull request #25 from Christopher-R-Perkins/feature/dag-visualizer
strickvl Jul 16, 2024
c145552
chore(deps-dev): bump braces from 3.0.2 to 3.0.3
dependabot[bot] Jul 16, 2024
4991d8b
update package.json
strickvl Jul 16, 2024
c8cf2c2
update package-lock.json
strickvl Jul 16, 2024
29d1848
Merge pull request #26 from zenml-io/dependabot/npm_and_yarn/braces-3…
strickvl Jul 16, 2024
186c28b
add install script
strickvl Jul 16, 2024
4c035c8
Bump version
strickvl Jul 16, 2024
2be54b2
feat: move panel observer code from DagRenderer to Panel
ErikWiens Jul 16, 2024
e1d0741
Bump and remove preview setting
strickvl Jul 16, 2024
cd5eb37
fix: added dag-packed.js.map to gitignore
Christopher-R-Perkins Jul 17, 2024
8cf077c
fix: handled error when trying to stop a LS that is not running while…
Christopher-R-Perkins Jul 17, 2024
78128c9
feat: add panel opens when click on plus icon to create a new stack
ErikWiens Jul 17, 2024
51084af
Merge pull request #27 from Christopher-R-Perkins/fix/lsclient-enviro…
strickvl Jul 17, 2024
b3191ec
bump version
strickvl Jul 17, 2024
09bf036
fix: removed use of pydantic json() call from get_server_info due to …
Christopher-R-Perkins Jul 17, 2024
3265772
fix: Updated getGlobalConfig to not use pydantic json() call like get…
Christopher-R-Perkins Jul 17, 2024
4851065
Merge pull request #28 from Christopher-R-Perkins/fix/server_info
strickvl Jul 18, 2024
a0ce66e
Bump version to 0.0.10
strickvl Jul 18, 2024
e42f90c
add install script
strickvl Jul 16, 2024
ddc2cc4
Bump version
strickvl Jul 16, 2024
962ad91
Bump and remove preview setting
strickvl Jul 16, 2024
749b35f
fix: added dag-packed.js.map to gitignore
Christopher-R-Perkins Jul 17, 2024
87d38fe
fix: handled error when trying to stop a LS that is not running while…
Christopher-R-Perkins Jul 17, 2024
eecef5f
bump version
strickvl Jul 17, 2024
59e9909
fix: removed use of pydantic json() call from get_server_info due to …
Christopher-R-Perkins Jul 17, 2024
8e6127e
fix: Updated getGlobalConfig to not use pydantic json() call like get…
Christopher-R-Perkins Jul 17, 2024
70109cc
Bump version to 0.0.10
strickvl Jul 18, 2024
f019708
feat: Added Stack Components view to activity bar
Christopher-R-Perkins Jul 18, 2024
47cc7bd
feat: Added Refresh and ItemsPerPage commands to Components View
Christopher-R-Perkins Jul 18, 2024
ed47209
chore: Refactored Pagination in DataProviders to base class
Christopher-R-Perkins Jul 18, 2024
0dc748a
feature: Added listFlavors command to LS
Christopher-R-Perkins Jul 18, 2024
b8c172b
chore: Moved extension context functionality to new base class for Da…
Christopher-R-Perkins Jul 19, 2024
c6034f0
feat: Stack Form is now being rendered
Christopher-R-Perkins Jul 19, 2024
82cda5d
feat: move panel observer code from DagRenderer to Panel
ErikWiens Jul 16, 2024
dfc34cc
feat: add panel opens when click on plus icon to create a new stack
ErikWiens Jul 17, 2024
8b67d44
feat: Added Stack Components view to activity bar
Christopher-R-Perkins Jul 18, 2024
85dd63c
feat: Added Refresh and ItemsPerPage commands to Components View
Christopher-R-Perkins Jul 18, 2024
47af9e7
chore: Refactored Pagination in DataProviders to base class
Christopher-R-Perkins Jul 18, 2024
b62ee9c
feature: Added listFlavors command to LS
Christopher-R-Perkins Jul 18, 2024
7366ff0
chore: Moved extension context functionality to new base class for Da…
Christopher-R-Perkins Jul 19, 2024
c01a62f
feat: Stack Form is now being rendered
Christopher-R-Perkins Jul 19, 2024
ebbf5d4
Merge branch 'zenml-io-develop' into feature/mlstacks
Christopher-R-Perkins Jul 19, 2024
90b223c
feature: Added ability to Create/Update Stacks
Christopher-R-Perkins Jul 19, 2024
0d43baf
feat: Added create_component to zenml wrapper
Christopher-R-Perkins Jul 21, 2024
60a845c
feat: createComponent command added to component view
Christopher-R-Perkins Jul 21, 2024
453d7ad
feat: create component form is functional
Christopher-R-Perkins Jul 22, 2024
d076333
feat: improvements to validating and data types when submititing new …
Christopher-R-Perkins Jul 23, 2024
109551e
feat: added ability to update stack components
Christopher-R-Perkins Jul 23, 2024
55cfa65
feat: Added ability to delete stack components
Christopher-R-Perkins Jul 23, 2024
3c6636d
fix: Added page navigation when page is no longer valid on paginated …
Christopher-R-Perkins Jul 23, 2024
b0c7366
feat: Added ability to delete stacks.
Christopher-R-Perkins Jul 23, 2024
0238218
chore: Removed opening empty optional fields when updating a component.
Christopher-R-Perkins Jul 23, 2024
5758fec
chore: Added documentation to wrapper functions.
Christopher-R-Perkins Jul 23, 2024
07e0259
chore: Added documentation to added typescript features
Christopher-R-Perkins Jul 23, 2024
d6caec2
chore: Updated README description of features
Christopher-R-Perkins Jul 24, 2024
0cbacf0
chore: implemented code rabbit suggestions
Christopher-R-Perkins Jul 24, 2024
2d11525
chore: Added license to files missing it.
Christopher-R-Perkins Jul 24, 2024
ad400c3
fix: Added check if updated stack component data differs from schema …
Christopher-R-Perkins Jul 24, 2024
a033c0f
chore: Fixed typo contianing to containing
Christopher-R-Perkins Jul 24, 2024
6ed6acb
chore: replaced all mention of create with register
Christopher-R-Perkins Jul 24, 2024
ac4ec98
fix: Updated Content-Security-Policy on all three webviews and set pr…
Christopher-R-Perkins Jul 24, 2024
1bb20f9
chore: Changed create verbage in README to register
Christopher-R-Perkins Jul 24, 2024
6ac8078
Merge pull request #29 from Christopher-R-Perkins/feature/mlstacks
strickvl Jul 25, 2024
85ca717
fix: Extension now correctly detects if zenml is not installed.
Christopher-R-Perkins Jul 30, 2024
d32aca5
update minimum version
strickvl Jul 31, 2024
043c400
fix: Removed Pipeline Run Version for .63
Christopher-R-Perkins Jul 31, 2024
8ae4dfb
Merge branch 'develop' into fix/pipeline-run-api-change
strickvl Jul 31, 2024
b06ee03
Merge pull request #30 from Christopher-R-Perkins/fix/pipeline-run-ap…
strickvl Jul 31, 2024
13c257f
bump version
strickvl Jul 31, 2024
d5d163b
Merge branch 'main' into develop
strickvl Aug 23, 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
28 changes: 28 additions & 0 deletions .coderabbit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
language: "en"
early_access: false
reviews:
request_changes_workflow: false
high_level_summary: true
poem: true
review_status: true
collapse_walkthrough: false
path_filters:
- "!**/.xml"
path_instructions:
- path: "**/*.js"
instructions: "Review the JavaScript code for conformity with the Google JavaScript style guide, highlighting any deviations."
- path: "**/*.ts"
instructions: "Review the Typescript code for conformity with industry standards and best practices, highlighting any deviations."
- path: "**/*.py"
instructions: |
"Review the Python code for conformity with Python best practices and industry standards, highlighting any deviations."
auto_review:
enabled: true
ignore_title_keywords:
- "WIP"
- "DO NOT MERGE"
drafts: false
base_branches:
- "develop"
chat:
auto_reply: true
19 changes: 19 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"],

"rules": {
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/consistent-type-definitions": ["error", "type"]
},

"env": {
"browser": true,
"es2021": true
}
}
24 changes: 24 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/naming-convention": [
"warn",
{
"selector": "import",
"format": ["camelCase", "PascalCase"]
}
],
"@typescript-eslint/semi": "warn",
"curly": "warn",
"eqeqeq": "warn",
"no-throw-literal": "warn",
"semi": "off"
},
"ignorePatterns": ["out", "dist", "**/*.d.ts"]
}
40 changes: 40 additions & 0 deletions .github/actions/lint/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: Lint
description: Lint TypeScript and Python code
runs:
using: composite
steps:
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: npm
cache-dependency-path: package-lock.json
- name: Install Node dependencies
run: npm ci
shell: bash
- name: Lint TypeScript code
run: npm run lint
shell: bash
- name: Check TypeScript format
run: npm run format-check
shell: bash
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: Pip cache
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-lint-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-lint-
- name: Install Python dependencies
run: |
python -m pip install -U pip
pip install -r requirements-dev.txt
shell: bash
- name: Lint Python and YAML code
run: ./scripts/lint.sh
shell: bash
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: VSCode Extension CI
on: [push, pull_request]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Lint
uses: ./.github/actions/lint
build-and-test:
needs: lint
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: npm
cache-dependency-path: package-lock.json
- name: Install Node dependencies
run: npm ci
- name: Compile TS tests
run: npm run pretest
- name: Run headless test
uses: coactions/setup-xvfb@v1
with:
run: npm test
40 changes: 40 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: Publish VSCode Extension
on:
release:
types: [created]
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: 18.x
cache: npm
- name: Install dependencies
run: npm ci
- name: Build Extension
run: npm run package
- name: Package Extension
run: npm run vsce-package
- name: Publish Extension
if: success() && startsWith(github.ref, 'refs/tags/')
run: npm run deploy
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
- name: Generate Changelog
if: success() && startsWith(github.ref, 'refs/tags/')
run: |
git log $(git describe --tags --abbrev=0)..HEAD --oneline > CHANGELOG.txt
cat CHANGELOG.txt
- name: Create GitHub Release
if: success() && startsWith(github.ref, 'refs/tags/')
uses: ncipollo/release-action@v1
with:
artifacts: zenml.vsix
bodyFile: CHANGELOG.txt
tag: ${{ github.ref_name }}
token: ${{ secrets.GITHUB_TOKEN }}
43 changes: 43 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
.DS_Store
Thumbs.db
.vscode-test/
.idea/
.eslintcache
lib-cov
*.log
*.log*
pids

# Node
.npm/
node_modules/
npm-debug.log

# Build outputs
dist/
out/
build/
*.tsbuildinfo
.history/
dag-packed.js
dag-packed.js.map

# env
.env
.env*

# Output of 'npm pack'
*.tgz

# mypy
.mypy_cache/

# From vscode-python-tools-extension-template
*.vsix
.venv/
.vs/
.nox/
bundled/libs/
**/__pycache__
**/.pytest_cache
**/.vs
11 changes: 11 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"printWidth": 100,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"proseWrap": "preserve",
"singleQuote": true,
"arrowParens": "avoid",
"trailingComma": "es5",
"bracketSpacing": true
}
7 changes: 7 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[MESSAGES CONTROL]
disable=
C0103, # Name doesn't conform to naming style
C0415, # Import outside toplevel
W0613, # Unused argument
R0801, # Similar lines in multiple files
R0903, # Too few public methods
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 20.10.0
5 changes: 5 additions & 0 deletions .vscode-test.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { defineConfig } from '@vscode/test-cli';

export default defineConfig({
files: 'out/test/**/*.test.js',
});
9 changes: 9 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"dbaeumer.vscode-eslint",
"amodio.tsl-problem-matcher",
"ms-vscode.extension-test-runner"
]
}
18 changes: 18 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// A launch configuration that compiles the extension and then opens it inside a new window
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
{
"version": "0.2.0",
"configurations": [
{
"name": "Run Extension",
"type": "extensionHost",
"request": "launch",
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
"preLaunchTask": "${defaultBuildTask}",
"timeout": 20000
}
]
}
19 changes: 19 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Place your settings in this file to overwrite default and user settings.
{
"python.defaultInterpreterPath": "",
"files.exclude": {
"out": false, // set this to true to hide the "out" folder with the compiled JS files
"dist": false // set this to true to hide the "dist" folder with the compiled JS files
},
"search.exclude": {
"out": true, // set this to false to include "out" folder in search results
"dist": true // set this to false to include "dist" folder in search results
},
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
"typescript.tsc.autoDetect": "off",
"python.testing.pytestArgs": ["src/test/python_tests"],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"python.testing.cwd": "${workspaceFolder}",
"python.analysis.extraPaths": ["bundled/libs", "bundled/tool"]
}
45 changes: 45 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "watch",
"problemMatcher": "$ts-webpack-watch",
"isBackground": true,
"presentation": {
"reveal": "never",
"group": "watchers"
},
"group": {
"kind": "build",
"isDefault": true
}
},
{
"type": "npm",
"script": "watch-tests",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never",
"group": "watchers"
},
"group": "build"
},
{
"label": "tasks: watch-tests",
"dependsOn": ["npm: watch", "npm: watch-tests"],
"problemMatcher": []
},
{
"type": "npm",
"script": "compile",
"group": "build",
"problemMatcher": [],
"label": "npm: compile",
"detail": "webpack"
}
]
}
15 changes: 15 additions & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.vscode/**
.vscode-test/**
out/**
node_modules/**
src/**
.gitignore
.yarnrc
webpack.config.js
vsc-extension-quickstart.md
**/tsconfig.json
**/.eslintrc.json
**/*.map
**/*.js.map
**/*.ts
**/.vscode-test.*
Loading
Loading