-
Type:
Bug
-
Resolution: Timed out
-
Priority:
Low
-
Component/s: Board - Sprints
-
1
-
Minor
-
1
Issue Summary
This is reproducible on Data Center: no
When navigating to any project, if you open issues in the side bar then press 'z' to enter presentation mode (and you have the issue view set to sidebar), the issue view in the sidebar disappears but the extra white space for the sidebar is still there. Customer is expecting the issue view to remain.
I am not sure what the intended behavior is. Either the sidebar SHOULD be hidden (in which case the white space should not be there and the board should re-expand to take up the full screen) or the side bar SHOULD NOT be hidden (in which case the issue should not disappear).
Watching the source in browser dev tools I saw the following:
This div contains the board:
<div id="ghx-pool-column" class="ghx-flexible-board ghx-pool-column-compact">
This div contains the sidebar:
<div id="ghx-detail-view" class="ghx-detail-view gh-editable-detail-view ui-resizable" style="width: 440px; display: none;">
When the sidebar is expanded, the ghx-pool-column-compact class is added to the div with id="ghx-pool-column". When the sidebar is closed (either by clicking the X or pressing 't' on the keyboard, the ghx-pool-column-compact class is removed, the style display: none; is added to <div id="ghx-detail-view" > and the entire subtree structure of * <div id="ghx-detail-view" > is destroyed.*
However, when you execute the following sequence, the class remains:
- Click issue to open in sidebar
- Press 'z'
So the problem appears to lie in whatever javascript is responsible for removing this class when the 'z' key is pressed.
Steps to Reproduce
- Open project
- Select any issue
- Click ... in top right corner
- Select "Open issues in sidebar"
- Press 'z' to enter presentation mode
- Sidebar disappears but the white space for the sidebar remains
Expected Results
Customer is expecting the sidebar issue view to still be visible when entering presentation mode via the 'z' shortcut.
Actual Results
The issue view in the sidebar disappears but the extra white space for the sidebar is still there.
Workaround
Once you enter presentation mode and the sidebar issue view disappears, you can workaround the issue by pressing the 't' keyboard shortcut once to remove the whitespace or twice if you want the sidebar to make the issue view reappear.