Browse Source

Adds hovers.avatars setting to the interactive settings editor

main
Eric Amodio 6 years ago
parent
commit
9c0d6553a5
14 changed files with 72 additions and 48 deletions
  1. +1
    -0
      CHANGELOG.md
  2. BIN
      src/ui/images/settings/hovers-annotations-details+changes-avatars.png
  3. BIN
      src/ui/images/settings/hovers-annotations-details+changes.png
  4. BIN
      src/ui/images/settings/hovers-annotations-details-avatars.png
  5. BIN
      src/ui/images/settings/hovers-annotations-details.png
  6. BIN
      src/ui/images/settings/hovers-currentLine-annotation-details+changes-avatars.png
  7. BIN
      src/ui/images/settings/hovers-currentLine-annotation-details+changes.png
  8. BIN
      src/ui/images/settings/hovers-currentLine-annotation-details-avatars.png
  9. BIN
      src/ui/images/settings/hovers-currentLine-annotation-details.png
  10. BIN
      src/ui/images/settings/hovers-currentLine-line-details+changes-avatars.png
  11. BIN
      src/ui/images/settings/hovers-currentLine-line-details+changes.png
  12. BIN
      src/ui/images/settings/hovers-currentLine-line-details-avatars.png
  13. BIN
      src/ui/images/settings/hovers-currentLine-line-details.png
  14. +71
    -48
      src/ui/settings/index.html

+ 1
- 0
CHANGELOG.md View File

