-
Notifications
You must be signed in to change notification settings - Fork 442
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
UI: Handle missing TrialTemplates #1652
UI: Handle missing TrialTemplates #1652
Conversation
Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>
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.
Thank you for this fix @kimwnasptd.
Just small comment from me.
...eta1/frontend/src/app/pages/experiment-creation/trial-template/trial-template.component.html
Outdated
Show resolved
Hide resolved
Co-authored-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
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
@kimwnasptd Please can you cherry-pick this commit on release-0.12 branch ?
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andreyvelich, kimwnasptd 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 |
* Use YAML input if TrialParams are missing Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com> * review: Separate TrialTemplates in two words Co-authored-by: Andrey Velichkevich <andrey.velichkevich@gmail.com> Co-authored-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
closes #1620
This is also part of the 0.12 release effort #1597
The UI should gracefully handle the case of missing TrialParameters.
I changed the UI to use
yaml
input by default and if no TrialTemplates were found then theConfigMap
option would be disabled. If the TrialTemplates were fetched correctly, and are not an empty list, then the UI will select theConfigMap
option.Checklist:
/cc @andreyvelich
/assign @kimwnasptd