b8e4c2abeb
Loki: Move explain section to builder mode ( #52879 )
...
* Loki: Move explain to builder and code mode
* Update
* Update transition
* Fix tests
* Fix tests
* Prometheus: Move explain section to builder mode (#52935 )
* Prometheus: Move explain section to builder mode
* Show explain switch before raw query switch
* Store explain switch value in localstorage
* Make explain available for code mode too
* Introduce useFlag hook for query editor switches
* Remove Explain mode
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
2022-07-29 17:09:43 +02:00
c412a3b052
logs: track the usage of certain features ( #50325 )
...
* logs: track the usage of certain features
* Add report interaction for logs interactions
* mock reportInteraction in test
* mock reportInteraction
Co-authored-by: Ivana Huckova <ivana.huckova@gmail.com>
2022-06-09 15:53:23 +02:00
386181cf45
Loki code editor: do not run query on blur in explore mode ( #49241 )
...
* loki code editor: do not run query on blur in explore mode
* loki: code editor: better change tracking
* fixed comment
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2022-05-26 15:03:36 +02:00
3c6e0e8ef8
Chore: ESlint import order ( #44959 )
...
* Add and configure eslint-plugin-import
* Fix the lint:ts npm command
* Autofix + prettier all the files
* Manually fix remaining files
* Move jquery code in jest-setup to external file to safely reorder imports
* Resolve issue caused by circular dependencies within Prometheus
* Update .betterer.results
* Fix missing // @ts-ignore
* ignore iconBundle.ts
* Fix missing // @ts-ignore
2022-04-22 14:33:13 +01:00
1c648cb52c
Loki: Adds options to the new query builder ( #46783 )
...
* Initial commit for loki builder options
* Loki query options
* Added some basic tests
* Update public/app/plugins/datasource/loki/querybuilder/components/LokiQueryBuilderOptions.test.tsx
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
* Updated options
* All option changes should trigger query
* Fixed ts issue
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2022-03-25 13:13:55 +01:00