Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-72754

Initial load of project sidebar i.e without user actions , different browser have different results on collapsing/expanding of sidebar

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 8.19.0
    • Projects - Sidebar
    • None

      Issue Summary

      Initially when sidebar loads,

      it expands/collapses based on WRM data provider sidebar-collapsed-by-default value 

      but we are seeing different behavior in different browser on bulldog instance

      Steps to Reproduce

      •  Go to Issue View Page & Boards section - Reports, Issues, Component
      •  Clear local storage
      •  Reload the page

      Actual Results

       Issue View (bulldog instance)

      Chrome Firefox Safari
      Working properly in chrome.
      It is expanded by default
       it is getting collapsed Here, it is getting collapsed as well as expanded after few reload of pages

        Boards section - Reports, Issues, Component (bulldog instance)

      Chrome Firefox Safari
      Here, PIN sidebar is expanded Here, it is collapsed Here, it gets expanded as well as collapsed after few page reloads

      Expected Results

      Collapsed/expanded states
       

      Project sidebar behavior
       
      Software Boards
      Viewport not narrow
       
      Other
      Viewport not narrow
       
      Viewport narrow
      (fly-out)
       
      Initial collapsed by default
      WRM data provider key sidebar-collapsed-by-default is true
      expanded by default
      WRM data provider key sidebar-collapsed-by-default is undefined
      collapsed state only
      window.localStorage['\\{{jira-sidebar-collapsed}}'] is not affected
      User Actions window.localStorage['\\{{jira-sidebar-collapsed}}'] = true (collapsed)
      window.localStorage['\\{{jira-sidebar-collapsed}}'] =false (expanded)
      state not maintained from WRM data provider
      window.localStorage['\\{{jira-sidebar-collapsed}}'] = true (collapsed)
      window.localStorage['\\{{jira-sidebar-collapsed}}'] =false (expanded)
      state not maintained from WRM data provider
      collapsed state only
      window.localStorage['\\{{jira-sidebar-collapsed}}'] is not affected by user actions

       

       

      Workaround

      the issue doesn’t appear when a user at least interacted with the collapse/expand sidebar feature (so that there’s an explicit value in the storage) 

       

              Unassigned Unassigned
              a086b578588b Shruti Holennavar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: