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

Suggest run name based on the pipeline version used to create run #2731

Merged
merged 13 commits into from
Dec 17, 2019

Conversation

jingzhang36
Copy link
Contributor

@jingzhang36 jingzhang36 commented Dec 13, 2019

A couple of optimization to save some clicks for our users when creating runs:

  1. auto select default version to create run if not from any selected version's detail page
  2. auto suggest a run name

This change is Reviewable

@jingzhang36 jingzhang36 changed the title Run name Suggest run name based on the pipeline version used to create run Dec 13, 2019
robustness: we arrive at newrun page with version id but no pipeline id
frontend/src/pages/NewRun.test.tsx Outdated Show resolved Hide resolved
frontend/src/pages/NewRun.test.tsx Outdated Show resolved Hide resolved
@jingzhang36
Copy link
Contributor Author

/test kubeflow-pipeline-e2e-test

@jingzhang36
Copy link
Contributor Author

/test kubeflow-pipeline-sample-test

@Bobgy
Copy link
Contributor

Bobgy commented Dec 17, 2019

/lgtm
/approve
Thanks! This will be very convenient

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Bobgy

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

@jingzhang36
Copy link
Contributor Author

/test kubeflow-pipeline-sample-test

1 similar comment
@jingzhang36
Copy link
Contributor Author

/test kubeflow-pipeline-sample-test

@k8s-ci-robot k8s-ci-robot merged commit 3a84418 into kubeflow:master Dec 17, 2019
Jeffwan pushed a commit to Jeffwan/pipelines that referenced this pull request Dec 9, 2020
…beflow#2731)

* Suggest run name

* refactor to combine similiar code block

* Tests

* format

* Add handling for a case which we shouldn't run into now but just for
robustness: we arrive at newrun page with version id but no pipeline id

* Attach random number to suggested run name; remove a code block that is
currently not used

* format

* address comments

* format

* refactor spy func

* refactor random string
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.

3 participants