grafana/public/app
Matias Chomicki 4be99c56f6
Loki Query Editor: Autocompletion and suggestions improvements (unwrap, parser, extracted labels) (#59103)
* Chore: refactor test to improve internal categorization of scenarios

* feat(loki-monaco-unwrap): add unwrap situation support

* Chore: remove redundant path from aggregation situation

* feat(loki-monaco-unwrap): add unwrap suggestions

* feat(loki-monaco-autocomplete): rename IN_DURATION and add missing tests

* feat(loki-monaco-autocomplete): detect parser and line filter

* feat(loki-monaco-autocomplete): optionally suggest line filters and parsers

* feat(loki-monaco-autocomplete): improve suggestions and update completions tests

* feat(loki-monaco-autocomplete): allow for multiple line filters suggestions

* Chore: update situations test

* Chore: add test case for AFTER_UNWRAP completion

* feat(loki-monaco-autocomplete): use logs query instead of labels for data sample

* Chore: improve getParser function name and add tests

* Chore: update test mock data

* Update public/app/plugins/datasource/loki/components/monaco-query-field/monaco-completion-provider/situation.test.ts

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>

* feat(loki-monaco-autocomplete): improve after unwrap detection

* feat(loki-monaco-autocomplete): remove leftover parser detection

* Chore: completely remove parser suggestion exclusion implementation

It was correct to have more than one parser, so we don't need to exclude parsers if one is present.

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2022-12-14 11:37:08 -05:00
..
angular Chore: more any/type assertion improvements (#57450) 2022-10-25 11:04:35 +02:00
core Navigation: use the branding menu logo in topnav (#60227) 2022-12-13 14:44:18 +00:00
features Alerting: Track events for rule creation/abortion (#59912) 2022-12-14 11:50:15 -03:00
partials
plugins Loki Query Editor: Autocompletion and suggestions improvements (unwrap, parser, extracted labels) (#59103) 2022-12-14 11:37:08 -05:00
polyfills
routes Export: move export page to a full page (not view on storage) (#60263) 2022-12-13 19:40:20 -08:00
store PublicDashboard: Add RTK Query with loading and error state. Add MSW dependency for testing. (#55518) 2022-09-22 09:35:04 -03:00
types Add query library behind dev-mode-only feature flag (#55947) 2022-11-30 15:33:40 -08:00
app.ts Internationalization: Change locale preference to language (#58359) 2022-11-22 12:18:34 +00:00
AppWrapper.tsx Explore: Remove camel case from tracking labels (#56809) 2022-10-13 12:12:50 +02:00
dev.ts Chore: Make "why-did-you-render" a dynamic import (#53121) 2022-08-08 15:33:49 +01:00
index.ts Type window.nonce (#51200) 2022-06-22 09:28:05 +01:00