mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Dashboard] Make the ES|QL panel more prominent (#176576)
## Summary
ES|QL panel was not so prominent so I was asked to move it higher in the
hierarchy.

This commit is contained in:
parent
786d3167f9
commit
982a5bedb9
1 changed files with 1 additions and 2 deletions
|
@ -255,6 +255,7 @@ export const EditorMenu = ({
|
|||
const getEditorMenuPanels = (closePopover: () => void) => {
|
||||
const initialPanelItems = [
|
||||
...visTypeAliases.map(getVisTypeAliasMenuItem),
|
||||
...getAddPanelActionMenuItems(api, addPanelActions, closePopover),
|
||||
...toolVisTypes.map(getVisTypeMenuItem),
|
||||
...ungroupedFactories.map((factory) => {
|
||||
return getEmbeddableFactoryMenuItem(factory, closePopover);
|
||||
|
@ -265,9 +266,7 @@ export const EditorMenu = ({
|
|||
panel: panelId,
|
||||
'data-test-subj': `dashboardEditorMenu-${id}Group`,
|
||||
})),
|
||||
|
||||
...promotedVisTypes.map(getVisTypeMenuItem),
|
||||
...getAddPanelActionMenuItems(api, addPanelActions, closePopover),
|
||||
];
|
||||
if (aggsBasedVisTypes.length > 0) {
|
||||
initialPanelItems.push({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue