Browse Source

Adds autolinks toggle to hover settings UI

main
Eric Amodio 2 years ago
parent
commit
059b60a8f3
1 changed files with 40 additions and 0 deletions
  1. +40
    -0
      src/webviews/apps/settings/partials/hovers.html

+ 40
- 0
src/webviews/apps/settings/partials/hovers.html View File

@ -22,6 +22,46 @@
</div> </div>
</div> </div>
<div class="section__group">
<div class="section__content">
<div class="settings settings--fixed">
<div class="setting" data-enablement="hovers.enabled">
<div class="setting__input">
<input
id="hovers.autolinks.enabled"
name="hovers.autolinks.enabled"
type="checkbox"
data-setting
disabled
/>
<label for="hovers.autolinks.enabled">Show autolinks in commit messages</label>
</div>
</div>
<div class="settings settings--fixed ml-2">
<div
class="setting"
data-enablement="hovers.enabled &amp; hovers.autolinks.enabled"
>
<div class="setting__input">
<input
id="hovers.autolinks.enhanced"
name="hovers.autolinks.enhanced"
type="checkbox"
data-setting
disabled
/>
<label for="hovers.autolinks.enhanced">Enhance autolink details</label>
</div>
<p class="setting__hint">
Requires a connection to a supported remote service (e.g. GitHub)
</p>
</div>
</div>
</div>
</div>
</div>
<div class="setting" data-enablement="hovers.enabled"> <div class="setting" data-enablement="hovers.enabled">
<div class="setting__input"> <div class="setting__input">
<input <input

Loading…
Cancel
Save