Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | 3x 4x 4x 1x 4x 1x 1x 1x 3x 3x | <template>
<UDashboardPanel id="telemetry">
<template #header>
<PageHeader :title="$t('telemetry.title')">
<template #intro>
<PageFacts v-model:series="series" :provenance :facts />
</template>
</PageHeader>
</template>
<template #body>
<WidgetPanel v-if="!hasRuns" :title="$t('telemetry.empty.title')">
<I18nT
keypath="telemetry.empty.body"
tag="p"
scope="global"
class="px-4 py-6 text-sm text-muted"
>
<template #git>
<code class="font-mono">{{ GIT }}</code>
</template>
<template #folder>
<code class="font-mono">{{ FOLDER }}</code>
</template>
<template #command>
<code class="font-mono">{{ COLLECT }}</code>
</template>
</I18nT>
</WidgetPanel>
<template v-if="usage">
<TelemetryDaily :usage :series />
<TelemetryScriptActivity :usage />
<TelemetryUsageTriage :usage />
<TelemetryLintUsage :lint="usage.lint" />
</template>
</template>
</UDashboardPanel>
</template>
<script setup lang="ts">
const GIT = ".git";
const FOLDER = "data/telemetry/scripts";
const COLLECT = "pnpm exec nx collect @joinery/developer-portal";
const { usage, hasRuns, provenance, facts } = useTelemetryPage();
const series = ref("runs");
</script>
|