-
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
Conditionally render model serving modals #3307
Conditionally render model serving modals #3307
Conversation
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 @jeff-phillips-18 . Tested all modals using shared Model Serving cluster and shared Model Registry cluster. Code updates look good, modals working as expected.
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: jenny-s51 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 |
Towards RHOAIENG-12117
Description
Update usage of modals in the model serving section to render them only when they would be shown rather than having them be rendered but hidden.
How Has This Been Tested?
Run thru the UI and check that then modals are shown only when they should be shown.
Model Serving
pageDeploy model
buttonDeploy model
modal is shownModel Serving
pageDeploy model
buttonDeploy model
modal is shownModel Serving
pageDelete
Delete deployed model?
modal is shownModel Serving
pageEdit
Edit model
modal is shownModel registry settings
pageCreate model registry
buttonCreate model registry
modal is shownModel registry settings
pageView database configuration
View database configuration
modal is shownModel registry settings
pageDelete model registry
Delete model registry?
modal is shownModel registry settings
pageCreate model registry
buttonCreate model registry
modal is shownModels
tabDeploy model
from theSingle-model serving platform
cardDeploy model
modal is shownModels
tabAdd model server
from theMulti-model serving platform
cardAdd model server
modal is shownTest Impact
Current tests already test these modals.
Request review criteria:
Self checklist (all need to be checked):