Skip to content

Commit 5368de8

Browse files
committed
VersionList::Row: Show feature names in tooltip
1 parent b029bcc commit 5368de8

File tree

3 files changed

+77
-0
lines changed

3 files changed

+77
-0
lines changed

app/components/version-list/row.hbs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,17 @@
6969
<span local-class="num-features">
7070
{{svg-jar "checkbox"}}
7171
{{@version.featureList.length}} Features
72+
73+
<EmberTooltip>
74+
<ul local-class="feature-list">
75+
{{#each @version.featureList as |feature|}}
76+
<li>
77+
{{svg-jar (if feature.isDefault "checkbox" "checkbox-empty")}}
78+
{{feature.name}}
79+
</li>
80+
{{/each}}
81+
</ul>
82+
</EmberTooltip>
7283
</span>
7384
{{/if}}
7485
</div>

app/components/version-list/row.module.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,12 @@
172172
font-variant-numeric: tabular-nums;
173173
}
174174

175+
.feature-list {
176+
padding: 0;
177+
margin: 10px 5px;
178+
list-style: none;
179+
}
180+
175181
.yank-button {
176182
position: relative;
177183
margin-left: 10px;

public/assets/checkbox-empty.svg

Lines changed: 60 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)