소스 검색

Adds show working tree changes to settings UI

main
Eric Amodio 4 년 전
부모
커밋
1a35367e12
3개의 변경된 파일46개의 추가작업 그리고 33개의 파일을 삭제
  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 파일 보기

@ -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 파일 보기

@ -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 파일 보기

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

불러오는 중...
취소
저장