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

Add in-context Jenkinsfile help #947

Merged
merged 1 commit into from
Nov 29, 2016

Conversation

spadgett
Copy link
Member

@spadgett spadgett commented Nov 29, 2016

Show information about the Jenkinsfile in a modal for pipeline build configs and builds. We give a help link builds that use Jenkinsfile path as well.

https://trello.com/c/nEjWsvyL

openshift_web_console

openshift_web_console

Show the examples below the editor when editing a pipeline so that you can copy and paste.

openshift_web_console

openshift_web_console

@jwforres @bparees @gabemontero @danmcp @sspeiche

@danmcp
Copy link

danmcp commented Nov 29, 2016

These are awesome. What about the case where the jenkins file isn't in the template?

@spadgett
Copy link
Member Author

What about the case where the jenkins file isn't in the template?

I added a link to open the same help dialog when using a Jenkinsfile path instead of an embedded Jenkinsfile.

openshift_web_console

Give a brief description of what a Jenkinsfile is with some examples in
the build config editor and pipeline pages.
@spadgett spadgett force-pushed the jenkinsfile-examples branch from eda9c3e to 0a57f73 Compare November 29, 2016 16:21
@jwforres
Copy link
Member

changes LGTM, will give the others time for feedback

@bparees
Copy link
Contributor

bparees commented Nov 29, 2016

lgtm

@jwforres
Copy link
Member

[merge]

@openshift-bot
Copy link

Evaluated for origin web console merge up to 0a57f73

@openshift-bot
Copy link

openshift-bot commented Nov 29, 2016

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

@openshift-bot openshift-bot merged commit 4cd45b9 into openshift:master Nov 29, 2016
@spadgett spadgett deleted the jenkinsfile-examples branch November 29, 2016 19:30
@sspeiche
Copy link

Very helpful, help icon not enough to launch this?

@spadgett
Copy link
Member Author

help icon not enough to launch this

We could do that, although we've only used the help icon for tooltips elsewhere.

@jwforres @ajacobs21e opinion?

@jwforres
Copy link
Member

jwforres commented Nov 30, 2016 via email

@ajacobs21e
Copy link

(?) should be for popovers only.

There isn't anything in PatternFly now about what to call these types of links. UX is kind of split on whether or not we should use questions in a UI - I personally would prefer to not use a question for a link. Other options are "Learn More" or "Learn more about Jenkinsfiles". However since this hasn't been decided in PF yet and there's no consistency across products either option is fine for now.

@ajacobs21e
Copy link

@spadgett @jwforres After talking with UX and thinking some more, learn more isn't quite right either.

"Show examples" is clear what you're going to see after clicking the link.
" > Show examples" for the edit case since the examples show in an expansion.

We could use "Show jenkinsfile examples" but that is getting kind of long and is probably redundant if it's with the jenkinsfile section.

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.

7 participants