mirror of
https://github.com/grafana/grafana.git
synced 2024-12-28 18:01:40 -06:00
Chore: Remove explore content outline feature toggle (#89277)
Remove explore content outline feature toggle
This commit is contained in:
parent
164bd86982
commit
e9ee65924b
@ -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 |
|
||||
| `featureHighlights` | Highlight Grafana Enterprise features | |
|
||||
| `correlations` | Correlations page | Yes |
|
||||
| `exploreContentOutline` | Content outline sidebar | Yes |
|
||||
| `cloudWatchCrossAccountQuerying` | Enables cross-account querying in CloudWatch datasources | Yes |
|
||||
| `nestedFolders` | Enable folder nesting | Yes |
|
||||
| `logsContextDatasourceUi` | Allow datasource to provide custom UI for context view | Yes |
|
||||
|
@ -29,7 +29,6 @@ export interface FeatureToggles {
|
||||
featureHighlights?: boolean;
|
||||
storage?: boolean;
|
||||
correlations?: boolean;
|
||||
exploreContentOutline?: boolean;
|
||||
datasourceQueryMultiStatus?: boolean;
|
||||
autoMigrateOldPanels?: boolean;
|
||||
autoMigrateGraphPanel?: boolean;
|
||||
|
@ -99,15 +99,6 @@ var (
|
||||
Expression: "true", // enabled by default
|
||||
AllowSelfServe: true,
|
||||
},
|
||||
{
|
||||
Name: "exploreContentOutline",
|
||||
Description: "Content outline sidebar",
|
||||
Stage: FeatureStageGeneralAvailability,
|
||||
Owner: grafanaExploreSquad,
|
||||
Expression: "true", // enabled by default
|
||||
FrontendOnly: true,
|
||||
AllowSelfServe: true,
|
||||
},
|
||||
{
|
||||
Name: "datasourceQueryMultiStatus",
|
||||
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
|
||||
storage,experimental,@grafana/grafana-app-platform-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
|
||||
autoMigrateOldPanels,preview,@grafana/dataviz-squad,false,false,true
|
||||
autoMigrateGraphPanel,preview,@grafana/dataviz-squad,false,false,true
|
||||
|
|
@ -51,10 +51,6 @@ const (
|
||||
// Correlations page
|
||||
FlagCorrelations = "correlations"
|
||||
|
||||
// FlagExploreContentOutline
|
||||
// Content outline sidebar
|
||||
FlagExploreContentOutline = "exploreContentOutline"
|
||||
|
||||
// FlagDatasourceQueryMultiStatus
|
||||
// Introduce HTTP 207 Multi Status for api/ds/query
|
||||
FlagDatasourceQueryMultiStatus = "datasourceQueryMultiStatus"
|
||||
|
@ -841,8 +841,9 @@
|
||||
{
|
||||
"metadata": {
|
||||
"name": "exploreContentOutline",
|
||||
"resourceVersion": "1718727528075",
|
||||
"creationTimestamp": "2023-10-13T16:57:13Z"
|
||||
"resourceVersion": "1717578796182",
|
||||
"creationTimestamp": "2023-10-13T16:57:13Z",
|
||||
"deletionTimestamp": "2024-06-17T09:45:00Z"
|
||||
},
|
||||
"spec": {
|
||||
"description": "Content outline sidebar",
|
||||
|
@ -4,7 +4,7 @@ import React, { useMemo } from 'react';
|
||||
import { shallowEqual } from 'react-redux';
|
||||
|
||||
import { DataSourceInstanceSettings, RawTimeRange, GrafanaTheme2 } from '@grafana/data';
|
||||
import { reportInteraction, config } from '@grafana/runtime';
|
||||
import { reportInteraction } from '@grafana/runtime';
|
||||
import {
|
||||
defaultIntervals,
|
||||
PageToolbar,
|
||||
@ -212,21 +212,19 @@ export function ExploreToolbar({ exploreId, onChangeTime, onContentOutlineToogle
|
||||
<PageToolbar
|
||||
aria-label={t('explore.toolbar.aria-label', 'Explore toolbar')}
|
||||
leftItems={[
|
||||
config.featureToggles.exploreContentOutline && (
|
||||
<ToolbarButton
|
||||
key="content-outline"
|
||||
variant="canvas"
|
||||
tooltip="Content outline"
|
||||
icon="list-ui-alt"
|
||||
iconOnly={splitted}
|
||||
onClick={onContentOutlineToogle}
|
||||
aria-expanded={isContentOutlineOpen}
|
||||
aria-controls={isContentOutlineOpen ? 'content-outline-container' : undefined}
|
||||
className={styles.toolbarButton}
|
||||
>
|
||||
Outline
|
||||
</ToolbarButton>
|
||||
),
|
||||
<ToolbarButton
|
||||
key="content-outline"
|
||||
variant="canvas"
|
||||
tooltip="Content outline"
|
||||
icon="list-ui-alt"
|
||||
iconOnly={splitted}
|
||||
onClick={onContentOutlineToogle}
|
||||
aria-expanded={isContentOutlineOpen}
|
||||
aria-controls={isContentOutlineOpen ? 'content-outline-container' : undefined}
|
||||
className={styles.toolbarButton}
|
||||
>
|
||||
Outline
|
||||
</ToolbarButton>,
|
||||
<DataSourcePicker
|
||||
key={`${exploreId}-ds-picker`}
|
||||
mixed={!isCorrelationsEditorMode}
|
||||
|
Loading…
Reference in New Issue
Block a user