:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
feat(dashboards): show widget placeholders on shared dashboards (2/4) (#61416)
Matt Pua00069ca66a70
diff --git a/frontend/src/scenes/dashboard/DashboardItems.test.tsx b/frontend/src/scenes/dashboard/DashboardItems.test.tsxindex 3b6ce911cd72..ce0ab1199c70 100644--- a/frontend/src/scenes/dashboard/DashboardItems.test.tsx+++ b/frontend/src/scenes/dashboard/DashboardItems.test.tsx@@ -241,7 +241,7 @@ describe('DashboardItems', () => {expect(container.firstChild).toMatchSnapshot()})- it('hides widget tiles on public dashboards', () => {+ it('shows widget tiles on public dashboards', () => {const widgetTile = {id: 2,widget: { id: 1, widget_type: 'error_tracking_list', config: {} },@@ -281,7 +281,7 @@ describe('DashboardItems', () => {return {}})- const { queryByTestId } = render(<DashboardItems />)- expect(queryByTestId('widget-card')).not.toBeInTheDocument()+ const { getByTestId } = render(<DashboardItems />)+ expect(getByTestId('widget-card')).toBeInTheDocument()})})diff --git a/frontend/src/scenes/dashboard/dashboardLogic.test.ts b/frontend/src/scenes/dashboard/dashboardLogic.test.tsindex 21e4f0a803a0..684ba3cccc0e 100644--- a/frontend/src/scenes/dashboard/dashboardLogic.test.ts+++ b/frontend/src/scenes/dashboard/dashboardLogic.test.ts@@ -27,7 +27,14 @@ import { variableDataLogic } from '~/queries/nodes/DataVisualization/Components/import { getQueryBasedDashboard } from '~/queries/nodes/InsightViz/utils'import { DashboardFilter, HogQLVariable, InsightVizNode, NodeKind, TrendsQuery } from '~/queries/schema/schema-general'import { initKeaTests } from '~/test/init'-import { DashboardTile, DashboardType, InsightColor, InsightShortId, QueryBasedInsightModel } from '~/types'+import {+ DashboardPlacement,+ DashboardTile,+ DashboardType,+ InsightColor,+ InsightShortId,+ QueryBasedInsightModel,+} from '~/types'import _dashboardJson from './__mocks__/dashboard.json'@@ -1602,6 +1609,42 @@ describe('dashboardLogic', () => {})})+ it('does not fetch run_widgets on public placement', async () => {+ logic = dashboardLogic({+ id: 5,+ placement: DashboardPlacement.Public,+ dashboard: {+ ...dashboards[5],+ tiles: [...dashboards[5].tiles, WIDGET_TILE],+ } as DashboardType<QueryBasedInsightModel>,+ })+ logic.mount()+ await expectLogic(logic).toFinishAllListeners()++ expect(fetchRunWidgetsMock).not.toHaveBeenCalled()++ await expectLogic(logic, () => {+ logic.actions.refreshDashboardWidgets({ tileIds: [WIDGET_TILE.id], forceRefresh: true })+ }).toFinishAllListeners()++ expect(fetchRunWidgetsMock).not.toHaveBeenCalled()+ })++ it('enables widget tiles on public dashboards when tile metadata is present', async () => {+ logic = dashboardLogic({+ id: 5,+ placement: DashboardPlacement.Public,+ dashboard: {+ ...dashboards[5],+ tiles: [...dashboards[5].tiles, WIDGET_TILE],+ } as DashboardType<QueryBasedInsightModel>,+ })+ logic.mount()+ await expectLogic(logic).toFinishAllListeners()++ expect(logic.values.dashboardWidgetsEnabled).toBe(true)+ })+it('refreshDashboardWidgets sets friendly error when run_widgets fails', async () => {logic = dashboardLogic({ id: 5 })logic.mount()diff --git a/frontend/src/scenes/dashboard/dashboardLogic.tsx b/frontend/src/scenes/dashboard/dashboardLogic.tsxindex 96e47974872a..12d2694d6483 100644--- a/frontend/src/scenes/dashboard/dashboardLogic.tsx+++ b/frontend/src/scenes/dashboard/dashboardLogic.tsx@@ -1566,8 +1566,15 @@ export const dashboardLogic = kea<dashboardLogicType>([tiles: [(s) => [s.dashboard], (dashboard) => dashboard?.tiles?.filter((t) => !t.deleted) || []],widgetTiles: [(s) => [s.tiles], (tiles) => tiles.filter((t) => !!t.widget)],dashboardWidgetsEnabled: [- (s) => [s.featureFlags],- (featureFlags): boolean => !!featureFlags[FEATURE_FLAGS.DASHBOARD_WIDGETS],+ (s) => [s.featureFlags, s.tiles, s.placement],+ (featureFlags, tiles, placement): boolean => {+ // Shared dashboards don't receive team feature flags; render widget tiles when+ // metadata is already present on the exported dashboard payload.+ if (placement === DashboardPlacement.Public && tiles.some((tile) => !!tile.widget)) {+ return true+ }+ return !!featureFlags[FEATURE_FLAGS.DASHBOARD_WIDGETS]+ },],insightTiles: [(s) => [s.tiles],@@ -2252,7 +2259,11 @@ export const dashboardLogic = kea<dashboardLogicType>([}actions.refreshDashboardItems({ action: RefreshDashboardItemsAction.Refresh, forceRefresh: true })- if (values.dashboardWidgetsEnabled) {+ if (+ values.dashboardWidgetsEnabled &&+ values.placement !== DashboardPlacement.Export &&+ values.placement !== DashboardPlacement.Public+ ) {const widgetTileIds = values.widgetTiles.map((tile) => tile.id)if (widgetTileIds.length > 0) {actions.refreshDashboardWidgets({ tileIds: widgetTileIds, forceRefresh: true })diff --git a/frontend/src/scenes/dashboard/dashboardUtils.test.ts b/frontend/src/scenes/dashboard/dashboardUtils.test.tsindex 9b93a1e7cf51..4b71287bcf27 100644--- a/frontend/src/scenes/dashboard/dashboardUtils.test.ts+++ b/frontend/src/scenes/dashboard/dashboardUtils.test.ts@@ -39,7 +39,7 @@ describe('getDashboardTileDisplayName', () => {describe('isWidgetTileVisibleOnPlacement', () => {it.each([[DashboardPlacement.Dashboard, true],- [DashboardPlacement.Public, false],+ [DashboardPlacement.Public, true],[DashboardPlacement.Export, false],])('placement=%s → %s', (placement, expected) => {expect(isWidgetTileVisibleOnPlacement(placement)).toBe(expected)diff --git a/frontend/src/scenes/dashboard/dashboardUtils.ts b/frontend/src/scenes/dashboard/dashboardUtils.tsindex 5c9ea21f63b4..ebd3b5262adc 100644--- a/frontend/src/scenes/dashboard/dashboardUtils.ts+++ b/frontend/src/scenes/dashboard/dashboardUtils.ts@@ -132,9 +132,9 @@ export function getDashboardWidgetType()}-/** Widget tiles are not shown on shared/public/export dashboard views. */+/** Widget tiles are hidden on export; on public/shared views they render with a login placeholder. */export function isWidgetTileVisibleOnPlacement(placement: DashboardPlacement): boolean {- return placement !== DashboardPlacement.Public && placement !== DashboardPlacement.Export+ return placement !== DashboardPlacement.Export}export const BREAKPOINTS: Record<DashboardLayoutSize, number> = {diff --git a/posthog/api/test/test_sharing.py b/posthog/api/test/test_sharing.pyindex 7cdb357b51ca..00f3d820aca8 100644--- a/posthog/api/test/test_sharing.py+++ b/posthog/api/test/test_sharing.py@@ -23,6 +23,8 @@ from posthog.models.sharing_configuration import SharingConfigurationfrom posthog.models.user import Userfrom products.dashboards.backend.models.dashboard import Dashboard+from products.dashboards.backend.models.dashboard_tile import DashboardTile+from products.dashboards.backend.models.dashboard_widget import DashboardWidgetfrom products.exports.backend.models.exported_asset import ExportedAsset, get_render_access_tokenfrom products.product_analytics.backend.models.insight import Insight@@ -1471,11 +1473,47 @@ class TestSharedCohortInlining(APIBaseTest):)@staticmethod- def _parse_exported_cohorts(html: str) -> list[dict]:+ def _parse_exported_data(html: str) -> dict:# mock_exporter_template embeds the exported_data JSON inside this <script> tag.start_marker = '<script id="posthog-exported-data" type="application/json">'start = html.index(start_marker) + len(start_marker)end = html.index("</script>", start)outer = json.loads(html[start:end])inner = json.loads(outer) if isinstance(outer, str) else outer- return inner.get("cohorts", [])+ return inner++ @staticmethod+ def _parse_exported_cohorts(html: str) -> list[dict]:+ return TestSharedCohortInlining._parse_exported_data(html).get("cohorts", [])++ @mock_exporter_template+ def test_shared_dashboard_includes_widget_metadata_only(self):+ dashboard = Dashboard.objects.create(team=self.team, name="dash", created_by=self.user)+ widget = DashboardWidget.all_teams.create(+ team_id=self.team.id,+ widget_type="error_tracking_list",+ name="Top errors",+ config={"limit": 10},+ created_by=self.user,+ last_modified_by=self.user,+ )+ DashboardTile.objects.create(+ dashboard=dashboard,+ team_id=self.team.id,+ widget=widget,+ layouts={"sm": {"x": 0, "y": 0, "w": 6, "h": 5}},+ )++ config = SharingConfiguration.objects.create(team=self.team, dashboard=dashboard, enabled=True)+ response = self.client.get(f"/shared/{config.access_token}")+ assert response.status_code == 200++ exported = self._parse_exported_data(response.content.decode())+ widget_tiles = [tile for tile in exported["dashboard"]["tiles"] if tile.get("widget")]+ assert len(widget_tiles) == 1++ widget_data = widget_tiles[0]["widget"]+ assert set(widget_data.keys()) == {"id", "widget_type", "name", "description", "config"}+ assert widget_data["widget_type"] == "error_tracking_list"+ assert widget_data["config"]["limit"] == 10+ assert "created_by" not in widget_datadiff --git a/products/dashboards/backend/api/dashboard.py b/products/dashboards/backend/api/dashboard.pyindex 4736caffc833..dee9ee8bb9a6 100644--- a/products/dashboards/backend/api/dashboard.py+++ b/products/dashboards/backend/api/dashboard.py@@ -677,6 +677,36 @@ class DashboardWidgetSerializer(serializers.ModelSerializer):read_only_fields = ["id", "created_by", "last_modified_by", "last_modified_at"]+class SharedDashboardWidgetMetadataSerializer(serializers.ModelSerializer):+ """Tile header metadata for shared dashboards — no user fields or live query results."""++ widget_type = serializers.CharField(+ max_length=64,+ help_text="Widget type identifier from the dashboard widget catalog.",+ )+ name = serializers.CharField(+ max_length=400,+ required=False,+ allow_null=True,+ allow_blank=True,+ help_text="Optional custom display name for this widget tile. Falls back to the widget catalog label when unset.",+ )+ description = serializers.CharField(+ required=False,+ allow_blank=True,+ help_text="Optional markdown description shown on the dashboard tile when enabled.",+ )+ config = DashboardWidgetConfigField(+ required=False,+ help_text="Widget-specific configuration JSON for this widget type.",+ )++ class Meta:+ model = DashboardWidget+ fields = ["id", "widget_type", "name", "description", "config"]+ read_only_fields = ["id", "widget_type", "name", "description", "config"]++class DashboardTileSerializer(serializers.ModelSerializer):id: serializers.IntegerField = serializers.IntegerField(required=False)insight = InsightSerializer()@@ -704,8 +734,10 @@ class DashboardTileSerializer(serializers.ModelSerializer):def to_representation(self, instance: DashboardTile):representation = super().to_representation(instance)- if self.context.get("is_shared") and representation.get("widget"):- representation["widget"] = None+ if self.context.get("is_shared") and instance.widget_id is not None:+ representation["widget"] = SharedDashboardWidgetMetadataSerializer(+ instance.widget, context=self.context+ ).datarepresentation["order"] = self.context.get("order", None)diff --git a/products/dashboards/backend/api/test/test_dashboard_widgets.py b/products/dashboards/backend/api/test/test_dashboard_widgets.pyindex 32fbdf1daf56..9f5bd51f4254 100644--- a/products/dashboards/backend/api/test/test_dashboard_widgets.py+++ b/products/dashboards/backend/api/test/test_dashboard_widgets.py@@ -864,7 +864,13 @@ class TestDashboardWidgets(APIBaseTest):action = "retrieve"context = {"view": ViewShim(), "order": 0}- assert DashboardTileSerializer(tile, context=context).data["widget"] is not None+ full_widget = DashboardTileSerializer(tile, context=context).data["widget"]+ assert full_widget is not None+ assert full_widget["created_by"] is not Noneshared_context = {**context, "is_shared": True}- assert DashboardTileSerializer(tile, context=shared_context).data["widget"] is None+ shared_widget = DashboardTileSerializer(tile, context=shared_context).data["widget"]+ assert shared_widget is not None+ assert set(shared_widget.keys()) == {"id", "widget_type", "name", "description", "config"}+ assert shared_widget["widget_type"] == "error_tracking_list"+ assert shared_widget["config"]["limit"] == 10diff --git a/products/dashboards/frontend/components/DashboardWidgetItem/DashboardWidgetItem.test.tsx b/products/dashboards/frontend/components/DashboardWidgetItem/DashboardWidgetItem.test.tsxindex 197e43d160c7..05928122d1db 100644--- a/products/dashboards/frontend/components/DashboardWidgetItem/DashboardWidgetItem.test.tsx+++ b/products/dashboards/frontend/components/DashboardWidgetItem/DashboardWidgetItem.test.tsx@@ -67,6 +67,10 @@ jest.mock('../../widget_types/catalog', () => ({label: 'Top issues',headerTitle: 'Top issues',headerMeta: { showWidgetType: true, showDateRange: true },+ sharedPlaceholder: {+ title: 'Top issues',+ message: 'Log in to PostHog to see which errors are affecting your users.',+ },})),getUnknownDashboardWidgetCatalogFallback: jest.fn((widgetType: string) => ({groupId: widgetType,@@ -280,6 +284,24 @@ describe('DashboardWidgetItem', () => {expect(container.querySelector('[data-attr="widget-card-title"]')).toHaveTextContent('My issues')})+ it('shows shared dashboard placeholder on public placement instead of widget data', () => {+ const { container } = render(+ <DashboardWidgetItem+ tile={tile}+ placement={DashboardPlacement.Public}+ dashboardId={99}+ result={{ results: [{ id: '1' }] }}+ loading={false}+ onRefresh={jest.fn()}+ />+ )++ expect(within(container).getByText('My issues')).toBeInTheDocument()+ expect(screen.getByTestId('shared-dashboard-widget-placeholder')).toBeInTheDocument()+ expect(screen.getByText('Log in to PostHog to see which errors are affecting your users.')).toBeInTheDocument()+ expect(screen.queryByText('Widget body')).not.toBeInTheDocument()+ })+it('contains unknown widget errors in the card body while keeping the header', () => {const catalogEntryMock = getDashboardWidgetCatalogEntry as jest.Mock;(tryGetDashboardWidgetCatalogEntry as jest.Mock).mockReturnValue(undefined)diff --git a/products/dashboards/frontend/components/DashboardWidgetItem/DashboardWidgetItem.tsx b/products/dashboards/frontend/components/DashboardWidgetItem/DashboardWidgetItem.tsxindex 9618466e0cc3..3e663a86e162 100644--- a/products/dashboards/frontend/components/DashboardWidgetItem/DashboardWidgetItem.tsx+++ b/products/dashboards/frontend/components/DashboardWidgetItem/DashboardWidgetItem.tsx@@ -13,6 +13,7 @@ import { ErrorBoundary } from '~/layout/ErrorBoundary'import { DashboardPlacement, DashboardTile, DashboardType, QueryBasedInsightModel } from '~/types'import {+ DEFAULT_SHARED_DASHBOARD_WIDGET_PLACEHOLDER,getDashboardWidgetCatalogEntry,getDashboardWidgetGroupLabel,getUnknownDashboardWidgetCatalogFallback,@@ -26,7 +27,7 @@ import {type DashboardWidgetDefinition,} from '../../widgets/registry'import { WidgetCard } from '../WidgetCard/WidgetCard'-import { WidgetCardBody } from '../WidgetCard/WidgetCardBody'+import { WidgetCardBody, WidgetCardSharedPlaceholderBody } from '../WidgetCard/WidgetCardBody'import { WidgetCardHeader, widgetCardShouldHideMoreButton } from '../WidgetCard/WidgetCardHeader'import { WidgetRuntimeAvailabilityGuard } from '../WidgetRuntimeAvailabilityGuard/WidgetRuntimeAvailabilityGuard'@@ -132,9 +133,10 @@ function DashboardWidgetItemContent({const headerLayout = headerCatalogEntry.headerLayoutconst hasProductAccess = userHasDashboardWidgetProductAccess(definition?.productAccess)+ const showSharedPlaceholder = placement === DashboardPlacement.Publicconst titleHref =- hasProductAccess && placement !== DashboardPlacement.Public && headerCatalogEntry.titleHref+ hasProductAccess && !showSharedPlaceholder && headerCatalogEntry.titleHref? headerCatalogEntry.titleHref: undefined@@ -241,39 +243,49 @@ function DashboardWidgetItemContent({}onDragHandleMouseDown={onDragHandleMouseDown}/>- <WidgetCardBody- locked={!hasProductAccess}- error={!isUnknownWidgetType && hasProductAccess ? error : undefined}- onRefresh={isUnknownWidgetType ? undefined : onRefresh}- refreshing={isUnknownWidgetType ? false : loading}- >- <ErrorBoundary- className="flex min-h-0 min-w-0 flex-1 w-full max-w-full flex-col"- exceptionProps={{- feature: 'dashboard_widget',- widget_type: widget.widget_type,- tile_id: tile.id,- }}+ {showSharedPlaceholder ? (+ <WidgetCardSharedPlaceholderBody+ copy={headerCatalogEntry.sharedPlaceholder ?? DEFAULT_SHARED_DASHBOARD_WIDGET_PLACEHOLDER}+ />+ ) : (+ <WidgetCardBody+ locked={!hasProductAccess}+ error={!isUnknownWidgetType && hasProductAccess ? error : undefined}+ onRefresh={isUnknownWidgetType ? undefined : onRefresh}+ refreshing={isUnknownWidgetType ? false : loading}>- <DashboardWidgetItemBody widget={widget} definition={definition} componentProps={componentProps} />- </ErrorBoundary>- {EditModal &&- editOpen &&- createPortal(- <EditModal- isOpen={editOpen}- onClose={() => setEditOpen(false)}- config={widget.config}- name={title}- defaultTitle={defaultTitle}- description={description}- onSave={async (config, metadata) => {- await onUpdateWidgetTile?.({ config, ...metadata })- }}- />,- document.body- )}- </WidgetCardBody>+ <ErrorBoundary+ className="flex min-h-0 min-w-0 flex-1 w-full max-w-full flex-col"+ exceptionProps={{+ feature: 'dashboard_widget',+ widget_type: widget.widget_type,+ tile_id: tile.id,+ }}+ >+ <DashboardWidgetItemBody+ widget={widget}+ definition={definition}+ componentProps={componentProps}+ />+ </ErrorBoundary>+ </WidgetCardBody>+ )}+ {EditModal &&+ editOpen &&+ createPortal(+ <EditModal+ isOpen={editOpen}+ onClose={() => setEditOpen(false)}+ config={widget.config}+ name={title}+ defaultTitle={defaultTitle}+ description={description}+ onSave={async (config, metadata) => {+ await onUpdateWidgetTile?.({ config, ...metadata })+ }}+ />,+ document.body+ )}</>)}diff --git a/products/dashboards/frontend/components/WidgetCard/WidgetCardBody.tsx b/products/dashboards/frontend/components/WidgetCard/WidgetCardBody.tsxindex 2509ec8ae9fa..557508108d5c 100644--- a/products/dashboards/frontend/components/WidgetCard/WidgetCardBody.tsx+++ b/products/dashboards/frontend/components/WidgetCard/WidgetCardBody.tsx@@ -4,6 +4,7 @@ import React from 'react'import { IconLock } from '@posthog/icons'import { LemonSkeleton } from '@posthog/lemon-ui'+import { GraphsHog } from 'lib/components/hedgehogs'import { LemonButton } from 'lib/lemon-ui/LemonButton'import { cn } from 'lib/utils/css-classes'@@ -210,3 +211,28 @@ export function WidgetCardContent({ children, footer, className }: WidgetCardCon</div>)}++export type WidgetCardSharedPlaceholderCopy = {+ title: string+ message: string+}++/** Shared/public dashboard placeholder when live widget data is not loaded. */+export function WidgetCardSharedPlaceholderBody({ copy }: { copy: WidgetCardSharedPlaceholderCopy }): JSX.Element {+ return (+ <WidgetCardBody>+ <WidgetCardContent>+ <WidgetCardBodyMessage>+ <div+ className="flex max-w-xs flex-col items-center gap-2 px-2 text-balance"+ data-attr="shared-dashboard-widget-placeholder"+ >+ <GraphsHog className="size-20 shrink-0" />+ <p className="m-0 text-base font-semibold text-primary">{copy.title}</p>+ <p className="m-0 text-sm text-muted">{copy.message}</p>+ </div>+ </WidgetCardBodyMessage>+ </WidgetCardContent>+ </WidgetCardBody>+ )+}diff --git a/products/dashboards/frontend/components/WidgetCard/index.ts b/products/dashboards/frontend/components/WidgetCard/index.tsindex bd7d0b2e9cb7..bca0f3d97207 100644--- a/products/dashboards/frontend/components/WidgetCard/index.ts+++ b/products/dashboards/frontend/components/WidgetCard/index.ts@@ -4,6 +4,8 @@ export {WidgetCardBodyMessage,WidgetCardBodySkeleton,WidgetCardContent,+ WidgetCardSharedPlaceholderBody,+ type WidgetCardSharedPlaceholderCopy,WidgetLoadingState,} from './WidgetCardBody'export {diff --git a/products/dashboards/frontend/widget_types/catalog.ts b/products/dashboards/frontend/widget_types/catalog.tsindex 61566570fb59..60746f69bf47 100644--- a/products/dashboards/frontend/widget_types/catalog.ts+++ b/products/dashboards/frontend/widget_types/catalog.ts@@ -49,6 +49,11 @@ export type DashboardWidgetCatalogEntry = {headerTitle?: string/** When set, the widget title links here on private dashboard placements for users with access. */titleHref?: string+ /** Copy for shared/public dashboard placeholders when live widget data is not loaded. */+ sharedPlaceholder?: {+ title: string+ message: string+ }/** Optional project setup requirement surfaced in widget runtime when unmet (see `widgetAvailability.ts`). */availability?: WidgetAvailabilityConfig}@@ -66,6 +71,10 @@ export const DASHBOARD_WIDGET_CATALOG = {defaultLayout: { w: 6, h: 5, minW: 6, minH: 3 },productAccess: 'error_tracking',titleHref: urls.errorTracking(),+ sharedPlaceholder: {+ title: 'Top issues',+ message: 'Log in to PostHog to see which errors are affecting your users.',+ },},session_replay_list: {groupId: 'session_replay',@@ -78,6 +87,10 @@ export const DASHBOARD_WIDGET_CATALOG = {defaultLayout: { w: 6, h: 5, minW: 6, minH: 3 },productAccess: 'session_recording',titleHref: urls.replay(),+ sharedPlaceholder: {+ title: 'Recent recordings',+ message: 'Log in to PostHog to watch session replays from this dashboard.',+ },availability: {requirement: 'session_replay_enabled',unavailableTitle: 'Session replay is not enabled',@@ -126,6 +139,11 @@ export function tryGetDashboardWidgetCatalogEntry(widgetType: string): ResolvedDreturn resolveDashboardWidgetCatalogEntry(DASHBOARD_WIDGET_CATALOG[widgetType as DashboardWidgetCatalogKey])}+export const DEFAULT_SHARED_DASHBOARD_WIDGET_PLACEHOLDER = {+ title: 'Widget data',+ message: "Log in to PostHog to see this widget's data.",+} as const+export function getUnknownDashboardWidgetCatalogFallback(widgetType: string): ResolvedDashboardWidgetCatalogEntry {return {groupId: widgetType,@@ -136,6 +154,7 @@ export function getUnknownDashboardWidgetCatalogFallback(widgetType: string): ReheaderTitle: widgetType,headerLayout: DEFAULT_DASHBOARD_WIDGET_HEADER_LAYOUT,headerMeta: DEFAULT_DASHBOARD_WIDGET_HEADER_META,+ sharedPlaceholder: DEFAULT_SHARED_DASHBOARD_WIDGET_PLACEHOLDER,}}