Browse Source

Updates commit graph settings UI

main
Eric Amodio 2 years ago
parent
commit
17ddd17960
2 changed files with 4 additions and 3 deletions
  1. +1
    -1
      package.json
  2. +3
    -2
      src/webviews/apps/settings/partials/commit-graph.html

+ 1
- 1
package.json View File

@ -2194,7 +2194,7 @@
], ],
"enumDescriptions": [ "enumDescriptions": [
"Never shows the _Commit Details_ view automatically", "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_" "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_", "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 View File

@ -73,15 +73,16 @@
value="selection" value="selection"
data-setting 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"> <div class="select-container">
<select <select
id="graph.showDetailsView" id="graph.showDetailsView"
name="graph.showDetailsView" name="graph.showDetailsView"
data-setting data-setting
data-enablement="graph.showDetailsView !false" 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> <option value="selection">when selection changes (default)</option>
</select> </select>
</div> </div>

Loading…
Cancel
Save