|
|
@ -4,7 +4,6 @@ import { CoreApp, LoadingState, SelectableValue } from '@grafana/data'; |
|
|
|
import { selectors } from '@grafana/e2e-selectors'; |
|
|
|
import { selectors } from '@grafana/e2e-selectors'; |
|
|
|
import { reportInteraction } from '@grafana/runtime'; |
|
|
|
import { reportInteraction } from '@grafana/runtime'; |
|
|
|
import { Button, ConfirmModal, EditorHeader, EditorRows, FlexItem, InlineSelect, Space } from '@grafana/ui'; |
|
|
|
import { Button, ConfirmModal, EditorHeader, EditorRows, FlexItem, InlineSelect, Space } from '@grafana/ui'; |
|
|
|
import { FeedbackLink } from 'app/plugins/datasource/prometheus/querybuilder/shared/FeedbackLink'; |
|
|
|
|
|
|
|
import { QueryEditorModeToggle } from 'app/plugins/datasource/prometheus/querybuilder/shared/QueryEditorModeToggle'; |
|
|
|
import { QueryEditorModeToggle } from 'app/plugins/datasource/prometheus/querybuilder/shared/QueryEditorModeToggle'; |
|
|
|
import { QueryHeaderSwitch } from 'app/plugins/datasource/prometheus/querybuilder/shared/QueryHeaderSwitch'; |
|
|
|
import { QueryHeaderSwitch } from 'app/plugins/datasource/prometheus/querybuilder/shared/QueryHeaderSwitch'; |
|
|
|
import { QueryEditorMode } from 'app/plugins/datasource/prometheus/querybuilder/shared/types'; |
|
|
|
import { QueryEditorMode } from 'app/plugins/datasource/prometheus/querybuilder/shared/types'; |
|
|
@ -129,7 +128,6 @@ export const LokiQueryEditorSelector = React.memo<LokiQueryEditorProps>((props) |
|
|
|
{editorMode === QueryEditorMode.Builder && ( |
|
|
|
{editorMode === QueryEditorMode.Builder && ( |
|
|
|
<> |
|
|
|
<> |
|
|
|
<QueryHeaderSwitch label="Raw query" value={rawQuery} onChange={onQueryPreviewChange} /> |
|
|
|
<QueryHeaderSwitch label="Raw query" value={rawQuery} onChange={onQueryPreviewChange} /> |
|
|
|
<FeedbackLink feedbackUrl="https://github.com/grafana/grafana/discussions/50785" /> |
|
|
|
|
|
|
|
</> |
|
|
|
</> |
|
|
|
)} |
|
|
|
)} |
|
|
|
<FlexItem grow={1} /> |
|
|
|
<FlexItem grow={1} /> |
|
|
|