Skip to content

Commit

Permalink
[Rules migration] Inlined ES|QL editor (elastic#208497)
Browse files Browse the repository at this point in the history
## Summary

With these changes we make ES|QL editor inlined which increases the
default height of it.

This is possible after we allowed the ES|QL editor to hide "run query"
button when inlined prop is used
elastic#208446

<img width="1281" alt="Screenshot 2025-01-27 at 21 31 24"
src="https://github.com/user-attachments/assets/e44bbe18-538a-411a-bb84-59a080014c8f"
/>

> [!NOTE]  
> This feature needs `siemMigrationsEnabled` experimental flag enabled
to work.
  • Loading branch information
e40pud authored Jan 28, 2025
1 parent f10d8f7 commit 9a5df11
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ export const EsqlEditorField: React.FC<EsqlEditorFieldProps> = React.memo(
hideTimeFilterInfo={true}
hideQueryHistory={true}
hasOutline={true}
editorIsInline={true}
hideRunQueryButton={true}
/>
</EuiFormRow>
);
Expand Down

0 comments on commit 9a5df11

Please sign in to comment.