Przeglądaj źródła

Renames `showRemoteNamesOnRefs` for future usages

main
Eric Amodio 2 lat temu
rodzic
commit
cc0f423504
4 zmienionych plików z 7 dodań i 7 usunięć
  1. +1
    -1
      package.json
  2. +1
    -1
      src/config.ts
  3. +2
    -2
      src/plus/webviews/graph/graphWebview.ts
  4. +3
    -3
      src/webviews/apps/settings/partials/commit-graph.html

+ 1
- 1
package.json Wyświetl plik

@ -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_",

+ 1
- 1
src/config.ts Wyświetl plik

@ -382,7 +382,7 @@ export interface GraphConfig {
highlightRowsOnRefHover: boolean;
showDetailsView: 'open' | 'selection' | false;
showGhostRefsOnRowHover: boolean;
showRemoteNamesOnRefs: boolean;
showRemoteNames: boolean;
pageItemLimit: number;
searchItemLimit: number;
statusBar: {

+ 2
- 2
src/plus/webviews/graph/graphWebview.ts Wyświetl plik

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

+ 3
- 3
src/webviews/apps/settings/partials/commit-graph.html Wyświetl plik

@ -116,12 +116,12 @@
<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>

Ładowanie…
Anuluj
Zapisz