View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0025594 | mantisbt | ui | public | 2019-03-12 17:41 | 2019-04-21 02:53 |
Reporter | cproensa | Assigned To | cproensa | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Target Version | 2.21.0 | Fixed in Version | 2.21.0 | ||
Summary | 0025594: Projects menu search box should be hidden when having a small number of projects | ||||
Description | In the navbar projects menu, when the number of available projects is 10 or less, the search box is supposed to be hidden. | ||||
Tags | No tags attached. | ||||
MantisBT: master d47a7c60 2019-03-09 08:12 Committer: dregad Details Diff |
Projects list js Changes and clean up for the navbar project list dropdown: - When the dropdown is displayed: - Apply focus to the active list element to position the scrollable area over that element. - If the list is empty, apply focus to the searchbox. - Manage key events in the dropdown elements: - When using the list and any key not related to list navigation is pressed (for example, typing a text for searching), switch the focus to the search box for it to receive the input. - When using the searchbox and any key of up, down, pageup, pagedown, is pressed, switch the focus to the list to allow navigating with keyboard. - Escape key in the search box will close the dropdown. - Fix hiding the searchbox when only 10 or less items are displayed. - Code clean-up: - Move all the code related to the navbar projects menu to the same place in the js file. - Rename variables for less probability of collision with other unrelated code. Fixes: 0023037, 0025594 |
Affected Issues 0023037, 0025594 |
|
mod - js/common.js | Diff File | ||
MantisBT: master 9ba56530 2019-04-13 08:25 Details Diff |
Fix projects selector navigation and search Fixes 0023037, 0025594 PR https://github.com/mantisbt/mantisbt/pull/1478 |
Affected Issues 0023037, 0025594 |
|
mod - core/layout_api.php | Diff File | ||
mod - css/ace-mantis.css | Diff File | ||
mod - js/common.js | Diff File |