Bug 813613 - No outage information in community
Summary: No outage information in community
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Website
Version: 1.x
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Clayton Coleman
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-18 03:30 UTC by Clayton Coleman
Modified: 2012-06-08 17:58 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-08 17:58:57 UTC
Target Upstream Version:


Attachments (Terms of Use)
OpenIssue button in console page (2.66 KB, image/png)
2012-04-19 06:50 UTC, Xiaoli Tian
no flags Details
Fixed Issue Color (15.80 KB, image/png)
2012-05-15 05:50 UTC, Xiaoli Tian
no flags Details

Description Clayton Coleman 2012-04-18 03:30:47 UTC
The community can't display outage information - it would be better if we include it.

Switch from reading filesystem to using a JS call to inject the dom behavior necessary.

Change status_app to support taking an id attribute on the JS call, which updates an existing dom node.  Change site to remove references to outage_notification.  Add a new hidden element to the top navigation bar of console and site and community.  When an issue is open, the nav bar should have an orange button in the site and a gray link in the header (may be orange in new console). Status will be cached for up to 5 minutes in the browser but will then be refreshed.

To test:
Visit site, community, and console in different browsers.  Only link in upper right should be signin, signout, and manage apps.
From command line on devenv, in /var/www/stickshift/site/app/subsites/status/ run ./rhc-outage 'issue title' 'issue body' to create a new issue.
Go back to the browser.  
Clear the browser cache.
Visit community, site, and console.  Verify in all three there is a link in upper right that says "1 open issue".  Verify link goes to status page.
Go back to command line and issue "./rhc-outage resolve <issue number from previous issue> 'resolved'"
Go back to browser, wait 6 minutes.  Click another link in the browser, verify link in upper right has disappeared.

Comment 1 Clayton Coleman 2012-04-18 03:31:01 UTC
Fixed in master

Comment 2 Xiaoli Tian 2012-04-19 06:49:57 UTC
Tested in on devenv_1731 on IE9, Firefox3.6, Chrome 17,

When a new issue is created, an outage button will show on marketing page, console and community.

When another new issue is created, outage button will increase the open issues number

When issue are all resolved, the button will be hidden.


But the button in marketing page and community page is yellow,  but in console page, it's black, not be highlighted (see attachment below)

Comment 3 Xiaoli Tian 2012-04-19 06:50:44 UTC
Created attachment 578519 [details]
OpenIssue button in console page

Comment 4 Xiaoli Tian 2012-05-15 05:49:43 UTC
Move it to ON_QA, since we found the fix in latest devenv-stage build

Comment 5 Xiaoli Tian 2012-05-15 05:50:44 UTC
Created attachment 584542 [details]
Fixed Issue Color

Verified it on devenv-stage_194, it's fixed now


Note You need to log in before you can comment on or make changes to this bug.