grafana/public/app/features/explore
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
..
__mocks__ Chore: Bumps prettier version for new typescript syntax support (#20463) 2019-11-19 13:59:39 +00:00
__snapshots__ Explore: adds basic tests to TableContainer checking the render and output on 0 series returned 2020-01-30 12:02:50 +00:00
slate-plugins/prism Chore: Moves QueryField to @grafana/ui (#19678) 2019-10-31 08:27:01 +00:00
state Explore: Adds Loki explore query editor (#21497) 2020-02-06 12:34:52 +00:00
utils Explore: Adds Loki explore query editor (#21497) 2020-02-06 12:34:52 +00:00
AdHocFilter.tsx Chore: Remove several instances of non-strict null usage (#20563) 2019-11-26 09:01:32 +00:00
AdHocFilterField.test.tsx Chore: Remove several instances of non-strict null usage (#20563) 2019-11-26 09:01:32 +00:00
AdHocFilterField.tsx Chore: Remove several instances of non-strict null usage (#20563) 2019-11-26 09:01:32 +00:00
ElapsedTime.tsx Explore: Add memoization and remove unused props (#18775) 2019-08-29 13:41:45 +02:00
ErrorContainer.tsx Chore: Remove several instances of non-strict null usage (#20563) 2019-11-26 09:01:32 +00:00
Explore.tsx Explore: Adds Loki explore query editor (#21497) 2020-02-06 12:34:52 +00:00
ExploreGraphPanel.tsx Chore: Remove several instances of non-strict null usage (#20563) 2019-11-26 09:01:32 +00:00
ExploreTimeControls.tsx Dashboard: new updated time picker (#20931) 2019-12-20 15:31:58 +01:00
ExploreToolbar.tsx Explore: Adds Loki explore query editor (#21497) 2020-02-06 12:34:52 +00:00
JSONViewer.tsx Chore: noImplicitAny Sub 500 errors (#18287) 2019-07-30 15:49:32 +02:00
LiveLogs.test.tsx Explore: Fix context view in logs, where some rows may have been filtered out. (#21729) 2020-01-26 23:13:56 +01:00
LiveLogs.tsx Livetailing: set table withd to 100% (#21213) 2019-12-20 11:21:04 +01:00
LiveTailButton.tsx Explore: Sync timepicker and logs after live-tailing stops (#20979) 2019-12-11 14:14:39 +01:00
Logs.tsx Explore: updates Logs component to use MetaInfoText component 2020-01-30 12:02:50 +00:00
LogsContainer.tsx Chore: Remove several instances of non-strict null usage (#20563) 2019-11-26 09:01:32 +00:00
MetaInfoText.test.tsx Explore: adds MetaInfoText tests 2020-01-30 12:02:50 +00:00
MetaInfoText.tsx Explore: adds export of MetaItem and its props 2020-01-30 12:02:50 +00:00
NoDataSourceCallToAction.tsx Performance/Webpack: Introduces more aggressive code-splitting and other perf improvements (#18544) 2019-09-03 09:29:02 +01:00
QueryEditor.tsx Chore: Remove several instances of non-strict null usage (#20563) 2019-11-26 09:01:32 +00:00
QueryRow.tsx Explore: Adds Loki explore query editor (#21497) 2020-02-06 12:34:52 +00:00
QueryRowActions.test.tsx Explore: moves add query row button below query rows (#20522) 2019-12-23 12:29:00 +01:00
QueryRowActions.tsx Explore: moves add query row button below query rows (#20522) 2019-12-23 12:29:00 +01:00
QueryRows.tsx Replaced intialQueris with queryKeys 2019-02-04 13:41:29 +01:00
QueryStatus.test.tsx Chore: Reorg packages (#20111) 2019-10-31 10:48:05 +01:00
QueryStatus.tsx Chore: Reorg packages (#20111) 2019-10-31 10:48:05 +01:00
ResponsiveButton.tsx Explore: updates responsive button to pass all the div element props 2019-11-21 15:06:16 +01:00
RunButton.tsx Chore: Remove several instances of non-strict null usage (#20563) 2019-11-26 09:01:32 +00:00
TableContainer.test.tsx Explore: adds basic tests to TableContainer checking the render and output on 0 series returned 2020-01-30 12:02:50 +00:00
TableContainer.tsx Explore: updates TableContainer to use MetaInfoText component 2020-01-30 12:02:50 +00:00
TimeSyncButton.test.tsx Explore: Add unit test to TimeSyncButton (#19836) 2019-10-16 11:48:10 +02:00
TimeSyncButton.tsx grafana/ui: Add synced timepickers styling to TimePicker (#21598) 2020-01-20 09:59:35 +01:00
useLiveTailControls.ts Explore: Sync timepicker and logs after live-tailing stops (#20979) 2019-12-11 14:14:39 +01:00
Wrapper.tsx Chore: Bumps prettier version for new typescript syntax support (#20463) 2019-11-19 13:59:39 +00:00