Chore: Add some selector for version below 8.5 (#97210)

* works also before the min version

* adding datasource picker

* adding toggle viz picker and panel editor content

* Panel editor content

* small readme fix for docker compose

* removing constant
This commit is contained in:
Timur Olzhabayev 2024-12-02 17:15:11 +01:00 committed by GitHub
parent 1dffd3e554
commit 01a02d8f9e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 4 deletions

View File

@ -73,7 +73,7 @@ In this guide you will set up [Verdaccio](https://verdaccio.org/) registry local
From your terminal:
1. Navigate to `devenv/local-npm` directory.
2. Run `docker-compose up`. This will start your local npm registry, available at http://localhost:4873/.
2. Run `docker compose up`. This will start your local npm registry, available at http://localhost:4873/.
3. To test `@grafana` packages published to your local npm registry uncomment `npmScopes` and `unsafeHttpWhitelist` properties in the `.yarnrc` file.
#### Publishing packages to local npm registry

View File

@ -469,7 +469,7 @@ export const versionedComponents = {
General: {
content: {
'11.1.0': 'data-testid Panel editor content',
[MIN_GRAFANA_VERSION]: 'Panel editor content',
'8.0.0': 'Panel editor content',
},
},
OptionsPane: {
@ -498,7 +498,7 @@ export const versionedComponents = {
},
toggleVizPicker: {
'10.0.0': 'data-testid toggle-viz-picker',
[MIN_GRAFANA_VERSION]: 'toggle-viz-picker',
'8.0.0': 'toggle-viz-picker',
},
toggleVizOptions: {
'10.1.0': 'data-testid toggle-viz-options',
@ -920,7 +920,7 @@ export const versionedComponents = {
DataSourcePicker: {
container: {
'10.0.0': 'data-testid Data source picker select container',
[MIN_GRAFANA_VERSION]: 'Data source picker select container',
'8.0.0': 'Data source picker select container',
},
inputV2: {
'10.1.0': 'data-testid Select a data source',

View File

@ -118,6 +118,7 @@ export const versionedPages = {
},
addNewPanel: {
'11.1.0': 'data-testid Add new panel',
'8.0.0': 'Add new panel',
[MIN_GRAFANA_VERSION]: 'Add new panel',
},
itemButtonAddViz: {