Module: check_mk
Branch: master
Commit: 092bb7bb6c68588e1bf1f5aaf938bbf2be968147
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=092bb7bb6c6858…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Aug 24 13:49:12 2018 +0200
Snapins can now be customized
* The snapin developer can make a default snapin customizable
by subclassing from CustomizableSidebarSnapin.
* The user can then navigate to "Add snapin page > Custom snapins"
to manage his custom snapins.
* When editing such a custom snapin the attributes of the snapin
can be edited. The user can also choose to share this dashlet
with other users.
* Once a custom snapin has been created, the user can choose the
new dashlet from the "add snapin page" for adding it to his
dashboard.
* As first dashlet, the Tactical Overview snapin can now be configured
to show statistics about custom sets of hosts / services / events.
It can also be configured to show or not show stale objects and
failed notifications.
CMK-856
Change-Id: I9e32736d90cd21c6c4aaa08f778ff21970dd1a28
---
cmk/gui/plugins/sidebar/__init__.py | 1 +
cmk/gui/plugins/sidebar/tactical_overview.py | 490 +++++++++++++++++----------
cmk/gui/plugins/sidebar/utils.py | 98 ++++++
cmk/gui/sidebar.py | 162 +++++++--
tests/unit/web/test_sidebar.py | 1 +
5 files changed, 548 insertions(+), 204 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=092bb7bb6c…