LibraryPanels: Adds panel type filter and sorting (#33425)

* Wip: inital commit

* Chore: updating api

* Refactor: adds description search and sorting

* Refactor: adds panel filtering

* Refactor: limits the height of select

* Tests: updates snapshot

* Refactor: small UI improvements
This commit is contained in:
Hugo Häggmark
2021-04-28 09:18:13 +02:00
committed by GitHub
parent eaf7decf5a
commit 20ee0e9601
16 changed files with 756 additions and 119 deletions
+2 -2
View File
@@ -60,8 +60,8 @@ type SearchService struct {
func (s *SearchService) Init() error {
s.Bus.AddHandler(s.searchHandler)
s.sortOptions = map[string]SortOption{
sortAlphaAsc.Name: sortAlphaAsc,
sortAlphaDesc.Name: sortAlphaDesc,
SortAlphaAsc.Name: SortAlphaAsc,
SortAlphaDesc.Name: SortAlphaDesc,
}
return nil