Skip to content

Commit

Permalink
Renames showRemoteNamesOnRefs for future usages
Browse files Browse the repository at this point in the history
  • Loading branch information
eamodio committed Oct 11, 2022
1 parent ab4796c commit cc0f423
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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_",
Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ export interface GraphConfig {
highlightRowsOnRefHover: boolean;
showDetailsView: 'open' | 'selection' | false;
showGhostRefsOnRowHover: boolean;
showRemoteNamesOnRefs: boolean;
showRemoteNames: boolean;
pageItemLimit: number;
searchItemLimit: number;
statusBar: {
Expand Down
4 changes: 2 additions & 2 deletions src/plus/webviews/graph/graphWebview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ export class GraphWebview extends WebviewBase<State> {
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();
}
Expand Down Expand Up @@ -1201,7 +1201,7 @@ export class GraphWebview extends WebviewBase<State> {
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;
Expand Down
6 changes: 3 additions & 3 deletions src/webviews/apps/settings/partials/commit-graph.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,12 @@ <h2>
<div class="setting">
<div class="setting__input">
<input
id="graph.showRemoteNamesOnRefs"
name="graph.showRemoteNamesOnRefs"
id="graph.showRemoteNames"
name="graph.showRemoteNames"
type="checkbox"
data-setting
/>
<label for="graph.showRemoteNamesOnRefs">Show remote names on remote branches</label>
<label for="graph.showRemoteNames">Show remote names on remote branches</label>
</div>
</div>

Expand Down

0 comments on commit cc0f423

Please sign in to comment.