Add support for clicking label names and board titles

This commit is contained in:
John R. Supplee 2021-01-21 01:48:24 +02:00
parent 52f920db12
commit 61c691a267
4 changed files with 82 additions and 11 deletions

View file

@ -32,15 +32,28 @@ template(name="globalSearch")
+resultCard(card)
else
.global-search-instructions
h2 Label Colors
.palette-colors: each label in labelColors
span.card-label.palette-color.js-palette-color(class="card-label-{{label.color}}")
= label.name
h2 Boards
.lists-wrapper
each title in myBoardNames.get
span.card-label.list-title.js-board-title
= title
h2 Lists
.lists-wrapper
each title in myLists.get
span.card-label.list-title.js-list-title
= title
h2 Label Colors
.palette-colors: each label in labelColors
span.card-label.palette-color.js-label-color(class="card-label-{{label.color}}")
= label.name
if myLabelNames.get.length
h2 Label Names
.lists-wrapper
each name in myLabelNames.get
span.card-label.list-title.js-label-name
= name
+viewer
= searchInstructions
template(name="globalSearchViewChangePopup")
if currentUser