Skip to content

Build plan visibility - #3392

Merged
vito merged 5 commits into
masterfrom
feature/2116-build-plan-visibility
Apr 1, 2019
Merged

vito merged 5 commits into
masterfrom
feature/2116-build-plan-visibility

Conversation

@jwntrs

@jwntrs jwntrs commented Feb 26, 2019 •

Copy link
Copy Markdown
Contributor

Don't show the build plan for private jobs.

fixes #2116

#2116

Signed-off-by: Josh Winters <[email protected]>
Co-authored-by: Mark Huang <[email protected]>
@jwntrs

jwntrs commented Feb 26, 2019

Copy link
Copy Markdown
Contributor Author

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

@vito
vito marked this pull request as ready for review March 13, 2019 16:08

@xtreme-james-cooper xtreme-james-cooper left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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

planAndResourcesFetched :
Concourse.BuildId
-> Result Http.Error ( Concourse.BuildPlan, Concourse.BuildResources )
-> ( Concourse.BuildPlan, Concourse.BuildResources )

Copy link
Copy Markdown
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.

@vito vito left a comment

Copy link
Copy Markdown
Contributor

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

jwntrs commented Mar 29, 2019

Copy link
Copy Markdown
Contributor Author

@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 <[email protected]>
Co-authored-by: Jamie Klassen <[email protected]>
@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