diff --git a/packages/junior-dashboard/src/client/components/PluginReports.tsx b/packages/junior-dashboard/src/client/components/PluginReports.tsx index 7d080f60..ccc789b4 100644 --- a/packages/junior-dashboard/src/client/components/PluginReports.tsx +++ b/packages/junior-dashboard/src/client/components/PluginReports.tsx @@ -20,7 +20,7 @@ export function PluginReports(props: { Plugin Reports -
+
{props.emptyText}
diff --git a/packages/junior-dashboard/src/client/pages/PluginsPage.tsx b/packages/junior-dashboard/src/client/pages/PluginsPage.tsx index efed4323..e752c5a7 100644 --- a/packages/junior-dashboard/src/client/pages/PluginsPage.tsx +++ b/packages/junior-dashboard/src/client/pages/PluginsPage.tsx @@ -31,7 +31,7 @@ export function PluginsPage(props: { data?: DashboardData }) { ? undefined : reportsLoading ? "Loading trusted plugin stats." - : "No trusted plugin stats have been reported yet."; + : "No plugins have been reported yet."; return (
diff --git a/packages/junior-dashboard/tests/telemetry-components.test.tsx b/packages/junior-dashboard/tests/telemetry-components.test.tsx index 0032e051..e176dcf1 100644 --- a/packages/junior-dashboard/tests/telemetry-components.test.tsx +++ b/packages/junior-dashboard/tests/telemetry-components.test.tsx @@ -634,7 +634,7 @@ describe("dashboard telemetry components", () => { expect(html).toContain(">Plugins<"); expect(html).toContain("github"); - expect(html).toContain("No trusted plugin stats have been reported yet."); + expect(html).toContain("No plugins have been reported yet."); }); it("shows plugin reports as loading before the report query returns", () => { @@ -653,9 +653,7 @@ describe("dashboard telemetry components", () => { expect(html).toContain(">...<"); expect(html).toContain(">loading<"); expect(html).not.toContain(">none<"); - expect(html).not.toContain( - "No trusted plugin stats have been reported yet.", - ); + expect(html).not.toContain("No plugins have been reported yet."); }); it("shows plugin report failures without looking empty", () => { @@ -669,9 +667,7 @@ describe("dashboard telemetry components", () => { ); expect(html).toContain("Trusted plugin stats failed to load."); - expect(html).not.toContain( - "No trusted plugin stats have been reported yet.", - ); + expect(html).not.toContain("No plugins have been reported yet."); }); it("shows plugin report failures while keeping stale reports visible", () => {