grafana/public/app/core/utils
Lukas Siatka df48d1c19f
Explore: Adds Loki explore query editor (#21497)
* Explore: updates grafana-data explore query field props with explore mode

* Explore: updates query row to pass down explore mode to query fields

* Explore: adds LokiExploreQueryEditor

* Explore: updates loki query field form to render children

* Explore: adds loki explore extra field component

* Explore: adds extra field element to loki query field form

* Explore: updates loki explore query editor to use extra field element

* Explore: moves ExploreMode to grafana-data

* Explore: updates query row limit string

* Explore: adds maxLines to DataQuery

* Explore: adds maxLines to loki datasource runRangeQueryWithFallback

* Explore: adds onChangeQueryLimit to LokiExploreQueryEditor

* Explore: updates loki explore query editor to render extra field only in logs mode

* Explore: fixes query limits for live and legacy queries

* Explore: fixes result processor max lines limit in get logs result

* Explore: fixes Loki datasource limit test

* Explore: removes unnecessary ExploreMode from Loki language provider

* Explore: fixes formatting

* Explore: updates grafana-data datasource types - replaces strings with explore mode enum

* Explore: updates loki explore query field props to take ReactNode

* Explore: updates the way we calculate loki query lines limit to fall back to 0 lines on negative or invalid input instead of datasource maxLines

* Explore: updates result processor get logs result method to avoid counting invalid/negative line limits

* Explore: updates loki result transformer to process only an appropriate slice of a result instead of an entire one

* Explore: adds a method for query limit preprocessing/mapping

* Explore: updates loki datasource run range query with fallback method to use options.maxDataPoints in dashboards

* Explore: removes unnecessary maxlineslimt from getLogsResult in resultProcessor

* Explore: moves line limit to metadata

* Explore: adds an ability to specify input type of extra field

* Explore: updates LokiExploreQueryEditor - adds an input type

* Explore: updates LokiExploreQueryEditor to run queries when maxLines is positive

* Explore: fixes failing import of ExploreMode

* Explore: fixes reducers test imports formatting

* Explore: updates Loki extra field with min value set to 0

* Explore: exports LokiExploreExtraFieldProps

* Explore: adds render test of LokiExploreQueryEditor

* Explore: adds LokiExploreQueryEditor snapshot

* Explore: updates LokiExploreQueryEditor onChangeQueryLimit method to prevent it from running when query input is empty - fixes cheatsheet display issue

* Explore: updates Loki editor snapshots

* Explore: fixes typo in test set name in LokiExploreQueryEditor

* Explore: adds a render test of LokiExploreExtraField

* Explore: fixes typo in LokiExploreQueryEditor

* Explore: updates LokiExploreQueryEditor snapshot due to timezone issues

* Explore: updates LokiExploreExtraField to export both functional component and a version using memo

* Explore: updates LokiExploreQueryEditor to export both functional component and memoized function

* Explore: updates LokiExploreQueryEditor - removes unnecessary react fragment

* Explore: updates LokiExploreQueryEditor snapshot

* Explore: adds LokiExploreQueryEditor tests for different explore mode cases

* Explore: fixes Loki datasource and result transformer

* Explore: updates LokiExploreQueryEditor snapshot

* Explore: updates LokiExploreQueryEditor tests and test setup

* Explore: updates LokiExploreQueryEditor - refactors component

* Explore: updates LokiExploreQueryEditor to use default import from LokiExploreExtraField

* Explore: updates LokiExploreQueryEditor snapshot

* Explore: fixes formatting

* Explore: updates LokiExploreQueryEditor max lines change

* Explore: updates LokiExploreQueryEditor tests checking ExtraFieldElement

* Explore: adds mock loki datasource to LokiExploreQueryEditor

* Explore: updates LokiExploreQueryEditor test mock - adds language provider

* Explore: updates LokiExploreQueryEditor snapshot

* Explore: updates Loki ResultTransformer to filter out rows on limit - logic to be moved into a component with new form styles

* Explore: updates LokiExploreQueryEditor tests
2020-02-06 12:34:52 +00:00
..
acl.ts wip: dashboard permissions to redux 2018-09-13 16:00:02 +02:00
browser.test.ts Core: Show browser not supported notification (#19904) 2019-10-23 10:30:31 +02:00
browser.ts Core: Show browser not supported notification (#19904) 2019-10-23 10:30:31 +02:00
CancelablePromise.ts Add util for handling promise cancelation to avoid setting state on unmounted components 2019-01-29 12:10:03 +01:00
colors.ts Moved colorpicker to ui/components 2019-01-11 07:03:12 +01:00
ConfigProvider.tsx Chore: Reorg packages (#20111) 2019-10-31 10:48:05 +01:00
connectWithReduxStore.tsx Chore: noImplictAny no errors left (#18303) 2019-08-01 14:38:34 +02:00
css_loader.ts Chore: noImplictAny no errors left (#18303) 2019-08-01 14:38:34 +02:00
dag.test.ts make sure to add all variable nodes to dag before linking variables 2018-10-12 14:15:44 +02:00
dag.ts Chore: noImplictAny no errors left (#18303) 2019-08-01 14:38:34 +02:00
emitter.ts Types: Adds type safety to appEvents (#19418) 2019-10-14 09:27:47 +01:00
errors.test.ts Chore: noImplictAny no errors left (#18303) 2019-08-01 14:38:34 +02:00
errors.ts utils: show string errors. Fixes #15782 2019-03-05 09:32:02 +01:00
explore.test.ts Explore: Adds Loki explore query editor (#21497) 2020-02-06 12:34:52 +00:00
explore.ts Explore: Adds Loki explore query editor (#21497) 2020-02-06 12:34:52 +00:00
factors.ts Use factors for max repeated panels per row 2019-01-09 11:17:48 +01:00
file_export.ts Chore: noImplictAny no errors left (#18303) 2019-08-01 14:38:34 +02:00
flatten.ts strictNullChecks: First batch (#18390) 2019-08-12 16:11:06 +02:00
kbn.test.ts ValueFormats: dynamically create units (#20763) 2019-12-04 09:08:07 +01:00
kbn.ts @grafana/data: use timeZone parameter rather than isUtc (#21276) 2020-01-02 08:11:28 -08:00
location_util.ts Fixed lots of loading flow issues and updated solo route page 2019-02-04 18:24:56 +01:00
model_utils.ts Chore: noImplictAny no errors left (#18303) 2019-08-01 14:38:34 +02:00
outline.ts Chore: noImplictAny no errors left (#18303) 2019-08-01 14:38:34 +02:00
promiseToDigest.test.ts Templating: Fixes digest issues in Template Variable Editor (#21079) 2019-12-13 09:47:53 +01:00
promiseToDigest.ts Templating: Fixes digest issues in Template Variable Editor (#21079) 2019-12-13 09:47:53 +01:00
query.test.ts Chore: Reorg packages (#20111) 2019-10-31 10:48:05 +01:00
query.ts Chore: Reorg packages (#20111) 2019-10-31 10:48:05 +01:00
react2angular.ts Update types and themes usage in components 2019-02-05 17:04:48 +01:00
scrollbar.ts Chore: noImplictAny no errors left (#18303) 2019-08-01 14:38:34 +02:00
sort_by_keys.ts Chore: noImplictAny no errors left (#18303) 2019-08-01 14:38:34 +02:00
text.ts DataLinks: Sanitize data/panel link URLs (#21140) 2019-12-18 11:31:11 +01:00
ticks.ts Chore: noImplictAny no errors left (#18303) 2019-08-01 14:38:34 +02:00
timePicker.test.ts Refactor: move some files to @grafana/data (#17952) 2019-07-06 08:05:53 +02:00
timePicker.ts Refactor: move some files to @grafana/data (#17952) 2019-07-06 08:05:53 +02:00
url.ts Chore: noImplictAny no errors left (#18303) 2019-08-01 14:38:34 +02:00
UserProvider.tsx UserProfile: convert user organizations section to react (#18707) 2019-09-05 12:47:20 +02:00
version.ts Fix SemVersion.isGtOrEq 2019-02-06 19:59:28 +03:00