mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-30 20:28:26 +00:00
Hide search menu by default and add search bar to top
Adds a search bar to the top of the listing page that is the same as the `All Names` search field in the search menu. Search menu can be toggled as before.
This commit is contained in:
@ -38,7 +38,7 @@ init _ =
|
||||
, itemListModel = Comp.ItemCardList.init
|
||||
, searchInProgress = False
|
||||
, viewMode = Listing
|
||||
, menuCollapsed = False
|
||||
, menuCollapsed = True
|
||||
, searchOffset = 0
|
||||
, moreAvailable = True
|
||||
, moreInProgress = False
|
||||
@ -57,6 +57,7 @@ type Msg
|
||||
| ToggleSearchMenu
|
||||
| LoadMore
|
||||
| UpdateThrottle
|
||||
| SetBasicSearch String
|
||||
|
||||
|
||||
type ViewMode
|
||||
|
Reference in New Issue
Block a user