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

Improve Git URL error messages #1059

Merged
merged 1 commit into from
Dec 21, 2016

Conversation

spadgett
Copy link
Member

Previously if you tabbed through the Git URL field without setting a
value, it would highlight the input orange without any text explaining.
Change it to NOT highlight the field until the user types something. If
the user types something and removes it, highlight the field red and
show a required field error. This is consistent with other forms like
"New Project" and the "Name" field just above Git repository on the "Add
to Project" page.

Also add a missing required field message to the build config editor if
you remove the Git URL.

Previously if you tabbed through the Git URL field without setting a
value, it would highlight the input orange without any text explaining.
Change it to NOT highlight the field until the user types something. If
the user types something and removes it, highlight the field red and
show a required field error. This is consistent with other forms like
"New Project" and the "Name" field just above Git repository on the "Add
to Project" page.

Also add a missing required field message to the build config editor if
you remove the Git URL.
@benjaminapetersen
Copy link
Contributor

LGTM, tested & works well!

@spadgett
Copy link
Member Author

[merge]

@openshift-bot
Copy link

Evaluated for origin web console merge up to 4d2774b

@openshift-bot
Copy link

openshift-bot commented Dec 21, 2016

Origin Web Console Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_web_console/878/) (Base Commit: 171a067)

@openshift-bot openshift-bot merged commit ea2a5b6 into openshift:master Dec 21, 2016
@spadgett spadgett deleted the source-url-warning branch December 21, 2016 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants