[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.

![image
(18)](53ceb80a-0c8b-4b64-888e-da2fc74f8385)
This commit is contained in:
Stratoula Kalafateli 2024-02-09 17:15:49 +02:00 committed by GitHub
parent 786d3167f9
commit 982a5bedb9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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({