浏览代码

Updates commit graph settings UI

main
Eric Amodio 2 年前
父节点
当前提交
17ddd17960
共有 2 个文件被更改,包括 4 次插入3 次删除
  1. +1
    -1
      package.json
  2. +3
    -2
      src/webviews/apps/settings/partials/commit-graph.html

+ 1
- 1
package.json 查看文件

@ -2194,7 +2194,7 @@
],
"enumDescriptions": [
"Never shows the _Commit Details_ view automatically",
"Shows the _Commit Details_ view automatically when the _Commit Graph_ is first opened",
"Shows the _Commit Details_ view automatically only when opening the _Commit Graph_",
"Shows the _Commit Details_ view automatically when selection changes in the _Commit Graph_"
],
"markdownDescription": "Specifies when to show the _Commit Details_ view for the selected row in the _Commit Graph_",

+ 3
- 2
src/webviews/apps/settings/partials/commit-graph.html 查看文件

@ -73,15 +73,16 @@
value="selection"
data-setting
/>
<label for="graph.showDetailsView">Show the Commit Details view</label>
<label for="graph.showDetailsView">Show Commit Details view</label>
<div class="select-container">
<select
id="graph.showDetailsView"
name="graph.showDetailsView"
data-setting
data-enablement="graph.showDetailsView !false"
disabled
>
<option value="open">when first opened</option>
<option value="open">only when opening</option>
<option value="selection">when selection changes (default)</option>
</select>
</div>

正在加载...
取消
保存