-
Notifications
You must be signed in to change notification settings - Fork 550
Update deployment server main page #4068
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
Update deployment server main page #4068
Conversation
ZenML CLI Performance Comparison (Threshold: 1.0s, Timeout: 60s, Slow: 5s)❌ Failed Commands on Current Branch (feature/update-deployment-server-main-page)
🚨 New Failures IntroducedThe following commands fail on your branch but worked on the target branch:
Performance Comparison
Summary
Environment Info
|
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 couldnt find a
formelement. Maybe we should use that in combination with<button type="submit">, to get the "keyboard-enter" submission with html native elements
I haven't tested functionality yet, these are just my first findings going through the huge file
| const field = document.createElement('div'); | ||
| field.className = 'output-field'; | ||
| field.innerHTML = ` | ||
| <div class="output-field-key">${key}</div> |
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.
The inner html is set without sanitization.
If the endponit for some reason returns malicious html, this is straight injected here. e.g
<img src=x onerror=alert('XSS from pipeline output')>
| }); | ||
|
|
||
| document.getElementById('rerun-btn').addEventListener('click', runPipeline); | ||
| document.getElementById('delete-btn').addEventListener('click', () => { |
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.
Does the delete-btn actually perform a deletion?
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.
it clears the output
…loyment-server-main-page
|
Those .svg assets are not used anywhere, are they ? |
Documentation Link Check Results❌ Absolute links check failed |
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.
Thanks for adding the API key setter too
Describe changes
I implemented/fixed _ to achieve _.
Pre-requisites
Please ensure you have done the following:
developand the open PR is targetingdevelop. If your branch wasn't based on develop read Contribution guide on rebasing branch to develop.Types of changes