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

Make deployment and build config pages more consistent #1032

Merged
merged 1 commit into from
Dec 14, 2016

Conversation

spadgett
Copy link
Member

@spadgett spadgett commented Dec 13, 2016

@jwforres
Copy link
Member

This does give us a little space for doing a more detailed status there, like the metrics for the current deployment and / or the pod donut? doesnt necessarily need to happen in this PR just throwing the idea out

@spadgett spadgett changed the title [WIP] Make deployment and build config pages more consistent Make deployment and build config pages more consistent Dec 13, 2016
@spadgett
Copy link
Member Author

@jwforres PTAL, ready for review if you're OK with the change. I think it's an improvement.

@@ -75,8 +75,8 @@
<div class="row" ng-if="loaded">
<div class="col-md-12" ng-class="{ 'hide-tabs' : !buildConfig }">
<uib-tabset>
<uib-tab active="selectedTab.summary">
<uib-tab-heading>Summary</uib-tab-heading>
<uib-tab active="selectedTab.builds">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will invalidate bookmarked URLs from 3.4, can you just validate if someone comes in with tab=summary that it correctly resets the url to tab=builds

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The link works and shows the first tab, but it doesn't update the param in the URL. I can change that if you like.

<div class="h3">
<span class="last-status">
<status-icon status="latestBuild.status.phase"></status-icon>
Last build
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm i actually dont care for this change, i dont like "Last" in the context of a running build

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I was trying to avoid "Latest deployment" since that has a specific meaning (and not always most recent). I changed it here to be consistent, but I can change it back.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe I'll just take out "Last" and say, "Build #12 is running."

<uib-tab active="selectedTab.details">
<uib-tab-heading>Details</uib-tab-heading>
<uib-tab active="selectedTab.replicaSets">
<uib-tab-heading>Replica Sets</uib-tab-heading>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how would you feel about "History" instead. I don't really like the tab being called Replica Sets

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The command is also oc rollout history, so I think "History" is better

@jwforres
Copy link
Member

jwforres commented Dec 13, 2016 via email

@jwforres
Copy link
Member

jwforres commented Dec 13, 2016 via email

@spadgett spadgett force-pushed the bc-dc-tabs branch 2 times, most recently from f2d685f to bf8353b Compare December 13, 2016 22:27
@spadgett
Copy link
Member Author

@jwforres thanks, updated

@spadgett
Copy link
Member Author

@jwforres updated to use "History" as tab header

@jwforres
Copy link
Member

[merge]

@openshift-bot
Copy link

Evaluated for origin web console merge up to 500aded

@openshift-bot
Copy link

openshift-bot commented Dec 14, 2016

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

@openshift-bot openshift-bot merged commit 076ed5a into openshift:master Dec 14, 2016
@spadgett spadgett deleted the bc-dc-tabs branch December 16, 2016 17:24
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