Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: bafdcdc19d43b9551b58a3e67327ecdfb45e044b
https://github.com/tribe29/checkmk/commit/bafdcdc19d43b9551b58a3e67327ecdfb…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2022-09-13 (Tue, 13 Sep 2022)
Changed paths:
M cmk/gui/dashboard.py
M cmk/gui/plugins/dashboard/builtin.py
M cmk/gui/plugins/dashboard/utils.py
M cmk/gui/plugins/sidebar/dashboards.py
M cmk/gui/plugins/sidebar/views.py
M cmk/gui/plugins/sidebar/wato.py
M cmk/gui/type_defs.py
M cmk/gui/visuals.py
M cmk/gui/watolib/groups.py
M cmk/update_config/plugins/actions/visuals_utils.py
M tests/unit/cmk/gui/test_dashboard.py
Log Message:
-----------
Change DashboardConfig to TypedDict
This change migrates the dashboard configurations to the TypedDict
DashboardConfig. With this change the dashboard is now the first of 3
visual types to be a typed dict.
Since we have a lot of shipped dashboard configurations this commit is
fairly big. However, most of the changes are updated lines caused by
wrapping the data structures in the TypedDicts, removing useless
attributes and adding some missing attributes to the definitions.
From now on every builtin dashboard configuration is
fully type checked.
Change-Id: Ifb7f78103e4b79fc451119f63e526eaaf796cbf3
Commit: 5adf2541f3bec4615406d6e8b9bbe7a877b143c0
https://github.com/tribe29/checkmk/commit/5adf2541f3bec4615406d6e8b9bbe7a87…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2022-09-13 (Tue, 13 Sep 2022)
Changed paths:
M cmk/gui/data_source.py
M cmk/gui/plugins/views/layouts.py
M cmk/gui/plugins/views/mkeventd.py
M cmk/gui/view_renderer.py
Log Message:
-----------
Preparations for typed ViewSpec #1
Simplify row_id(): It only needs the datasource
Change-Id: Ibacff613e64f971e5cfb6ad9038f50431f311063
Commit: 63f2682415fac860d60c5b16696a55925a4783ae
https://github.com/tribe29/checkmk/commit/63f2682415fac860d60c5b16696a55925…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2022-09-13 (Tue, 13 Sep 2022)
Changed paths:
M cmk/gui/plugins/views/layouts.py
M cmk/gui/plugins/views/node_visualization.py
M cmk/gui/plugins/views/utils.py
Log Message:
-----------
Preparations for typed ViewSpec #2
Change-Id: Ieecefa8fda3c99777b8267c536a0038b7a7f01f1
Commit: bc3c2e2046456947dc98bd05a8a49c3ba30ec458
https://github.com/tribe29/checkmk/commit/bc3c2e2046456947dc98bd05a8a49c3ba…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2022-09-13 (Tue, 13 Sep 2022)
Changed paths:
M cmk/gui/plugins/views/dashboard.py
M cmk/gui/plugins/views/graphs.py
M cmk/gui/plugins/views/mobile.py
M cmk/gui/views/builtin_views.py
Log Message:
-----------
Preparations for typed ViewSpec #3
Cleanup builtin view data structures
Change-Id: Id5a52623742883f8f8df44fb2fe13bfc86271e78
Compare:
https://github.com/tribe29/checkmk/compare/8e9af1978106...bc3c2e204645