Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: a0ac50c1d7e888a85646ee58c99e5dc74cde6a10
https://github.com/tribe29/checkmk/commit/a0ac50c1d7e888a85646ee58c99e5dc74…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2022-07-27 (Wed, 27 Jul 2022)
Changed paths:
M cmk/gui/pagetypes.py
Log Message:
-----------
Move class to the bottom
Change-Id: I7df2523ef54a8bfec0a7b846a65a0d518a5622e5
Commit: 9f4a439d95d747f4b495445db8f47736fafb2b20
https://github.com/tribe29/checkmk/commit/9f4a439d95d747f4b495445db8f47736f…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2022-07-27 (Wed, 27 Jul 2022)
Changed paths:
M cmk/gui/pagetypes.py
Log Message:
-----------
Simplify pagetypes class hierarchy
The previous implementation was based on mixins and multiple inheritance
which made it quite hard to understand. In fact we only have two
variants we need to support:
CustomGraphPage(pagetypes.PageRenderer, pagetypes.OverridableContainer)
ForecastGraph(pagetypes.PageRenderer, pagetypes.OverridableContainer)
GraphCollection(pagetypes.PageRenderer, pagetypes.OverridableContainer)
CustomSnapins(pagetypes.Overridable)
BookmarkList(pagetypes.Overridable)
GraphTuning(pagetypes.Overridable)
SLAPagetype(pagetypes.Overridable)
PagetypeTopics(pagetypes.Overridable)
This change is now transforming the previous hierarchy to a cleaner
class hierarchy.
Change-Id: I575926042e868158f8c4098476847507f40a3f5b
Compare:
https://github.com/tribe29/checkmk/compare/a275df931653...9f4a439d95d7