Bug 1383003

Summary: [userinterface_public_714]Should add a link on Last Version and Version for k8s deployments
Product: OKD Reporter: Yadan Pei <yapei>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED NOTABUG QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.xCC: aos-bugs, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-09 07:00:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Yadan Pei 2016-10-09 02:59:27 UTC
Description of problem:
Should add a link to 'Last Version'  and 'Version'  on browse/deployments and browse/deployment/<deployment_name> page

Version-Release number of selected component (if applicable):
devenv-rhel7_5153
openshift v1.4.0-alpha.0+540c66d
kubernetes v1.4.0+776c994
etcd 3.1.0-alpha.1


How reproducible:
Always

Steps to Reproduce:
1. Create deployment
# cat >> hello-deployment-1.yaml << EOF
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: hello-openshift
spec:
  replicas: 4
  template:
    metadata:
      labels:
        app: hello-openshift
    spec:
      containers:
      - name: hello-openshift
        image: openshift/hello-openshift
        ports:
        - containerPort: 80
  strategy:
    rollingUpdate:
      maxSurge: 3
      maxUnavailable: 2
    type: RollingUpdate

EOF
# oc create -f hello-deployment-1.yaml
deployment "hello-openshift" created
2. Login to web console, go to Applications -> Deployments, check hello-openshift info under Deployments part
3. Click "hello-openshift" in Deployments part, check info on browse/deployment/hello-openshift page

Actual results:
2. There is column 'Last Version', but it's not a link to latest version of deployment
3. 'Last Version' in Status section and 'Version' in Replica Sets section are not links either.

Expected results:
2-3. It's better to add a link for 'Last Version' and 'Version' then user could get latest version of deployment easily

Additional info:

Comment 1 Yadan Pei 2016-10-09 07:00:21 UTC
Checked against latest origin-web-console code(latest commit is 6a784016a2255481933d0c527ad835c9aaa09c14)

[root@ip-172-18-2-206 origin-web-console]# git log -n 1
commit 6a784016a2255481933d0c527ad835c9aaa09c14
Merge: 938caf0 0a1ef10
Author: OpenShift Bot <dmcphers+openshiftbot>
Date:   Fri Oct 7 17:46:08 2016 -0400

    Merge pull request #643 from spadgett/monitoring-rs
    
    Merged by openshift-bot

And it works as expected

Close it