Add field-based color indicators to person search cards filtering
This commit is contained in:
@@ -67,6 +67,10 @@
|
||||
matTooltipPosition="above"
|
||||
(focusin)="tooltip.show()"
|
||||
(focusout)="tooltip.hide()">
|
||||
<span
|
||||
class="field-dot"
|
||||
[style.background]="getFieldColor(topic.fieldName)"
|
||||
aria-hidden="true"></span>
|
||||
<span class="topic-name">{{ topic.name }}</span>
|
||||
</mat-checkbox>
|
||||
<span class="topic-path" [title]="topic.path">{{
|
||||
@@ -112,7 +116,10 @@
|
||||
: 'chevron_right'
|
||||
}}
|
||||
</mat-icon>
|
||||
<mat-icon class="folder-icon">folder</mat-icon>
|
||||
<span
|
||||
class="field-dot"
|
||||
[style.background]="getFieldColor(field.name)"
|
||||
aria-hidden="true"></span>
|
||||
<span class="node-title field-title">{{
|
||||
field.name
|
||||
}}</span>
|
||||
|
||||
Reference in New Issue
Block a user