Device Types Widget (#13670)

* show all Device Types in Location Overview

* .

* .

* .

* get device types from config_definition

* reduce column to present device types

* .

* fixes

* .

* show/hide columns, even device types which are not present

* only show top n used device groups

* .

* .

* .

* Device Type Widget

* .

* .

* linter fix

* Update DeviceTypeController.php

Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
SourceDoctor
2022-05-25 22:03:01 +02:00
committed by GitHub
parent 3b255edc37
commit 1c6fc0f130
7 changed files with 145 additions and 22 deletions

View File

@@ -110,6 +110,11 @@ class DefaultWidgetSeeder extends Seeder
'widget' => 'top-errors',
'base_dimensions' => '6,3',
],
[
'widget_title' => 'Device Types',
'widget' => 'device-types',
'base_dimensions' => '6,3',
],
];
$existing = DB::table('widgets')->pluck('widget');