Skip to content

Commit 142d7e5

Browse files
committed
Add PhpStorm Inspections Dashboard
1 parent dda1878 commit 142d7e5

File tree

2 files changed

+83
-0
lines changed

2 files changed

+83
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
<template>
2+
<DashboardPage
3+
db-name="perfintDev"
4+
table="phpstorm"
5+
persistent-id="phpstorm_inspections_dashboard"
6+
initial-machine="linux-blade-hetzner"
7+
:with-installer="false"
8+
>
9+
<section>
10+
<GroupProjectsChart
11+
label="Batch Inspections"
12+
measure="globalInspections"
13+
:projects="[
14+
'drupal8-master-with-plugin/inspection',
15+
'shopware/inspection',
16+
'b2c-demo-shop/inspection',
17+
'magento/inspection',
18+
'wordpress/inspection',
19+
'laravel-io/inspection',
20+
]"
21+
/>
22+
</section>
23+
24+
<section class="flex gap-x-6">
25+
<div class="flex-1 min-w-0">
26+
<GroupProjectsChart
27+
label="Batch Inspections"
28+
measure="globalInspections"
29+
:projects="['mediawiki/inspection', 'php-cs-fixer/inspection', 'proxyManager/inspection']"
30+
/>
31+
</div>
32+
<div class="flex-1 min-w-0">
33+
<GroupProjectsChart
34+
label="Batch Inspections"
35+
measure="globalInspections"
36+
:projects="['akaunting/inspection', 'aggregateStitcher/inspection', 'prestaShop/inspection', 'kunstmaanBundlesCMS/inspection']"
37+
/>
38+
</div>
39+
</section>
40+
41+
<section class="flex gap-x-6">
42+
<div class="flex-1 min-w-0">
43+
<GroupProjectsChart
44+
label="Local Inspections"
45+
measure="localInspections"
46+
:projects="['mpdf/localInspection', 'WI_65655/localInspection']"
47+
/>
48+
</div>
49+
<div class="flex-1 min-w-0">
50+
<GroupProjectsChart
51+
label="Local Inspections"
52+
measure="localInspections"
53+
:projects="['WI_59961/localInspection', 'bitrix/localInspection', 'WI_65893/localInspection']"
54+
/>
55+
</div>
56+
</section>
57+
58+
<section class="flex gap-x-6">
59+
<div class="flex-1 min-w-0">
60+
<GroupProjectsChart
61+
label="Code Vision (PhpReferencesCodeVisionProvider)"
62+
measure="PhpReferencesCodeVisionProvider"
63+
:projects="['mpdf/localInspection', 'WI_65655/localInspection', 'laravel-io/localInspection/HasAuthor', 'laravel-io/localInspection/Tag']"
64+
/>
65+
</div>
66+
</section>
67+
</DashboardPage>
68+
</template>
69+
70+
<script setup lang="ts">
71+
import GroupProjectsChart from "../charts/GroupProjectsChart.vue"
72+
import DashboardPage from "../common/DashboardPage.vue"
73+
</script>

dashboard/new-dashboard/src/routes.ts

+10
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ enum ROUTES {
9393
PhpStormProductMetricsDashboard = `${ROUTE_PREFIX.PhpStorm}/${PRODUCT_METRICS_ROUTE}`,
9494
PhpStormLLMDashboard = `${ROUTE_PREFIX.PhpStorm}/llmDashboard`,
9595
PhpStormIndexingDashboard = `${ROUTE_PREFIX.PhpStorm}/indexingDashboard`,
96+
PhpStormInspectionsDashboard = `${ROUTE_PREFIX.PhpStorm}/inspectionsDashboard`,
9697
PhpStormCodeEditingDashboard = `${ROUTE_PREFIX.PhpStorm}/codeEditingDashboard`,
9798
PhpStormStartupDashboard = `${ROUTE_PREFIX.PhpStorm}/${STARTUP_ROUTE}`,
9899
PhpStormWithPluginsDashboard = `${ROUTE_PREFIX.PhpStorm}/pluginsDashboard`,
@@ -535,6 +536,10 @@ const PHPSTORM: Product = {
535536
url: ROUTES.PhpStormIndexingDashboard,
536537
label: "Indexing Dashboard",
537538
},
539+
{
540+
url: ROUTES.PhpStormInspectionsDashboard,
541+
label: "Inspections Dashboard",
542+
},
538543
{
539544
url: ROUTES.PhpStormCodeEditingDashboard,
540545
label: "Code Editing Dashboard",
@@ -1499,6 +1504,11 @@ export function getNewDashboardRoutes(): ParentRouteRecord[] {
14991504
component: () => import("./components/phpstorm/IndexingDashboard.vue"),
15001505
meta: { pageTitle: "PhpStorm Indexing Dashboard" },
15011506
},
1507+
{
1508+
path: ROUTES.PhpStormInspectionsDashboard,
1509+
component: () => import("./components/phpstorm/InspectionsDashboard.vue"),
1510+
meta: { pageTitle: "PhpStorm Inspections Dashboard" },
1511+
},
15021512
{
15031513
path: ROUTES.PhpStormCodeEditingDashboard,
15041514
component: () => import("./components/phpstorm/CodeEditingDashboard.vue"),

0 commit comments

Comments
 (0)