diff --git a/src/plus/webviews/graph/protocol.ts b/src/plus/webviews/graph/protocol.ts index a0d35d9..a6b6527 100644 --- a/src/plus/webviews/graph/protocol.ts +++ b/src/plus/webviews/graph/protocol.ts @@ -1,5 +1,6 @@ import type { CssVariables, + ExcludeRefsById, GraphColumnSetting, GraphContexts, GraphRef, @@ -7,7 +8,6 @@ import type { GraphRow, GraphZoneType, Head, - HiddenRefsById, HostingServiceType, PullRequestMetadata, RefMetadata, @@ -118,7 +118,7 @@ export interface GraphColumnConfig { export type GraphColumnsConfig = { [name: string]: GraphColumnConfig }; -export type GraphHiddenRefs = HiddenRefsById; +export type GraphHiddenRefs = ExcludeRefsById; // TODO: rename all HiddenRefs to use the new naming export type GraphHiddenRef = GraphRefOptData; export type GraphColumnName = GraphZoneType; diff --git a/src/webviews/apps/plus/graph/GraphWrapper.tsx b/src/webviews/apps/plus/graph/GraphWrapper.tsx index 49dd317..7061b24 100644 --- a/src/webviews/apps/plus/graph/GraphWrapper.tsx +++ b/src/webviews/apps/plus/graph/GraphWrapper.tsx @@ -832,7 +832,7 @@ export function GraphWrapper({ // Just cast the { [id: string]: number } object to { [id: string]: boolean } for performance highlightedShas={searchResults?.ids as GraphContainerProps['highlightedShas']} highlightRowsOnRefHover={graphConfig?.highlightRowsOnRefHover} - hiddenRefsById={hiddenRefsById} + excludeRefsById={hiddenRefsById} scrollRowPadding={graphConfig?.scrollRowPadding} showGhostRefsOnRowHover={graphConfig?.showGhostRefsOnRowHover} showRemoteNamesOnRefs={graphConfig?.showRemoteNamesOnRefs}