It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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??

 

 

 

 

1 answer

0 votes
PHotch Atlassian Team Feb 13, 2019

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
Community showcase
Published in Statuspage

Try our new Incident Communication Template Generator

Your customers need to know when your software isn't working as expected - but knowing what to say or how to say it isn't always easy, especially in the heat of the moment. To help make incide...

362 views 0 6
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