mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-21 18:08:25 +00:00
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:
@ -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"
|
||||
|
Reference in New Issue
Block a user