kay delaney
a8c181bf6a
Chore: Migrate usage of v1 theme to v2 ( #58154 )
2022-11-03 18:15:55 +00:00
Marcos Vinicius
372ba83534
reduce the number of requests in folder section ( #55876 )
2022-11-03 13:22:07 +00:00
Torkel Ödegaard
915ebcf832
Search: Refactor state and logic to be less fragmented and spread out ( #57973 )
...
* Started search state refactor
* Things are working
* Move more to statemanger
* minor tweaks
* Fixed name of hook
* revert yarn.lock changes
* Harderning StateManagerBase
* More tests and refinements
* Fixed unit test
* More polish
* fixing tests
* fixed test
* Fixed test
2022-11-03 08:29:39 +01:00
Torkel Ödegaard
3991be4c1d
Search: Fixes searching by current folder when opened by clicking dashboard folder name ( #57716 )
...
* Search: Read from url on mount no on app boot
* Fixed tests
* Remove unused type
2022-11-01 10:11:42 +01:00
Artur Wierzbicki
c26cf6a517
Search: Sort alphabetically in the folder view, increase the limit of the folder search from 50 to 1000 ( #57078 )
...
* search: sort folders
* search: increase the limit for folder search to 1000
* add folder view sort test
* search: getFolderViewSort
* search: revert test
Co-authored-by: Todd Treece <todd.treece@grafana.com>
2022-10-18 14:10:53 +08:00
kay delaney
5d53a983d8
React18: Update useCallback arg types where needed ( #57084 )
2022-10-17 14:52:12 +01:00
Leon Sorokin
5acda40248
Search/ActionRow: drill placeholder to SortPicker ( #56475 )
2022-10-13 13:30:20 -06:00
Laura Fernández
fca252e7dc
A11y: enable rule jsx-a11y/alt-text ( #55832 )
...
* Enable jsx-a11y/alt-text rule
* Fix errors
* Fix tests
* Enable jsx-a11y/alt-text rule after solving merge conflict
* Delete unused import
* Modify files according to the reviewer's comments
* Revert test changes and update snapshot
* tweaks to image alt names
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-10-03 09:27:04 +01:00
Alexa V
51028b1b2e
Panel Inspect JSON: Add instrumentation for "Apply" feature ( #55179 )
...
Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com>
2022-09-28 09:56:58 +02:00
Artur Wierzbicki
202dce66ff
Search: add basic e2e test for the folder view ( #55820 )
2022-09-28 09:46:24 +04:00
Joao Silva
13014dc0df
Search: Fixes folder section not displaying dashboards ( #55231 )
2022-09-15 14:00:05 +01:00
Joao Silva
ca2139e9ce
Search: Avoid requesting all dashboards when in Folder View
2022-09-14 18:51:55 +01:00
Ashley Harrison
a861c10f1b
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>
2022-09-09 11:01:31 +01:00
Josh Hunt
139705611a
Chore: Remove remaining IconName type assertions ( #54658 )
...
* Chore: Remove remaining IconName type assertions
* fix lints
2022-09-06 09:15:36 +01:00
Ryan McKinley
94b4f6f459
Search: Show all dashboards in the folder view ( #54163 )
2022-08-24 12:10:34 -04:00
Esteban Beltran
81957732ab
Chore: Replace react-inlinesvg usage for the Icon component ( #53736 )
2022-08-17 09:09:58 +02:00
Leo
64967325b2
Search: Migrated impressions to use dashboardUID ( #53090 )
...
* used dashboarduid in impressions
* handle scenario to convert all ids saved in storage to uids
2022-08-08 11:13:19 +02:00
Artur Wierzbicki
f61a97a0ab
Search: rename remove search constraints
( #53190 )
2022-08-03 16:44:51 +04:00
Ivan Ortega Alba
c9d50ddaaa
Search: Track user searches and results interactions ( #52949 )
2022-07-29 11:30:13 -04:00
Ryan McKinley
fbd289c19c
Search: add starred filter and swap button order ( #52184 )
...
Co-authored-by: Alexandra Vargas <alexa1866@gmail.com>
Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com>
2022-07-29 16:34:17 +02:00
Leo
8d6d5f2fdc
SearchV2: Add minor UX improvements to Search pages ( #52833 )
...
* Search: display dash for panel and folder when sort type is view or error
* Search: Disabled panel checkbox in folrder view
2022-07-28 11:17:47 +02:00
Artur Wierzbicki
bcfa4fabf6
Search: Allowed actions ( #52529 )
2022-07-22 17:42:43 -07:00
Ryan McKinley
eb6d6d0d2b
Search: pass the 'explain' flag from the UI and debug paging issues ( #51847 )
2022-07-08 15:28:21 -04:00
Alexander Emelin
a2478c3a32
Search: Sort by updated at and created at ( #50416 )
...
Co-authored-by: Artur Wierzbicki <artur.wierzbicki@grafana.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-06-30 16:33:30 -07:00
Maria Alexandra
76aa4f770e
SearchV2: add back the column styles for the SearchResultsTable component ( #51549 )
2022-06-29 15:45:20 +02:00
Ashley Harrison
2429fe1c70
Search: Add unit tests for SearchResultsTable
( #51269 )
...
* initial scaffolding for unit tests
* more tests for searchresultstable
* skip failing test, remove unused css
* Correctly mock stuff so TableCell renders correctly!
2022-06-28 12:48:59 +01:00
Ryan McKinley
b6a9b9804d
Plugin admin: Add a page to show where panel plugins are used in dashboards ( #50909 )
2022-06-27 20:23:43 -04:00
Ryan McKinley
a093250dd5
Chore: avoid implicit any by using inline functions ( #51338 )
2022-06-23 11:19:08 -07:00
Ryan McKinley
eceb21e72d
Search: switch to a card view when the display is narrow ( #51208 )
2022-06-23 07:30:47 -07:00
Maria Alexandra
81dc9ef725
SearchV2: Add unit test to SearchResultsGrid ( #51296 )
...
* SearchResultsGrid add unit test
* Fix linting issues
2022-06-23 12:14:30 +02:00
Joao Silva
cbefbd3ff7
Search: Adds tests to SearchView ( #51248 )
2022-06-22 17:20:57 +01:00
Josh Hunt
357b859fa7
Remove any generics from configureMockStore in tests ( #51179 )
2022-06-21 17:48:52 +01:00
Maria Alexandra
395623b0a2
SearchV2: Add unit test for ManageActions ( #51131 )
2022-06-21 13:44:46 +02:00
Ashley Harrison
05fbfdaa13
Search: add unit tests for FolderView
( #51114 )
...
* add unit tests for FolderView
* add basic unit test for Alert component
* prevent flicker of `No results found`
2022-06-21 09:35:03 +01:00
Ashley Harrison
1b9dd378f2
Chore: Unit tests for FolderSection
( #50961 )
...
* unit test scaffolding for FolderSection
* remove redundant spinner + more test scaffolding
* more test experimentation
* clear localStorage between test runs
* more tests + add back spinner when renderStandaloneBody
* bit of tidy up
* update Spinner data-testid
* fix import ordering
2022-06-17 10:14:33 +01:00
Ryan McKinley
e23dbfe605
Search: default layout to last selected value ( #50743 )
2022-06-15 10:07:34 -07:00
Ryan McKinley
402b5ce4c6
SearchV2: support keyboard navigation ( #49650 )
...
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2022-06-13 09:10:19 -07:00
Artur Wierzbicki
49112c8356
Search: fix 'Clear filters' button ( #50227 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-06-07 11:57:23 +04:00
Alexander Emelin
da49f907bb
SearchV2: explicit dashboard loading order and cleanups ( #50210 )
2022-06-05 23:46:35 +02:00
Maria Alexandra
b344f48e68
SearchV2: Fix Move and Delete not updating list in folder view ( #49524 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-06-03 17:33:04 +02:00
Ryan McKinley
1a324b3330
SearchV2: add CTA and reporting to new search UI ( #50175 )
2022-06-03 17:22:17 +02:00
Ryan McKinley
4dfab0b7d5
SearchV2: optionally exclude panels from search results ( #49971 )
2022-06-01 09:05:53 -07:00
Maria Alexandra
07bfa13770
SearchV2: Fix scroll issue in folder folder view page ( #50010 )
2022-06-01 07:55:30 -07:00
kay delaney
17d0133008
Search: Fix overflow issue with folder view ( #49723 )
2022-05-30 10:31:42 +01:00
Ryan McKinley
a641949a05
SearchV2: improve searcher API, and include a fallback SQL based implementation ( #49535 )
2022-05-26 17:08:17 -07:00
Ryan McKinley
2fa91b75e0
Search: add icon for row and singlestat panels ( #49620 )
2022-05-25 18:33:48 +02:00
kay delaney
861c6f21a0
Search: Center FolderSection spinner ( #49494 )
2022-05-24 16:57:35 +01:00
Torkel Ödegaard
20f8b8625a
Search: Add primary background for global search container ( #49473 )
...
* Search: Add primarhy background for global search container
* Fix spacing for ActionRow
* Fixing ts issue
2022-05-24 13:58:44 +00:00
Ryan McKinley
521b0202e2
Search: remove special playground page and replace the standard results ( #49442 )
2022-05-24 10:04:21 +02:00
Ryan McKinley
33b2897552
Search: scroll to the top after a query changes ( #49447 )
2022-05-23 14:36:32 -07:00