-
Notifications
You must be signed in to change notification settings - Fork 167
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
Add model serving platform settings #1982
Add model serving platform settings #1982
Conversation
@vconzola Can you please check the screenshots in the description, thanks! |
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 info alert when MM is not selected is not added. https://www.sketch.com/s/45df001b-2441-4124-a436-5ae1abb409c9/a/Eej0Yvg
Update: It's already mentioned in PR description, my bad.
Why can't we implement this @DaoDaoNoCode this is just basically a warning from when you uncheck an option that is already selected, just to inform the user what's the flow there |
Btw, @vconzola considering we can disable both models, we'll need another screen for the project section since none of the options are available |
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.
Code looks great, check the comment i left, I don't see why you cannot add the other logic
frontend/src/pages/clusterSettings/ModelServingPlatformSettings.tsx
Outdated
Show resolved
Hide resolved
d4660a7
to
0a8e10c
Compare
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.
Ok, functionality wise it's wroking as expected @christianvogt can you take a closer look at the code, if everything is fine should be ready to go and we can approve it
frontend/src/pages/clusterSettings/ModelServingPlatformSettings.tsx
Outdated
Show resolved
Hide resolved
@DaoDaoNoCode if you want we can do a pair review this evening and get this asap |
@lucferbux Sure, I was busy with the other ticket yesterday and got no time to look at this PR, I will definitely finish this today. |
Yeah, don't worry, just pinging you in case it wasn't in your radar, you are doing an amazing work so far! |
0a8e10c
to
aabc060
Compare
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
/hold |
aabc060
to
68b535a
Compare
/unhold |
/test |
@DaoDaoNoCode: No presubmit jobs available for opendatahub-io/odh-dashboard@f/model-serving In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
68b535a
to
14920ea
Compare
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
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lucferbux The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
c5c3596
into
opendatahub-io:f/model-serving
Closes #1913
Description
Add a section in the cluster settings to control the feature flags
disableKServe
anddisableModelMesh
in the dashboard config. When both checkboxes are unchecked, show a warning alert. When the multi-model option was initially selected but unchecked, show an info alert.How Has This Been Tested?
Test Impact
Add some integration tests on the cluster settings page to see if the alert is properly prompted and if the disablement/enablement state of the save button is performing correctly.
Request review criteria:
Self checklist (all need to be checked):
If you have UI changes:
After the PR is posted & before it merges:
main