Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,348
Community Members
 
Community Events
165
Community Groups

Change number of days Uptime shown

I would like to control the number of days shown on the "uptime bar"

Snag_386181.png

It defaults to 90 but I can see that dynamically based on screen size it will reduce to 30 and 60.

function getKeyAndCount(width) {
if (width <= MOBILE_MAXIMUM_WIDTH || (width > TWO_COLUMN_BREAKPOINT && colCount === 3)) {
return { dayCount: 30, uptimeKey: 'thirty', singleColumn: width <= MOBILE_MAXIMUM_WIDTH }
} else if (width <= DESKTOP_MINIMUM_WIDTH || (width > ONE_COLUMN_BREAKPOINT && colCount > 1)) {
return { dayCount: 60, uptimeKey: 'sixty' }
} else {
return { dayCount: 90, uptimeKey: 'ninety' }
}
}

 

But is there any way I can force it to always for instance display 30 no matter about screen size??

 

 

 

 

2 answers

Hi there, 

Not sure if this feature is till into consideration. I have open a ticket SPSP-6909 for the same request to reduce the uptime showcase to 30 days but it does not appear to be implemented yet.  

Regards,

Jibin

0 votes

Hey John,

Great question. These 30/60/90 day views are ones that were just recently implemented in the product, to provide a better experience on smaller screen sizes. As it stands today, these views are coded to be a responsive design only - in other words, the view changes as the screen and window size changes, but there isn't a setting to force one of those views for all all screen sizes.

We'll get this opened as a feature request for consideration internally, as we have seen a few other customers looking for limited uptime showcase views. For the time being, a savvy frontend web developer on your team might be able to add some custom HTML or CSS in the Customize > Customize status page > Customize HTML & CSS section that can mimic these truncated views even on larger screens.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Statuspage

New feature: Slack notifications for Statuspage

We're excited to announce the release of a long-requested feature on Statuspage. Now visitors to your status page can subscribe to get notified in Slack when you report an incident or maintenance. Th...

3,046 views 8 20
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you