Chore: Refactor Search/Folder view types into DashboardViewItem (#63162)

* Chore: Refactor Search/Folder view types into DashboardViewItem

* uid is not optional in api

* rename queryResultToNestedFolderItem function

* Fix error from locationInfo being empty

* change queryResultToViewItem to take view instead

* Fix sortMeta fields not showing on search cards

* Show correct parent for panel search results
This commit is contained in:
Josh Hunt
2023-02-23 16:52:54 +01:00
committed by GitHub
parent a48793b542
commit 0c36b247af
20 changed files with 199 additions and 228 deletions

View File

@@ -59,7 +59,6 @@ describe('resolveLinks', () => {
title: 'DashLinks',
url: '/d/6ieouugGk/DashLinks',
isStarred: false,
items: [],
tags: [],
uri: 'db/DashLinks',
type: DashboardSearchItemType.DashDB,