Explorar el Código

Adds show working tree changes to settings UI

main
Eric Amodio hace 4 años
padre
commit
1a35367e12
Se han modificado 3 ficheros con 46 adiciones y 33 borrados
  1. +1
    -1
      package.json
  2. +1
    -1
      src/webviews/apps/settings/partials/views.commits.html
  3. +44
    -31
      src/webviews/apps/settings/partials/views.repositories.html

+ 1
- 1
package.json Ver fichero

@ -1982,7 +1982,7 @@
},
"gitlens.views.repositories.includeWorkingTree": {
"type": "boolean",
"default": true,
"default": false,
"markdownDescription": "Specifies whether to include working tree file status for each repository in the _Repositories_ view",
"scope": "window"
},

+ 1
- 1
src/webviews/apps/settings/partials/views.commits.html Ver fichero

@ -35,7 +35,7 @@
value="working"
data-setting
/>
<label for="views.commits.showBranchComparison">Show a comparison of the </label>
<label for="views.commits.showBranchComparison">Show a comparison of the</label>
<div class="select-container">
<select
id="views.commits.showBranchComparison"

+ 44
- 31
src/webviews/apps/settings/partials/views.repositories.html Ver fichero

@ -28,6 +28,49 @@
<div class="section__content">
<div class="settings settings--fixed ml-1">
<div class="setting" data-enablement="views.repositories.enabled">
<div class="setting__input">
<input
id="views.repositories.autoRefresh"
name="views.repositories.autoRefresh"
type="checkbox"
data-setting
disabled
/>
<label for="views.repositories.autoRefresh"
>Automatically refresh when a repository or the file system changes</label
>
</div>
</div>
<div class="setting" data-enablement="views.repositories.enabled">
<div class="setting__input">
<input
id="views.repositories.autoReveal"
name="views.repositories.autoReveal"
type="checkbox"
data-setting
disabled
/>
<label for="views.repositories.autoReveal"
>Automatically reveal repository when opening files</label
>
</div>
</div>
<div class="setting" data-enablement="views.repositories.enabled">
<div class="setting__input">
<input
id="views.repositories.includeWorkingTree"
name="views.repositories.includeWorkingTree"
type="checkbox"
data-setting
disabled
/>
<label for="views.repositories.includeWorkingTree">Show working tree file changes</label>
</div>
</div>
<div class="setting" data-enablement="views.repositories.enabled">
<div class="setting__input setting__input--inner-select">
<input
id="views.repositories.showBranchComparison"
@ -37,7 +80,7 @@
data-setting
disabled
/>
<label for="views.repositories.showBranchComparison">Show a comparison of the </label>
<label for="views.repositories.showBranchComparison">Show a comparison of the</label>
<div class="select-container">
<select
id="views.repositories.showBranchComparison"
@ -210,36 +253,6 @@
<label for="views.repositories.avatars">Use author avatars</label>
</div>
</div>
<div class="setting" data-enablement="views.repositories.enabled">
<div class="setting__input">
<input
id="views.repositories.autoRefresh"
name="views.repositories.autoRefresh"
type="checkbox"
data-setting
disabled
/>
<label for="views.repositories.autoRefresh">
Automatically refreshes when the file system or any repository changes
</label>
</div>
</div>
<div class="setting" data-enablement="views.repositories.enabled">
<div class="setting__input">
<input
id="views.repositories.autoReveal"
name="views.repositories.autoReveal"
type="checkbox"
data-setting
disabled
/>
<label for="views.repositories.autoReveal">
Automatically reveal repositories when opening files
</label>
</div>
</div>
</div>
</div>

Cargando…
Cancelar
Guardar