Simplify search bar and menu

The option "contents" has been removed from the search bar. This field
is not intended to be used alone, but rather in conjunction with other
fields. Otherwise it may be really slow on large databases.

The "name" option has been removed from the search menu. This doesn't
provide anything better over the "Names" field, that search more
fields, including item names.
This commit is contained in:
Eike Kettner
2020-08-01 00:14:33 +02:00
parent 5bf302a40e
commit 46b784cc33
3 changed files with 57 additions and 48 deletions

View File

@ -21,6 +21,8 @@ module Data.Icons exposing
, organizationIcon
, person
, personIcon
, search
, searchIcon
, tag
, tagIcon
, tags
@ -31,6 +33,16 @@ import Html exposing (Html, i)
import Html.Attributes exposing (class)
search : String
search =
"search icon"
searchIcon : String -> Html msg
searchIcon classes =
i [ class (search ++ " " ++ classes) ] []
folder : String
folder =
"folder outline icon"