Explorar el Código

Quick fix: renamed "hiddenRefsById" to "excludeRefsById"

main
Eric Follana hace 2 años
padre
commit
d4746545ed
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: DE7652B6A2622754
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. +2
    -2
      src/plus/webviews/graph/protocol.ts
  2. +1
    -1
      src/webviews/apps/plus/graph/GraphWrapper.tsx

+ 2
- 2
src/plus/webviews/graph/protocol.ts Ver fichero

@ -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;

+ 1
- 1
src/webviews/apps/plus/graph/GraphWrapper.tsx Ver fichero

@ -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}

Cargando…
Cancelar
Guardar