Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Background

This page is to document the workaround to hide the links to access the logged in users' favourite dashboards


BeforeAfter
Top menu bar
Image Removed

Image Added

Image Removed

Image Added

Side bar
Image Removed

Image Added

Image Removed

Image Added


Info
titleDesign Considerations:

The Favourites tab was added so that:

  • existing users who are used to the original Jira Favourites can still find it from the Dashboard page
  • users with no folders set up will not be able to navigate to other dashboards

Also if a user is in the Favourites tab right before the script is applied, they will be stuck in the Favourites tab as the user's last tab state is saved.

^ Please note the above considerations before applying the workaround

Steps

  1. Log in as an administrator into Jira
  2. Select User Interface > Announcement banner in the System panel or use the shortcut 'g'+'g' and type in "Announcement Banner"
  3. Enter the relevant CSS below into the Announcement field:

    1. Code Block
      languagecss
      titleHide Favourites tab from the side bar
      <style>
      #d-side-nav>ul>li#tabs-oFavorites-tab, #d-side-nav>ul>li#tabs-origFav-tab, #d-side-nav>ul>li#tabs-dFolders-tab {
          display: none !important;
      }
      
      #d-side-nav>div#tabs-dFolders, .dtab-content {
          border-top: none;
      	margin-top: 2.5em;
      }
      
      .dtab-content.current {
          display: none;
      }
      
      div#tabs-dFolders {
      	display: block !important;
      }
      </style>



    2. Code Block
      languagecss
      titleHide Favourites menu item from the top menu bar
      <style>
      div#dfolder_favourites {
          display: none;
      }
      
      div#d_folder_section {
          border-top: none;
          margin-top: 0;
          padding-top: 0;
      }
      </style>


  4. Set the Visibility Level for the banner to Public if necessary
  5. Click the Set Banner button

...