mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Navigation: Integrate search into topnav (#54925)
* behaviour mostly there * slight performance improvement * slightly nicer... * refactor search and add it to the store * add comments about removing old component * remove unneeded logic * small design tweak * More small tweaks * Restore top margin * add onCloseSearch/onSelectSearchItem to useSearchQuery Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
This commit is contained in:
@@ -16,6 +16,7 @@ import { DashboardSettings } from './DashboardSettings';
|
||||
jest.mock('@grafana/runtime', () => ({
|
||||
...jest.requireActual('@grafana/runtime'),
|
||||
locationService: {
|
||||
getSearchObject: jest.fn().mockResolvedValue({}),
|
||||
partial: jest.fn(),
|
||||
},
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user