From cc0f42350459c78867afc205858d7c4635b42181 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Tue, 11 Oct 2022 13:51:05 -0400 Subject: [PATCH] Renames `showRemoteNamesOnRefs` for future usages --- package.json | 2 +- src/config.ts | 2 +- src/plus/webviews/graph/graphWebview.ts | 4 ++-- src/webviews/apps/settings/partials/commit-graph.html | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index e4eb733..86f04c5 100644 --- a/package.json +++ b/package.json @@ -2135,7 +2135,7 @@ "scope": "window", "order": 13 }, - "gitlens.graph.showRemoteNamesOnRefs": { + "gitlens.graph.showRemoteNames": { "type": "boolean", "default": false, "markdownDescription": "Specifies whether to show remote names on remote branches in the _Commit Graph_", diff --git a/src/config.ts b/src/config.ts index e6d7c6f..b9647a8 100644 --- a/src/config.ts +++ b/src/config.ts @@ -382,7 +382,7 @@ export interface GraphConfig { highlightRowsOnRefHover: boolean; showDetailsView: 'open' | 'selection' | false; showGhostRefsOnRowHover: boolean; - showRemoteNamesOnRefs: boolean; + showRemoteNames: boolean; pageItemLimit: number; searchItemLimit: number; statusBar: { diff --git a/src/plus/webviews/graph/graphWebview.ts b/src/plus/webviews/graph/graphWebview.ts index f93d7b2..0469ce1 100644 --- a/src/plus/webviews/graph/graphWebview.ts +++ b/src/plus/webviews/graph/graphWebview.ts @@ -483,7 +483,7 @@ export class GraphWebview extends WebviewBase { configuration.changed(e, 'graph.dateStyle') || configuration.changed(e, 'graph.highlightRowsOnRefHover') || configuration.changed(e, 'graph.showGhostRefsOnRowHover') || - configuration.changed(e, 'graph.showRemoteNamesOnRefs') + configuration.changed(e, 'graph.showRemoteNames') ) { void this.notifyDidChangeConfiguration(); } @@ -1201,7 +1201,7 @@ export class GraphWebview extends WebviewBase { enableMultiSelection: false, highlightRowsOnRefHover: configuration.get('graph.highlightRowsOnRefHover'), showGhostRefsOnRowHover: configuration.get('graph.showGhostRefsOnRowHover'), - showRemoteNamesOnRefs: configuration.get('graph.showRemoteNamesOnRefs'), + showRemoteNamesOnRefs: configuration.get('graph.showRemoteNames'), idLength: configuration.get('advanced.abbreviatedShaLength'), }; return config; diff --git a/src/webviews/apps/settings/partials/commit-graph.html b/src/webviews/apps/settings/partials/commit-graph.html index e250e45..6bd1b3f 100644 --- a/src/webviews/apps/settings/partials/commit-graph.html +++ b/src/webviews/apps/settings/partials/commit-graph.html @@ -116,12 +116,12 @@
- +