Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

fix: fixes and unifies descriptions in dns-hole-controls and dns-hole-summary docs (#5938)

Daniel Lopes6881b8355c7e
diff --git a/apps/docs/docs/widgets/dns-hole-controls/index.ts b/apps/docs/docs/widgets/dns-hole-controls/index.ts
index 5125c0ce3..31d2b45c9 100644
--- a/apps/docs/docs/widgets/dns-hole-controls/index.ts
+++ b/apps/docs/docs/widgets/dns-hole-controls/index.ts
@@ -1,16 +1,17 @@
import { WidgetDefinition } from "@site/src/types";
import { IconDeviceGamepad } from "@tabler/icons-react";
+import { integrations } from "../dns-hole-summary";
export const dnsHoleControlsWidget: WidgetDefinition = {
icon: IconDeviceGamepad,
name: "DNS Hole Controls",
- description: "Control PiHole or AdGuard from your dashboard",
+ description: `Control the blocking feature of your ${integrations} from your dashboard`,
path: "../../widgets/dns-hole-controls",
configuration: {
items: [
{
name: "Show Toggle All Buttons",
- description: "Show or not the 2 buttons that may be redundant when having only one DNS-hole.",
+ description: "Show or not the 2 buttons that may be redundant when having only one DNS Hole.",
values: { type: "boolean" },
defaultValue: "yes",
},
diff --git a/apps/docs/docs/widgets/dns-hole-summary/index.ts b/apps/docs/docs/widgets/dns-hole-summary/index.ts
index 3f49f9fbd..76de8b588 100644
--- a/apps/docs/docs/widgets/dns-hole-summary/index.ts
+++ b/apps/docs/docs/widgets/dns-hole-summary/index.ts
@@ -1,10 +1,12 @@
import { WidgetDefinition } from "@site/src/types";
import { IconAd } from "@tabler/icons-react";
+export const integrations = "Pi-hole, AdGuard Home or Technitium DNS";
+
export const dnsHoleSummaryWidget: WidgetDefinition = {
icon: IconAd,
name: "DNS Hole Summary",
- description: "Displays the summary of your DNS Hole",
+ description: `Displays the summary of your ${integrations} blocks and queries statistics`,
path: "../../widgets/dns-hole-summary",
configuration: {
items: [
@@ -19,7 +21,7 @@ export const dnsHoleSummaryWidget: WidgetDefinition = {
},
{
name: "Use Pi-Hole colors",
- description: "Color the tiles using the background color, that is used by default in PiHole.",
+ description: `Color the tiles using the background color, that is used by default in ${integrations}.`,
values: { type: "boolean" },
defaultValue: "yes",
},