feat(widgets): consolidate integration metadata + shared response caching (#6691)
This commit is contained in:
1 parent
7d1d9062ed
commit
8d8dec5749
206 files changed
+3893
-1946
No files matched your search
@@ -425,9 +425,7 @@ export default function MediaServerWidget({
|
||||
style={isAdvanced ? { flexShrink: 0 } : zoomCompensatedSize(16)}
|
||||
/>
|
||||
<Text size="sm" fw={isAdvanced ? 500 : undefined} style={{ whiteSpace: "nowrap" }}>
|
||||
{(t as unknown as (key: string, params?: { count: number }) => string)("footer.streams", {
|
||||
count: flatSessions.length,
|
||||
})}
|
||||
{t("footer.streams", { count: flatSessions.length })}
|
||||
</Text>
|
||||
{totalBitrateLabel && (
|
||||
<>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { IconVideo } from "@tabler/icons-react";
|
||||
|
||||
import { getIntegrationKindsByCategory } from "@homarr/definitions";
|
||||
import { getWidgetIntegrationConfig } from "@homarr/definitions";
|
||||
|
||||
import { createWidgetDefinition, widgetQueryInputMatches } from "../definition";
|
||||
import { optionsBuilder } from "../options";
|
||||
@@ -22,5 +22,5 @@ export const { componentLoader, definition } = createWidgetDefinition("mediaServ
|
||||
showLocation: factory.switch({ defaultValue: true, withDescription: true }),
|
||||
}));
|
||||
},
|
||||
supportedIntegrations: getIntegrationKindsByCategory("mediaService"),
|
||||
...getWidgetIntegrationConfig("mediaServer"),
|
||||
}).withDynamicImport(() => import("./component"));
|
||||
Reference in new issue
Block a user