浏览代码

Update search instructions

John R. Supplee 4 年之前
父节点
当前提交
81d120ac50
共有 2 个文件被更改,包括 12 次插入11 次删除
  1. 10 10
      client/components/main/globalSearch.jade
  2. 2 1
      client/components/main/globalSearch.styl

+ 10 - 10
client/components/main/globalSearch.jade

@@ -34,24 +34,24 @@ template(name="globalSearch")
       .global-search-instructions
         h1 Search Operators
         +viewer
-          = 'Searches can include the operators to refine the search.  Operators are specified by writing the operator'
-          = 'name and value separated by a colon.  An operator specification of `list:Blocked` would limit the search'
+          = 'Searches can include operators to refine the search.  Operators are specified by writing the operator'
+          = 'name and value separated by a colon.  For example, an operator specification of `list:Blocked` would limit the search'
           = 'to cards that are contained in a list named *Blocked*.  If the value contains spaces or special characters'
-          = 'it most be enclosed in quotation marks (e.g. `list:"To Review"`).\n'
+          = 'it must be enclosed in quotation marks (e.g. `list:"To Review"`).\n'
           = 'Available operators are:\n'
-          = '* `board:title` - cards in boards with the specified title\n'
-          = '* `list:title` - cards in lists with the specified title\n'
-          = '* `swimlane:title` - cards in swimlanes with the specified title\n'
-          = '* `label:color` - cards that have a label with the given color\n'
-          = '* `label:name` - cards that have a label with the given name\n'
+          = '* `board:title` - cards in boards matching the specified title\n'
+          = '* `list:title` - cards in lists matching the specified title\n'
+          = '* `swimlane:title` - cards in swimlanes matching the specified title\n'
+          = '* `label:color` - cards that have a label matching the given color\n'
+          = '* `label:name` - cards that have a label matching the given name\n'
           = '* `user:username` - cards where the specified user is a member or assignee\n'
           = '* `@username` - shorthand for `user:username`\n'
           = '* `#label` - shorthand for `label:color-or-name`\n'
           = '## Notes\n'
           = '*  Multiple operators may be specified.\n'
-          = '*  Similar operators are ORed together.  Cards that match any of the conditions will be returned.\n'
+          = '*  Similar operators are *OR*ed together.  Cards that match any of the conditions will be returned.\n'
           = '    `list:Available list:Blocked` would return cards contained in any list named *Blocked* or *Available*.\n'
-          = '*  Differing operators are ANDed together.  Only cards that match each of the differing operators are returned.'
+          = '*  Differing operators are *AND*ed together.  Only cards that match all of the differing operators are returned.\n'
           = '`list:Available label:red` returns only cards in the list *Available* with a *red* label.\n'
           = '* Text searches are case insensitive.\n'
 

+ 2 - 1
client/components/main/globalSearch.styl

@@ -76,6 +76,7 @@
   min-width: 400px
   margin-right: auto
   margin-left: auto
+  line-height: 150%
 
 .global-search-query-input
   width: 90% !important
@@ -92,5 +93,5 @@
 code
   color: white
   background-color: grey
-  padding: 0.1rem
+  padding: 0.1rem !important
   font-size: 0.7rem !important