Skip to content

Conversation

jwntrs
Copy link
Contributor

@jwntrs jwntrs commented Feb 26, 2019

Don't show the build plan for private jobs.

fixes #2116

#2116

Signed-off-by: Josh Winters <jwinters@pivotal.io>
Co-authored-by: Mark Huang <mhuang@pivotal.io>
@jwntrs
Copy link
Contributor Author

jwntrs commented Feb 26, 2019

Over to you @pivotal-jamie-klassen @xtreme-james-cooper

Jamie Klassen added 2 commits March 13, 2019 10:34
#3392

Signed-off-by: Jamie Klassen <cklassen@pivotal.io>
Signed-off-by: Jamie Klassen <cklassen@pivotal.io>
@vito vito marked this pull request as ready for review March 13, 2019 16:08
#2116

Signed-off-by: Jamie Klassen <cklassen@pivotal.io>
Copy link
Contributor

@xtreme-james-cooper xtreme-james-cooper left a 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
Copy link
Contributor

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 )
Copy link
Contributor

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.

Copy link
Member

@vito vito left a 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

@vito vito self-assigned this Mar 19, 2019
@jwntrs
Copy link
Contributor Author

jwntrs commented Mar 29, 2019

@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>
@vito vito merged commit cd8efe9 into master Apr 1, 2019
@vito vito deleted the feature/2116-build-plan-visibility branch April 1, 2019 19:27
@vito vito added the release/documented Documentation and release notes have been updated. label Apr 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release/documented Documentation and release notes have been updated. web-ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Logged out users can see build tasks
4 participants