mirror of
https://github.com/grafana/grafana.git
synced 2025-09-18 20:02:58 +08:00
Chore: Remove explore content outline feature toggle (#89277)
Remove explore content outline feature toggle
This commit is contained in:
@ -27,7 +27,6 @@ Most [generally available](https://grafana.com/docs/release-life-cycle/#general-
|
|||||||
| `publicDashboards` | [Deprecated] Public dashboards are now enabled by default; to disable them, use the configuration setting. This feature toggle will be removed in the next major version. | Yes |
|
| `publicDashboards` | [Deprecated] Public dashboards are now enabled by default; to disable them, use the configuration setting. This feature toggle will be removed in the next major version. | Yes |
|
||||||
| `featureHighlights` | Highlight Grafana Enterprise features | |
|
| `featureHighlights` | Highlight Grafana Enterprise features | |
|
||||||
| `correlations` | Correlations page | Yes |
|
| `correlations` | Correlations page | Yes |
|
||||||
| `exploreContentOutline` | Content outline sidebar | Yes |
|
|
||||||
| `cloudWatchCrossAccountQuerying` | Enables cross-account querying in CloudWatch datasources | Yes |
|
| `cloudWatchCrossAccountQuerying` | Enables cross-account querying in CloudWatch datasources | Yes |
|
||||||
| `nestedFolders` | Enable folder nesting | Yes |
|
| `nestedFolders` | Enable folder nesting | Yes |
|
||||||
| `logsContextDatasourceUi` | Allow datasource to provide custom UI for context view | Yes |
|
| `logsContextDatasourceUi` | Allow datasource to provide custom UI for context view | Yes |
|
||||||
|
@ -29,7 +29,6 @@ export interface FeatureToggles {
|
|||||||
featureHighlights?: boolean;
|
featureHighlights?: boolean;
|
||||||
storage?: boolean;
|
storage?: boolean;
|
||||||
correlations?: boolean;
|
correlations?: boolean;
|
||||||
exploreContentOutline?: boolean;
|
|
||||||
datasourceQueryMultiStatus?: boolean;
|
datasourceQueryMultiStatus?: boolean;
|
||||||
autoMigrateOldPanels?: boolean;
|
autoMigrateOldPanels?: boolean;
|
||||||
autoMigrateGraphPanel?: boolean;
|
autoMigrateGraphPanel?: boolean;
|
||||||
|
@ -99,15 +99,6 @@ var (
|
|||||||
Expression: "true", // enabled by default
|
Expression: "true", // enabled by default
|
||||||
AllowSelfServe: true,
|
AllowSelfServe: true,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
Name: "exploreContentOutline",
|
|
||||||
Description: "Content outline sidebar",
|
|
||||||
Stage: FeatureStageGeneralAvailability,
|
|
||||||
Owner: grafanaExploreSquad,
|
|
||||||
Expression: "true", // enabled by default
|
|
||||||
FrontendOnly: true,
|
|
||||||
AllowSelfServe: true,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
Name: "datasourceQueryMultiStatus",
|
Name: "datasourceQueryMultiStatus",
|
||||||
Description: "Introduce HTTP 207 Multi Status for api/ds/query",
|
Description: "Introduce HTTP 207 Multi Status for api/ds/query",
|
||||||
|
@ -10,7 +10,6 @@ lokiExperimentalStreaming,experimental,@grafana/observability-logs,false,false,f
|
|||||||
featureHighlights,GA,@grafana/grafana-as-code,false,false,false
|
featureHighlights,GA,@grafana/grafana-as-code,false,false,false
|
||||||
storage,experimental,@grafana/grafana-app-platform-squad,false,false,false
|
storage,experimental,@grafana/grafana-app-platform-squad,false,false,false
|
||||||
correlations,GA,@grafana/explore-squad,false,false,false
|
correlations,GA,@grafana/explore-squad,false,false,false
|
||||||
exploreContentOutline,GA,@grafana/explore-squad,false,false,true
|
|
||||||
datasourceQueryMultiStatus,experimental,@grafana/plugins-platform-backend,false,false,false
|
datasourceQueryMultiStatus,experimental,@grafana/plugins-platform-backend,false,false,false
|
||||||
autoMigrateOldPanels,preview,@grafana/dataviz-squad,false,false,true
|
autoMigrateOldPanels,preview,@grafana/dataviz-squad,false,false,true
|
||||||
autoMigrateGraphPanel,preview,@grafana/dataviz-squad,false,false,true
|
autoMigrateGraphPanel,preview,@grafana/dataviz-squad,false,false,true
|
||||||
|
|
@ -51,10 +51,6 @@ const (
|
|||||||
// Correlations page
|
// Correlations page
|
||||||
FlagCorrelations = "correlations"
|
FlagCorrelations = "correlations"
|
||||||
|
|
||||||
// FlagExploreContentOutline
|
|
||||||
// Content outline sidebar
|
|
||||||
FlagExploreContentOutline = "exploreContentOutline"
|
|
||||||
|
|
||||||
// FlagDatasourceQueryMultiStatus
|
// FlagDatasourceQueryMultiStatus
|
||||||
// Introduce HTTP 207 Multi Status for api/ds/query
|
// Introduce HTTP 207 Multi Status for api/ds/query
|
||||||
FlagDatasourceQueryMultiStatus = "datasourceQueryMultiStatus"
|
FlagDatasourceQueryMultiStatus = "datasourceQueryMultiStatus"
|
||||||
|
@ -841,8 +841,9 @@
|
|||||||
{
|
{
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"name": "exploreContentOutline",
|
"name": "exploreContentOutline",
|
||||||
"resourceVersion": "1718727528075",
|
"resourceVersion": "1717578796182",
|
||||||
"creationTimestamp": "2023-10-13T16:57:13Z"
|
"creationTimestamp": "2023-10-13T16:57:13Z",
|
||||||
|
"deletionTimestamp": "2024-06-17T09:45:00Z"
|
||||||
},
|
},
|
||||||
"spec": {
|
"spec": {
|
||||||
"description": "Content outline sidebar",
|
"description": "Content outline sidebar",
|
||||||
|
@ -4,7 +4,7 @@ import React, { useMemo } from 'react';
|
|||||||
import { shallowEqual } from 'react-redux';
|
import { shallowEqual } from 'react-redux';
|
||||||
|
|
||||||
import { DataSourceInstanceSettings, RawTimeRange, GrafanaTheme2 } from '@grafana/data';
|
import { DataSourceInstanceSettings, RawTimeRange, GrafanaTheme2 } from '@grafana/data';
|
||||||
import { reportInteraction, config } from '@grafana/runtime';
|
import { reportInteraction } from '@grafana/runtime';
|
||||||
import {
|
import {
|
||||||
defaultIntervals,
|
defaultIntervals,
|
||||||
PageToolbar,
|
PageToolbar,
|
||||||
@ -212,7 +212,6 @@ export function ExploreToolbar({ exploreId, onChangeTime, onContentOutlineToogle
|
|||||||
<PageToolbar
|
<PageToolbar
|
||||||
aria-label={t('explore.toolbar.aria-label', 'Explore toolbar')}
|
aria-label={t('explore.toolbar.aria-label', 'Explore toolbar')}
|
||||||
leftItems={[
|
leftItems={[
|
||||||
config.featureToggles.exploreContentOutline && (
|
|
||||||
<ToolbarButton
|
<ToolbarButton
|
||||||
key="content-outline"
|
key="content-outline"
|
||||||
variant="canvas"
|
variant="canvas"
|
||||||
@ -225,8 +224,7 @@ export function ExploreToolbar({ exploreId, onChangeTime, onContentOutlineToogle
|
|||||||
className={styles.toolbarButton}
|
className={styles.toolbarButton}
|
||||||
>
|
>
|
||||||
Outline
|
Outline
|
||||||
</ToolbarButton>
|
</ToolbarButton>,
|
||||||
),
|
|
||||||
<DataSourcePicker
|
<DataSourcePicker
|
||||||
key={`${exploreId}-ds-picker`}
|
key={`${exploreId}-ds-picker`}
|
||||||
mixed={!isCorrelationsEditorMode}
|
mixed={!isCorrelationsEditorMode}
|
||||||
|
Reference in New Issue
Block a user