grafana/public/app/core/components
Alex Khomenko 89c8855f9d
Search: migrate manage dashboards (#23530)
* Search: add search wrapper

* Search: add DashboardSearch.tsx

* Search: enable search

* Search: update types

* Search: useReducer for saving search results

* Search: use default query

* Search: add toggle custom action

* Search: add onQueryChange

* Search: debounce search

* Search: pas dispatch as a prop

* Search: add tag filter

* Search: Fix types

* Search: revert changes

* Search: close overlay on esc

* Search: enable tag filtering

* Search: clear query

* Search: add autofocus to search field

* Search: Rename close to closeSearch

* Search: Add no results message

* Search: Add loading state

* Search: Remove Select from Forms namespace

* Remove Add selectedIndex

* Remove Add getFlattenedSections

* Remove Enable selecting items

* Search: add hasId

* Search: preselect first item

* Search: Add utils tests

* Search: Fix moving selection down

* Search: Add findSelected

* Search: Add type to section

* Search: Handle Enter key press on item highlight

* Search: Move reducer et al. to separate files

* Search: Remove redundant render check

* Search: Close overlay on Esc and ArrowLeft press

* Search: Add close button

* Search: Document utils

* Search: use Icon for remove icon

* Search: Add DashboardSearch.test.tsx

* Search: Move test data to a separate file

* Search: Finalise DashboardSearch.test.tsx

* Add search reducer tests

* Search: Add search results loading indicator

* Search: Remove inline function

* Search: Do not mutate item

* Search: Tweak utils

* Search: Do not clear query on tag clear

* Search: Fix folder:current search

* Search: Fix results scroll

* Search: Update tests

* Search: Close overlay on cog icon click

* Add mobile styles for close button

* Search: Use CustomScrollbar

* Search: Memoize TagList.tsx

* Search: Fix type errors

* Search: More strictNullChecks fixes

* Search: Add ManageDashboards.tsx

* Search: Add mergeReducers

* Search: Use mergeReducers

* Search: remove default state from reducers

* Search: Fix recent and starred icons

* Search: Enable search

* Search: Add markup

* Search: Separate manageDashboardsReducer

* Search: Add DashboardActions.tsx

* Use new Select for TagFilter

* Search: Use TagFilter for search filters

* Search: Use TagList

* Search: Add toggleSection

* Search: Add more actions

* Search add manageDashboards.test.ts

* Search: Add getCheckedUids

* Search: Add modify and toggle checked actions

* Search: Update tests

* Search: Update component template

* Search: Enable section toggle

* Search: Derive canMove and canDelete

* Search: Handle delete items

* Search: Fix tests

* Search: Enable toggle items

* Search: Add confirm modal subtitle

* Search: Use theme vars

* Search: Add getCheckedDashboardsUids

* Search: Add MoveToFolderModal

* Search: Enable moving dashboards

* Search: Fix strict null checks errors

* Search: Fix strict null checks errors[2]

* Search: Enable filters

* Search: Add useSearchQuery.ts

* Search: Toggle items when toggling all

* Search: Update useSearchQuery to accept custom params

* Search: Add useSearchQuery to dashboard search

* Search: use SearchField for manage dashboards

* Search: Remove event param from query change

* Search: Add base search hooks

* Search: refactor useSearch to accept reducer

* Search: use useDashboardSearch hook

* Search: Fix useSearchQuery params

* Search: Enable folder search

* Search: Update tests

* Search: Pass the props to manage-dashboards

* Search: Add search filters margin

* Search: Remove search-field-wrapper class and hide logic for it

* Search: Adjust SearchField styles

* Search: Move search-results-container inside SearchResults

* Search: Fix type errors

* Search: Add EmptyListCTA

* Search: Update move message

* Search: Cleanup

* Search: Add todo

* Search: Fix action type

* Search: Use React wrapper vs FolderDashboardsCtrl and DashboardListCtrl

* Search: DashboardList => DashboardListPage

* Search: Remove ManageDashboards from angular_wrappers

* Minor style tweaks

* Search: Use LinkButton

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2020-04-17 15:29:20 +03:00
..
Animations Chore: Upgrades typescript to version 3.5 (#18263) 2019-07-26 15:14:06 +01:00
AppNotifications CloudWatch: Datasource improvements (#20268) 2019-11-14 10:59:41 +01:00
BackButton Components: IconButton (#23510) 2020-04-11 16:07:18 +02:00
Branding Core: Make application title customizable for WL (#22401) 2020-02-25 15:18:37 +01:00
code_editor TSLint → ESLint (#21006) 2020-02-08 02:40:04 +01:00
colorpicker Chore: Typescript no-implicit any fixes progress (#17018) 2019-05-12 14:15:23 +02:00
CopyToClipboard Migration: Save dashboard modals (#22395) 2020-03-03 08:22:26 +01:00
DynamicImports @grafana/ui: Create Icon component and replace part of the icons (#23402) 2020-04-08 14:33:31 +02:00
EmptyListCTA @grafana/ui: Replace various icons using Icon component (#23442) 2020-04-12 22:20:02 +02:00
FilterInput Forms migration: Remove Input from Forms namespace (#23301) 2020-04-03 10:04:19 +02:00
Footer @grafana/ui: Replace various icons using Icon component (#23442) 2020-04-12 22:20:02 +02:00
form_dropdown Azure: Fixed dropdowns not showing current value (#22914) 2020-03-20 11:04:21 +01:00
help @grafana/ui: Replace various icons using Icon component (#23442) 2020-04-12 22:20:02 +02:00
jsontree Transformers: configure result transformations after query(alpha) (#18740) 2019-09-09 08:58:57 +02:00
layout_selector @grafana/ui: Create Icon component and replace part of the icons (#23402) 2020-04-08 14:33:31 +02:00
LayoutSelector @grafana/ui: Create Icon component and replace part of the icons (#23402) 2020-04-08 14:33:31 +02:00
LocalStorageValueProvider Dashboard: new updated time picker (#20931) 2019-12-20 15:31:58 +01:00
Login Okta OAuth provider (team sync support) (#22972) 2020-04-02 17:35:48 +03:00
manage_dashboards Search: migrate manage dashboards (#23530) 2020-04-17 15:29:20 +03:00
modals Migration: Save dashboard modals (#22395) 2020-03-03 08:22:26 +01:00
OrgActionBar Forms migration: New datasource (#23221) 2020-04-01 15:55:23 +02:00
Page Core: Make application title customizable for WL (#22401) 2020-02-25 15:18:37 +01:00
PageHeader @grafana/ui: Replace various icons using Icon component (#23442) 2020-04-12 22:20:02 +02:00
PageLoader Feature: Encapsulated dynamic imports with error boundary and suspense (#19128) 2019-09-17 09:46:26 +02:00
PermissionList @grafana/ui: Replace various icons using Icon component (#23442) 2020-04-12 22:20:02 +02:00
PluginHelp Markdown: Replace rendering library (#17686) 2019-06-26 13:15:45 +02:00
query_part TSLint → ESLint (#21006) 2020-02-08 02:40:04 +01:00
QueryOperationRow Table: add a select option when multiple tables exist (#23545) 2020-04-16 21:35:58 +02:00
scroll Chore: Typescript no-implicit any fixes progress (#17018) 2019-05-12 14:15:23 +02:00
search @grafana/ui: Replace various icons using Icon component (#23442) 2020-04-12 22:20:02 +02:00
Select Search: migrate manage dashboards (#23530) 2020-04-17 15:29:20 +03:00
SharedPreferences Forms migration: Old Select to Legacy namespace (#23200) 2020-04-02 10:57:35 +02:00
sidemenu @grafana/ui: Replace various icons using Icon component (#23442) 2020-04-12 22:20:02 +02:00
sql_part TSLint → ESLint (#21006) 2020-02-08 02:40:04 +01:00
TagFilter Use new Select for TagFilter (#23472) 2020-04-09 20:21:27 +03:00
TimePicker Chore: rename TimePicker to TimeRangePicker (#23524) 2020-04-12 21:05:29 -07:00
connectWithCleanUp.tsx Chore: Updates yarn.lock (#19919) 2019-10-19 09:30:12 +02:00
dashboard_selector.ts Chore: Remove angular dependency from backendSrv (#20999) 2020-01-21 10:08:07 +01:00
info_popover.ts @grafana/ui: Create Icon component and replace part of the icons (#23402) 2020-04-08 14:33:31 +02:00
OrgSwitcher.tsx @grafana/ui: Create Icon component and replace part of the icons (#23402) 2020-04-08 14:33:31 +02:00
switch.ts Chore: No implict any fixes (#17020) 2019-05-13 09:38:19 +02:00
WithFeatureToggle.tsx teams: feature toggle component 2019-03-19 13:57:24 +01:00