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,294,639
Community Members
 
Community Events
165
Community Groups

Can the default for components be to always show expanded?

Edited

Is there css or html code that would default the Component groups of  components to always show expanded when the status is operational?

1 answer

0 votes
Zach Atlassian Team Apr 13, 2020

Hey David!

That's a great question! While troubleshooting custom JS/HTML/CSS is out of the scope of a Statuspage support ticket, I wanted to take a crack at solving this over lunch and I think I might have found a positive result. 

I'm no web developer, but below is something I added in the footer section when customizing my page to get have component groups automatically expanded on page load - 

<script>
  $(function() {
    HRB.utils.djshook('component-group-opener').find('.group-parent-indicator').filter('.fa-plus-square-o').toggleClass('fa-plus-square-o').toggleClass('fa-minus-square-o').parent().parent().parent().toggleClass('open');
  });
</script>


Hopefully that helps! I'd just like to note you will need to be on a page plan that allows the use of custom JS for this to work. 

Hi Zach,

 

Could you advise me on what snippet I would need to use to achieve the reverse? I want all Component groups to show up in Contracted form even when one of the Components is marked as part of an Incident.

 

Thanks

@Gokul Varma This here worked for me.

<script>
  $(function() {
    HRB.utils.djshook('component-group-opener').find('.group-parent-indicator').filter('.fa-minus-square-o').toggleClass('fa-minus-square-o').toggleClass('fa-plus-square-o').parent().parent().parent().toggleClass('open');
  });
</script>

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,053 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