-
Notifications
You must be signed in to change notification settings - Fork 537
Support New Dashboard release #2635
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
Support New Dashboard release #2635
Conversation
Important Auto Review SkippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughThe updates across various files introduce support for a legacy version of the ZenML Dashboard, enabling users to choose between the new and legacy versions. These changes involve adding configuration parameters, environment variables, and conditional logic to facilitate backward compatibility and user flexibility in selecting the dashboard version. Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
@coderabbitai review |
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.
Actionable comments posted: 7
* Add dashboard v2 source context (#2642) * use legacy url for stacks and stack components * Add dashboard v2 source context (#2642) * use legacy url for stacks and stack components * remove leaked change --------- Co-authored-by: Michael Schuster <[email protected]>
…s://github.com/zenml-io/zenml into feature/OSSK-526-support-oss-dashboard-release
…s://github.com/zenml-io/zenml into feature/OSSK-526-support-oss-dashboard-release
@coderabbitai review |
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.
Actionable comments posted: 2
Out of diff range and nitpick comments (4)
scripts/install-dashboard.sh (4)
8-8
: Ensure consistency in variable naming for clarity.Consider renaming
LEGACY_INSTALL_DIR
toINSTALL_DIR_LEGACY
to maintain consistency withINSTALL_DIR
.
5-11
: > 📝 NOTEThis review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [10-18]
Improve user guidance in error messages.
Consider providing more specific guidance on how to install missing tools or disable checksum verification in the error messages.
32-33
: Clarify the error message for better user understanding.Consider specifying which exact directory entries need to be removed from the
.gitignore
file in the error message.
105-105
: Enhance error messaging for checksum verification failure.Consider providing suggestions on what to do next or how to troubleshoot when the checksum verification fails.
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.
LGTM
Not waiting for MacOS tests, since they will fail, as expected - fix is happening on another branch. |
Describe changes
ZenML can run with new dashboard by default!
Switch to old is still supported either with Server Config (env
ZEN_SERVER_USE_LEGACY_DASHBOARD
) or with--legacy
flag ofzenml up
.v0.17.0-rc1
, we will switch tolatest
after testing)--legacy
flag tozenml up
to run the old dashboarduse_legacy_dashboard
server config option, defaulted to False => new dashboard is default oneWhat's New
feature of the new dashboardZEN_SERVER_USE_LEGACY_DASHBOARD
envDocs update will follow separately
Pre-requisites
Please ensure you have done the following:
develop
and the open PR is targetingdevelop
. If your branch wasn't based on develop read Contribution guide on rebasing branch to develop.Types of changes
Summary by CodeRabbit
New Features
--legacy
option.Enhancements
Documentation