-
Notifications
You must be signed in to change notification settings - Fork 0
Fix Extension Hijacking and Dashboard URLs #14
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
Fix Extension Hijacking and Dashboard URLs #14
Conversation
… local setup instructions, and adjust Dockerfile for new version. Add node_modules to .vscodeignore and update dependencies in package-lock.json.
…ty with new commands, and add ZenML tutorial view. Adjust Dockerfile and .vscodeignore for new versioning. Improve logging for extension activation.
…ctionality, and add auto-open tutorial feature. Adjust Dockerfile and package files accordingly. Improve error handling and logging during activation.
…nd package files accordingly, and add codicon.css for icon support. Modify .vscodeignore to exclude node_modules and update build workflow for new versioning.
…in the binary file.
…ocally and renumber steps for clarity.
…in package files, Dockerfile, and build workflow for consistent versioning across all components.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I honestly have no way of checking this :D
|
||
# Determine base URL based on environment | ||
is_codespace = os.environ.get("CODESPACES") == "true" | ||
is_tutorial_enabled = os.environ.get("ZENML_ENABLE_TUTORIAL") == "true" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Who sets this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this would be set by default in codespaces containers
if is_codespace or is_tutorial_enabled or is_remote: | ||
dashboard_base = "https://cloud.zenml.io" | ||
else: | ||
dashboard_base = "http://127.0.0.1:8237" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well it isnt always local is it? The server url can be an OSS URL?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's an OSS url?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@safoinme open source deployment of the server
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how can we know that url? is it already defined like the 2 in top? if not users can change it via extension settings https://open-vsx.org/extension/zenml-io/zenml-tutorial#%F0%9F%94%A7-settings-json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cant we somehow fetch it? im not sure myself... maybe the way you describe it is the way to go @safoinme
…o package files, Dockerfile, and README for improved user guidance and consistent versioning across components.
…in package files, build workflow, and the addition of the new VSIX file for consistent versioning across all components.
…in package files, Dockerfile, build workflow, and the addition of the new VSIX file for consistent versioning across all components.
…sistency and improved dependency management.
…uding @azure/core-auth, @azure/core-client, @azure/core-rest-pipeline, and others, ensuring compatibility with Node.js 20 and improving overall package management.
…in package files, Dockerfile, build workflow, and the addition of the new VSIX file for consistent versioning across all components.
No description provided.