-
-
Notifications
You must be signed in to change notification settings - Fork 867
Build plan visibility #3392
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
Build plan visibility #3392
Conversation
#2116 Signed-off-by: Josh Winters <jwinters@pivotal.io> Co-authored-by: Mark Huang <mhuang@pivotal.io>
Over to you @pivotal-jamie-klassen @xtreme-james-cooper |
#3392 Signed-off-by: Jamie Klassen <cklassen@pivotal.io>
Signed-off-by: Jamie Klassen <cklassen@pivotal.io>
#2116 Signed-off-by: Jamie Klassen <cklassen@pivotal.io>
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.
I like! The Elm part. You'll still need server-side for the Go ;P
-> Html Msg | ||
body { currentBuild, authorized, showHelp } = | ||
Html.div [ class "scrollable-body build-body" ] <| | ||
if authorized then |
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.
Breaking this garbage 10,000-line function up. YESSSSSSSSSS
@@ -100,60 +100,37 @@ handleStepTreeMsg action model = | |||
|
|||
planAndResourcesFetched : | |||
Concourse.BuildId | |||
-> Result Http.Error ( Concourse.BuildPlan, Concourse.BuildResources ) | |||
-> ( Concourse.BuildPlan, Concourse.BuildResources ) |
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.
...Hrmmm. I get that the tuple is easier to pass from the caller, it just seems... odd.
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.
@pivotal-jwinters looks like this needs a rebase
@pivotal-jamie-klassen mind rebasing this? The golang merge is pretty straight forward. I got part way through the elm stuff and wasn't sure what needed to be kept. |
Signed-off-by: James Cooper <jcooper@pivotal.io> Co-authored-by: Jamie Klassen <cklassen@pivotal.io>
Don't show the build plan for private jobs.
fixes #2116