@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
## [Unreleased]
### Added
- Adds `gitlens.hovers.avatars` setting to specify whether to show avatar images in hovers — closes [#432](https://github.com/eamodio/vscode-gitlens/issues/432) thanks to [PR #441](https://github.com/eamodio/vscode-gitlens/pull/441) by Segev Finer ([@segevfiner](https://github.com/segevfiner))
- Adds `gitlens.hovers.avatars` setting to the interactive settings editor to specify whether to show avatar images in hovers
## [8.4.1] - 2018-06-19
### Fixed

BIN
src/ui/images/settings/hovers-annotations-details+changes-avatars.png View File

Before After
Width: 600  |  Height: 206  |  Size: 16 KiB

BIN
src/ui/images/settings/hovers-annotations-details+changes.png View File

Before After
Width: 600  |  Height: 206  |  Size: 16 KiB Width: 600  |  Height: 206  |  Size: 15 KiB

BIN
src/ui/images/settings/hovers-annotations-details-avatars.png View File

Before After
Width: 600  |  Height: 206  |  Size: 11 KiB

BIN
src/ui/images/settings/hovers-annotations-details.png View File

Before After
Width: 600  |  Height: 206  |  Size: 11 KiB Width: 600  |  Height: 206  |  Size: 10 KiB

BIN
src/ui/images/settings/hovers-currentLine-annotation-details+changes-avatars.png View File

Before After
Width: 600  |  Height: 206  |  Size: 12 KiB

BIN
src/ui/images/settings/hovers-currentLine-annotation-details+changes.png View File

Before After
Width: 600  |  Height: 206  |  Size: 12 KiB Width: 600  |  Height: 206  |  Size: 12 KiB

BIN
src/ui/images/settings/hovers-currentLine-annotation-details-avatars.png View File

Before After
Width: 600  |  Height: 206  |  Size: 7.5 KiB

BIN
src/ui/images/settings/hovers-currentLine-annotation-details.png View File

Before After
Width: 600  |  Height: 206  |  Size: 7.5 KiB Width: 600  |  Height: 206  |  Size: 4.6 KiB

BIN
src/ui/images/settings/hovers-currentLine-line-details+changes-avatars.png View File

Before After
Width: 600  |  Height: 206  |  Size: 15 KiB

BIN
src/ui/images/settings/hovers-currentLine-line-details+changes.png View File

Before After
Width: 600  |  Height: 206  |  Size: 15 KiB Width: 600  |  Height: 206  |  Size: 15 KiB

BIN
src/ui/images/settings/hovers-currentLine-line-details-avatars.png View File

Before After
Width: 600  |  Height: 206  |  Size: 10 KiB

BIN
src/ui/images/settings/hovers-currentLine-line-details.png View File

Before After
Width: 600  |  Height: 206  |  Size: 10 KiB Width: 600  |  Height: 206  |  Size: 9.6 KiB

+ 71
- 48
src/ui/settings/index.html View File

@ -957,53 +957,54 @@
<div class="section__settings">
<div class="settings-group">
<div class="settings-group__setting">
<div class="settings-group__setting nowrap">
<input class="setting" id="hovers.enabled" name="hovers.enabled" type="checkbox" />
<label for="hovers.enabled">Show blame hovers</label>
</div>
<div class="settings-group__setting nowrap">
<input class="setting" id="hovers.enabled" name="hovers.enabled" type="checkbox" />
<label for="hovers.enabled">Show blame hovers</label>
</div>
<div class="settings-group__setting">
<div class="settings-group__setting nowrap ml-2 hidden" data-visibility="currentLine.enabled" data-enablement="hovers.enabled">
<input class="setting" id="hovers.currentLine.enabled" name="hovers.currentLine.enabled" type="checkbox" disabled/>
<label for="hovers.currentLine.enabled">Show hovers for the current line</label>
</div>
<div class="settings-group__setting nowrap ml-2 hidden" data-enablement="hovers.enabled" data-visibility="settings.mode =advanced">
<input class="setting" id="hovers.avatars" name="hovers.avatars" type="checkbox" disabled/>
<label for="hovers.avatars">Use author avatars icons</label>
</div>
<div class="settings-group__setting nowrap ml-2 hidden" data-visibility="currentLine.enabled =false" data-enablement="hovers.enabled">
<input class="setting" id="hovers.currentLine.enabled-1" name="hovers.currentLine.enabled" type="checkbox" data-add-settings-on="hovers.currentLine.over=line"
disabled/>
<label for="hovers.currentLine.enabled-1">Show hovers for the current line</label>
</div>
<div class="settings-group__setting nowrap ml-2 hidden" data-visibility="currentLine.enabled" data-enablement="hovers.enabled">
<input class="setting" id="hovers.currentLine.enabled" name="hovers.currentLine.enabled" type="checkbox" disabled/>
<label for="hovers.currentLine.enabled">Show hovers for the current line</label>
</div>
<div class="settings-group__setting ml-4 hidden" data-visibility="currentLine.enabled &amp; settings.mode =advanced" data-enablement="hovers.enabled &amp; hovers.currentLine.enabled">
<label for="hovers.currentLine.over">Shown when over the</label>
<select class="setting" id="hovers.currentLine.over" name="hovers.currentLine.over" disabled>
<option value="annotation">annotation only</option>
<option value="line">line &amp; annotation</option>
</select>
</div>
<div class="settings-group__setting nowrap ml-2 hidden" data-visibility="currentLine.enabled =false" data-enablement="hovers.enabled">
<input class="setting" id="hovers.currentLine.enabled-1" name="hovers.currentLine.enabled" type="checkbox" data-add-settings-on="hovers.currentLine.over=line"
disabled/>
<label for="hovers.currentLine.enabled-1">Show hovers for the current line</label>
</div>
<div class="settings-group__setting ml-4 hidden" data-visibility="currentLine.enabled =false &amp; settings.mode =advanced"
data-enablement="hovers.enabled &amp; hovers.currentLine.enabled &amp; currentLine.enabled">
<label for="hovers.currentLine.over">Shown when over the</label>
<select class="setting" id="hovers.currentLine.over" name="hovers.currentLine.over" disabled>
<option value="annotation">annotation only</option>
<option value="line">line</option>
</select>
</div>
<div class="settings-group__setting ml-4 hidden" data-visibility="currentLine.enabled &amp; settings.mode =advanced" data-enablement="hovers.enabled &amp; hovers.currentLine.enabled">
<label for="hovers.currentLine.over">Shown when over the</label>
<select class="setting" id="hovers.currentLine.over" name="hovers.currentLine.over" disabled>
<option value="annotation">annotation only</option>
<option value="line">line &amp; annotation</option>
</select>
</div>
<div class="settings-group__setting nowrap ml-4 hidden" data-enablement="hovers.enabled &amp; hovers.currentLine.enabled"
data-visibility="settings.mode =advanced">
<input class="setting" id="hovers.currentLine.details" name="hovers.currentLine.details" type="checkbox" disabled/>
<label for="hovers.currentLine.details">Add blame details</label>
</div>
<div class="settings-group__setting ml-4 hidden" data-visibility="currentLine.enabled =false &amp; settings.mode =advanced"
data-enablement="hovers.enabled &amp; hovers.currentLine.enabled &amp; currentLine.enabled">
<label for="hovers.currentLine.over">Shown when over the</label>
<select class="setting" id="hovers.currentLine.over" name="hovers.currentLine.over" disabled>
<option value="annotation">annotation only</option>
<option value="line">line</option>
</select>
</div>
<div class="settings-group__setting nowrap ml-4 hidden" data-enablement="hovers.enabled &amp; hovers.currentLine.enabled"
data-visibility="settings.mode =advanced">
<input class="setting" id="hovers.currentLine.changes" name="hovers.currentLine.changes" type="checkbox" disabled/>
<label for="hovers.currentLine.changes">Add changes (diff)</label>
</div>
<div class="settings-group__setting nowrap ml-4 hidden" data-enablement="hovers.enabled &amp; hovers.currentLine.enabled"
data-visibility="settings.mode =advanced">
<input class="setting" id="hovers.currentLine.details" name="hovers.currentLine.details" type="checkbox" disabled/>
<label for="hovers.currentLine.details">Add blame details</label>
</div>
<div class="settings-group__setting nowrap ml-4 hidden" data-enablement="hovers.enabled &amp; hovers.currentLine.enabled"
data-visibility="settings.mode =advanced">
<input class="setting" id="hovers.currentLine.changes" name="hovers.currentLine.changes" type="checkbox" disabled/>
<label for="hovers.currentLine.changes">Add changes (diff)</label>
</div>
</div>
@ -1014,13 +1015,23 @@
/>
<img class="image__preview--overlay hidden" src="{{root}}/images/settings/hovers-currentLine-line-blame.png" data-visibility="currentLine.enabled &amp; hovers.currentLine.over =line"
/>
<img class="image__preview--overlay hidden" src="{{root}}/images/settings/hovers-currentLine-line-details+changes.png" data-visibility="hovers.currentLine.over =line &amp; hovers.enabled &amp; hovers.currentLine.enabled &amp; hovers.currentLine.details &amp; hovers.currentLine.changes"
<img class="image__preview--overlay hidden" src="{{root}}/images/settings/hovers-currentLine-line-details+changes-avatars.png"
data-visibility="hovers.currentLine.over =line &amp; hovers.enabled &amp; hovers.currentLine.enabled &amp; hovers.currentLine.details &amp; hovers.currentLine.changes &amp; hovers.avatars"
/>
<img class="image__preview--overlay hidden" src="{{root}}/images/settings/hovers-currentLine-line-details+changes.png" data-visibility="currentLine.enabled =false &amp; hovers.currentLine.over =annotation &amp; hovers.enabled &amp; hovers.currentLine.enabled &amp; hovers.currentLine.details &amp; hovers.currentLine.changes"
<img class="image__preview--overlay hidden" src="{{root}}/images/settings/hovers-currentLine-line-details+changes-avatars.png"
data-visibility="currentLine.enabled =false &amp; hovers.currentLine.over =annotation &amp; hovers.enabled &amp; hovers.currentLine.enabled &amp; hovers.currentLine.details &amp; hovers.currentLine.changes &amp; hovers.avatars"
/>
<img class="image__preview--overlay hidden" src="{{root}}/images/settings/hovers-currentLine-line-details.png" data-visibility="hovers.currentLine.over =line &amp; hovers.enabled &amp; hovers.currentLine.enabled &amp; hovers.currentLine.details &amp; hovers.currentLine.changes =false"
<img class="image__preview--overlay hidden" src="{{root}}/images/settings/hovers-currentLine-line-details+changes.png" data-visibility="hovers.currentLine.over =line &amp; hovers.enabled &amp; hovers.currentLine.enabled &amp; hovers.currentLine.details &amp; hovers.currentLine.changes &amp; hovers.avatars =false"
/>
<img class="image__preview--overlay hidden" src="{{root}}/images/settings/hovers-currentLine-line-details.png" data-visibility="currentLine.enabled =false &amp; hovers.currentLine.over =annotation &amp; hovers.enabled &amp; hovers.currentLine.enabled &amp; hovers.currentLine.details &amp; hovers.currentLine.changes =false"
<img class="image__preview--overlay hidden" src="{{root}}/images/settings/hovers-currentLine-line-details+changes.png" data-visibility="currentLine.enabled =false &amp; hovers.currentLine.over =annotation &amp; hovers.enabled &amp; hovers.currentLine.enabled &amp; hovers.currentLine.details &amp; hovers.currentLine.changes &amp; hovers.avatars =false"
/>
<img class="image__preview--overlay hidden" src="{{root}}/images/settings/hovers-currentLine-line-details-avatars.png" data-visibility="hovers.currentLine.over =line &amp; hovers.enabled &amp; hovers.currentLine.enabled &amp; hovers.currentLine.details &amp; hovers.currentLine.changes =false &amp; hovers.avatars"
/>
<img class="image__preview--overlay hidden" src="{{root}}/images/settings/hovers-currentLine-line-details-avatars.png" data-visibility="currentLine.enabled =false &amp; hovers.currentLine.over =annotation &amp; hovers.enabled &amp; hovers.currentLine.enabled &amp; hovers.currentLine.details &amp; hovers.currentLine.changes =false &amp; hovers.avatars"
/>
<img class="image__preview--overlay hidden" src="{{root}}/images/settings/hovers-currentLine-line-details.png" data-visibility="hovers.currentLine.over =line &amp; hovers.enabled &amp; hovers.currentLine.enabled &amp; hovers.currentLine.details &amp; hovers.currentLine.changes =false &amp; hovers.avatars =false"
/>
<img class="image__preview--overlay hidden" src="{{root}}/images/settings/hovers-currentLine-line-details.png" data-visibility="currentLine.enabled =false &amp; hovers.currentLine.over =annotation &amp; hovers.enabled &amp; hovers.currentLine.enabled &amp; hovers.currentLine.details &amp; hovers.currentLine.changes =false &amp; hovers.avatars =false"
/>
<img class="image__preview--overlay hidden" src="{{root}}/images/settings/hovers-currentLine-line-changes.png" data-visibility="hovers.currentLine.over =line &amp; hovers.enabled &amp; hovers.currentLine.enabled &amp; hovers.currentLine.details =false &amp; hovers.currentLine.changes"
/>
@ -1029,10 +1040,16 @@
<img class="image__preview hidden" src="{{root}}/images/settings/hovers-currentLine-annotation.png" data-visibility="currentLine.enabled &amp; hovers.currentLine.over =annotation"
/>
<img class="image__preview--overlay hidden" src="{{root}}/images/settings/hovers-currentLine-annotation-details+changes-avatars.png"
data-visibility="currentLine.enabled &amp; hovers.currentLine.over =annotation &amp; hovers.enabled &amp; hovers.currentLine.enabled &amp; hovers.currentLine.details &amp; hovers.currentLine.changes &amp; hovers.avatars"
/>
<img class="image__preview--overlay hidden" src="{{root}}/images/settings/hovers-currentLine-annotation-details+changes.png"
data-visibility="currentLine.enabled &amp; hovers.currentLine.over =annotation &amp; hovers.enabled &amp; hovers.currentLine.enabled &amp; hovers.currentLine.details &amp; hovers.currentLine.changes"
data-visibility="currentLine.enabled &amp; hovers.currentLine.over =annotation &amp; hovers.enabled &amp; hovers.currentLine.enabled &amp; hovers.currentLine.details &amp; hovers.currentLine.changes &amp; hovers.avatars =false"
/>
<img class="image__preview--overlay hidden" src="{{root}}/images/settings/hovers-currentLine-annotation-details.png" data-visibility="currentLine.enabled &amp; hovers.currentLine.over =annotation &amp; hovers.enabled &amp; hovers.currentLine.enabled &amp; hovers.currentLine.details &amp; hovers.currentLine.changes =false"
<img class="image__preview--overlay hidden" src="{{root}}/images/settings/hovers-currentLine-annotation-details-avatars.png"
data-visibility="currentLine.enabled &amp; hovers.currentLine.over =annotation &amp; hovers.enabled &amp; hovers.currentLine.enabled &amp; hovers.currentLine.details &amp; hovers.currentLine.changes =false &amp; hovers.avatars"
/>
<img class="image__preview--overlay hidden" src="{{root}}/images/settings/hovers-currentLine-annotation-details.png" data-visibility="currentLine.enabled &amp; hovers.currentLine.over =annotation &amp; hovers.enabled &amp; hovers.currentLine.enabled &amp; hovers.currentLine.details &amp; hovers.currentLine.changes =false &amp; hovers.avatars =false"
/>
<img class="image__preview--overlay hidden" src="{{root}}/images/settings/hovers-currentLine-annotation-changes.png" data-visibility="currentLine.enabled &amp; hovers.currentLine.over =annotation &amp; hovers.enabled &amp; hovers.currentLine.enabled &amp; hovers.currentLine.details =false &amp; hovers.currentLine.changes"
/>
@ -1073,9 +1090,14 @@
/>
<img class="image__preview hidden" src="{{root}}/images/settings/hovers-annotations-compact.png" data-visibility="blame.compact"
/>
<img class="image__preview--overlay hidden" src="{{root}}/images/settings/hovers-annotations-details+changes.png" data-visibility="hovers.enabled &amp; hovers.annotations.enabled &amp; hovers.annotations.details &amp; hovers.annotations.changes"
<img class="image__preview--overlay hidden" src="{{root}}/images/settings/hovers-annotations-details+changes-avatars.png"
data-visibility="hovers.enabled &amp; hovers.annotations.enabled &amp; hovers.annotations.details &amp; hovers.annotations.changes &amp; hovers.avatars"
/>
<img class="image__preview--overlay hidden" src="{{root}}/images/settings/hovers-annotations-details+changes.png" data-visibility="hovers.enabled &amp; hovers.annotations.enabled &amp; hovers.annotations.details &amp; hovers.annotations.changes &amp; hovers.avatars =false"
/>
<img class="image__preview--overlay hidden" src="{{root}}/images/settings/hovers-annotations-details.png" data-visibility="hovers.enabled &amp; hovers.annotations.enabled &amp; hovers.annotations.details &amp; hovers.annotations.changes =false"
<img class="image__preview--overlay hidden" src="{{root}}/images/settings/hovers-annotations-details-avatars.png" data-visibility="hovers.enabled &amp; hovers.annotations.enabled &amp; hovers.annotations.details &amp; hovers.annotations.changes =false &amp; hovers.avatars"
/>
<img class="image__preview--overlay hidden" src="{{root}}/images/settings/hovers-annotations-details.png" data-visibility="hovers.enabled &amp; hovers.annotations.enabled &amp; hovers.annotations.details &amp; hovers.annotations.changes =false &amp; hovers.avatars =false"
/>
<img class="image__preview--overlay hidden" src="{{root}}/images/settings/hovers-annotations-changes.png" data-visibility="hovers.enabled &amp; hovers.annotations.enabled &amp; hovers.annotations.details =false &amp; hovers.annotations.changes"
/>
@ -1083,6 +1105,7 @@
/>
</div>
</div>
</section>
<section id="modes">

Loading…
Cancel
Save