Skip to content
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

Conversation

kimwnasptd
Copy link
Member

@kimwnasptd kimwnasptd commented Sep 1, 2021

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 the ConfigMap option would be disabled. If the TrialTemplates were fetched correctly, and are not an empty list, then the UI will select the ConfigMap option.

Screenshot from 2021-09-01 19-30-43

Checklist:

  • Docs included if any changes are user facing

/cc @andreyvelich
/assign @kimwnasptd

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>
Copy link
Member

@andreyvelich andreyvelich left a 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.

Co-authored-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
Copy link
Member

@andreyvelich andreyvelich left a 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 ?

@google-oss-robot
Copy link

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-robot google-oss-robot merged commit 6d2c8bb into kubeflow:master Sep 6, 2021
kimwnasptd added a commit to arrikto/katib that referenced this pull request Sep 6, 2021
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[UI] Unable to select Experiment parameters
3 participants