Josh Hunt
ecf83a6df9
Search: Fix report search usage from throwing in console ( #60382 )
2022-12-15 13:58:20 +00:00
Artur Wierzbicki
009d65b794
Add query library behind dev-mode-only feature flag ( #55947 )
...
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
Co-authored-by: drew08t <drew08@gmail.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-11-30 15:33:40 -08:00
Leo
ce630b2dc5
Folder: Fix top folder creation ( #59422 )
...
fix top folder creation
2022-11-30 18:51:14 +01:00
renovate[bot]
e84a01e870
Update jest monorepo to v29 ( #58261 )
...
* Update jest monorepo to v29
* update snapshots + wrap test in act
* fix linting errors: jest.mocked now defaults to deep mocking
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-11-24 14:00:41 +00:00
Leo
7d82a27835
Folder: Provide adhoc ui for nested folder creation ( #59126 )
...
chore: provide adhoc ui for nested folder creation
2022-11-23 13:08:36 +01:00
Josh Hunt
b1ffe18599
Chore: Fix some as HTMLElement type assertions ( #58667 )
2022-11-21 13:05:55 +00:00
Ashley Harrison
5226a61f67
Navigation: Stop clearing search state when opening a result in a new tab ( #58880 )
...
search: only clear search state if not opening in a new tab
2022-11-18 14:17:59 +00:00
Leo
27b6b3b3bd
Folder: Replace folderId with folderUid ( #58393 )
...
* support folderuid in FolderPicker
* support folderuid in unified alerting
* support folderuid when returning to view mode after editing a panel
* support folderuid when preselecting the folderpicker in dashboard general settings
* support folderuid when saving dashboard
* support folderuid when pre-selecting folderpicker in dashboard form
* support folderuid in routes when loading a dashboard
* support folderuid when saving dashboard json
* support folderuid when validating new dashboard name
* support folderuid when moving dashboard to another folder
* support folderuid on dashboard action buttons
* support folderuid when creating a new dashboard on an empty folder
* support folderuid when showing library panel modal
* support folderuid when saving library panel
* support folderuid when importing dashboard
* fixed broken tests
* use folderuid when importing dashboards
* remove commented line
* fix typo when comparing uid values
2022-11-17 09:22:57 +01:00
Joao Silva
20e6ac397e
Search: Fixes issue with Recent/Starred section always displaying "General" folder ( #58746 )
2022-11-15 13:16:03 +01:00
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
Gabriel MABILLE
4d380978d3
Fix: Unlock new button based on user permissions ( #57733 )
2022-10-27 15:48:07 +02:00
Ashley Harrison
d2a70bc42d
Chore: more any/type assertion improvements ( #57450 )
...
* more friday any/type assertion improvements
* Apply suggestions from code review
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
* Update public/app/angular/promiseToDigest.test.ts
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2022-10-25 11:04:35 +02: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
Torkel Ödegaard
0d9b321058
DashboardsList: Fixes issue with overflow hidden causing input focus state to be obscured ( #57021 )
2022-10-17 14:19:57 +02:00
kay delaney
e85917f041
Chore/React18: Update component prop types ( #56898 )
2022-10-14 10:24:32 +01:00
Leon Sorokin
5acda40248
Search/ActionRow: drill placeholder to SortPicker ( #56475 )
2022-10-13 13:30:20 -06:00
Torkel Ödegaard
85e3ed491d
DashboardsList: Fix height issue in topnav ( #56661 )
2022-10-12 11:00:45 +01:00
Leon Sorokin
8300702524
Search: fuzzy match dashboard names in frontend from full list ( #55721 )
2022-10-05 18:32:35 -04:00
George Rodrigues
8950d86141
fix: some typos ( #56171 )
2022-10-04 18:43:49 -05:00
Ashley Harrison
e942a3d99d
enable jsx-a11y/no-autofocus ( #56288 )
2022-10-04 12:54:14 +01: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
Ashley Harrison
5b1fdd535a
Accessibility: turn on jsx-a11y/no-noninteractive-tabindex
+ fix/ignore errors ( #56084 )
...
* turn on jsx-a11y/no-noninteractive-tabindex + fix/ignore errors
* update comments
2022-09-30 13:20:39 +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
Artur Wierzbicki
814211282a
Search: Fix tags query ( #55851 )
...
* Search: fix tags query
* Search: fix type
2022-09-27 21:16:49 +04:00
Artur Wierzbicki
af9e58eeeb
Search: fix cache in the frontend search engine ( #55681 )
2022-09-23 10:13:14 -07:00
Ashley Harrison
480a3b92d2
dispatch clearFilters when an item is selected ( #55512 )
2022-09-23 14:46:21 +01:00
Artur Wierzbicki
f8d69415ca
Search: create a separate HTTP endpoint ( #55634 )
...
* search: create a separate http endpoint
* search: extract api uri
* search: rename uri
* search: replicate the readiness check
* search: replicate the readiness check metric
* search: update mock
2022-09-22 19:02:09 -04:00
Artur Wierzbicki
e341aa4dab
Search: fix front end query search condition ( #55611 )
...
* fix frontend query condition
* refactor to `inludes`
2022-09-22 05:34:09 -04:00
Ryan McKinley
0c38a3ba97
Search: Investigate frontend search options (again) ( #55526 )
2022-09-20 20:24:29 -04:00
Torkel Ödegaard
10b3c0787a
CSSTransition fixes warnings ( #55340 )
2022-09-20 11:47:31 +02:00
kay delaney
64bbb7a7ce
Chore: Update and enforce usage of typed react-redux hooks ( #55349 )
...
* Chore: Update and enforce usage of typed react-redux hooks
2022-09-19 10:49:35 +01:00
Leo
896d684065
Browse: Hide dashboard actions if user does not have enough permission ( #55218 )
...
* hide dashboard actions if user does not have enough permission
* improve test description
2022-09-16 09:19:19 +02: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
ac93cf1db2
Playlists: Migrate to UIDs and load dashboards in the frontend ( #54125 )
2022-09-05 20:40:01 -07:00
Artur Wierzbicki
74158ed66b
Search: use SQL search as a fallback during bluge's initial indexing ( #54095 )
...
* Search: use SQL search as a fallback when bluge indexing is ongoing
* Search: lint
* Search: feedback fixes - return an empty frame with a special name
* Search: revert readiness check query type
* Search: remove println
* remove sleep, get coffee
2022-08-26 12:36:41 +04:00
Ivan Ortega Alba
c332bf885c
Migrate to UID: Stop using search result ID ( #54099 )
...
* DashList: Stop using IDs
* DashLinks: Stop using IDs
* BackendSrv: Do not use ID for search endpoint
* DashboardDataDTO: Remove ID
* Remove unused properties from DashboardSearchItem
2022-08-26 09:42:46 +02: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
0ce89dbcb6
use dash-db type when searching for dashboard ( #53607 )
2022-08-12 16:14:04 +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