[ZBXNEXT-4049] Option to hide timeline in Problems widget Created: 2017 Aug 24 Updated: 2024 Apr 10 Resolved: 2018 Aug 01 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Frontend (F) |
Affects Version/s: | 3.4.0 |
Fix Version/s: | 4.0.0beta1, 4.0 (plan) |
Type: | New Feature Request | Priority: | Trivial |
Reporter: | Valdis Murzins | Assignee: | Vasily Goncharenko (Inactive) |
Resolution: | Fixed | Votes: | 2 |
Labels: | dashboard | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
||||||||
Epic Link: | DEV-654 | ||||||||
Team: | Team D | ||||||||
Sprint: | Sprint 15, Sprint 35, Sprint 36, Sprint 37, Sprint 38, Sprint 39 | ||||||||
Story Points: | 0.5 |
Description |
For dashboard widget 'Problems' in configuration add checkbox to show timeline. This allows to safe space in 'Problems' widget. |
Comments |
Comment by Vitaly Zhuravlev [ 2017 Aug 28 ] |
Please also consider other improvements, suggested here: palivoda - discussed during design day. Taken for implementation. CLOSED |
Comment by Vasily Goncharenko (Inactive) [ 2018 Jun 12 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-4049 |
Comment by Vasily Goncharenko (Inactive) [ 2018 Jun 25 ] |
Implemented in:
|
Comment by Alexander Vladishev [ 2018 Jul 20 ] |
(9) [F] frontends/php/app/controllers/CControllerWidgetProblemsView.php - these changes are useless and must be reverted @@ -43,6 +43,8 @@ $config = select_config(); + list($sortfield, $sortorder) = self::getSorting($fields['sort_triggers']); + $data = CScreenProblem::getData([ 'show' => $fields['show'], 'groupids' => getSubGroups($fields['groupids']), @@ -53,9 +55,10 @@ 'evaltype' => $fields['evaltype'], 'tags' => $fields['tags'], 'maintenance' => $fields['maintenance'], - 'unacknowledged' => $fields['unacknowledged'] + 'unacknowledged' => $fields['unacknowledged'], + 'show_timeline' => ($sortfield === 'clock') ? $fields['show_timeline'] : 0 ], $config); - list($sortfield, $sortorder) = self::getSorting($fields['sort_triggers']); + $data = CScreenProblem::sortData($data, $config, $sortfield, $sortorder); $info = _n('%1$d of %3$d%2$s problem is shown', '%1$d of %3$d%2$s problems are shown', basilgon RESOLVED r82917 sasha CLOSED |
Comment by Vasily Goncharenko (Inactive) [ 2018 Jul 30 ] |
Fixed in:
|