You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Backport
This will backport the following commits from `main` to `8.19`:
- [[Console] Fix auto-indentation of requests with triple quotes
(elastic#218305)](elastic#218305)
<!--- Backport version: 9.6.6 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT [{"author":{"name":"Elena
Stoeva","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-05-09T15:11:25Z","message":"[Console]
Fix auto-indentation of requests with triple quotes (elastic#218305)\n\nFixes
https://github.com/elastic/kibana/issues/217966\n\n## Summary\n\nThis PR
fixes auto-indentation of requests that contain
triple-quote\nstrings.\n\nSample request to test with:\n\n```\nPOST
/_query\n{\n \"query\": \"\"\"\n FROM sample_data\n | WHERE message LIKE
\"Connected*\"\n | SORT @timestamp DESC\n
\"\"\"\n}\n```\n\n\n\nhttps://github.com/user-attachments/assets/e62caba9-4c9f-4120-b2b1-0faaa9bc9beb","sha":"094b5d59c4e1757c63c9fb4a429f26f264a00cc1","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Console","Team:Kibana
Management","release_note:skip","backport:prev-minor","v9.1.0","v8.19.0"],"title":"[Console]
Fix auto-indentation of requests with triple
quotes","number":218305,"url":"https://github.com/elastic/kibana/pull/218305","mergeCommit":{"message":"[Console]
Fix auto-indentation of requests with triple quotes (elastic#218305)\n\nFixes
https://github.com/elastic/kibana/issues/217966\n\n## Summary\n\nThis PR
fixes auto-indentation of requests that contain
triple-quote\nstrings.\n\nSample request to test with:\n\n```\nPOST
/_query\n{\n \"query\": \"\"\"\n FROM sample_data\n | WHERE message LIKE
\"Connected*\"\n | SORT @timestamp DESC\n
\"\"\"\n}\n```\n\n\n\nhttps://github.com/user-attachments/assets/e62caba9-4c9f-4120-b2b1-0faaa9bc9beb","sha":"094b5d59c4e1757c63c9fb4a429f26f264a00cc1"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/218305","number":218305,"mergeCommit":{"message":"[Console]
Fix auto-indentation of requests with triple quotes (elastic#218305)\n\nFixes
https://github.com/elastic/kibana/issues/217966\n\n## Summary\n\nThis PR
fixes auto-indentation of requests that contain
triple-quote\nstrings.\n\nSample request to test with:\n\n```\nPOST
/_query\n{\n \"query\": \"\"\"\n FROM sample_data\n | WHERE message LIKE
\"Connected*\"\n | SORT @timestamp DESC\n
\"\"\"\n}\n```\n\n\n\nhttps://github.com/user-attachments/assets/e62caba9-4c9f-4120-b2b1-0faaa9bc9beb","sha":"094b5d59c4e1757c63c9fb4a429f26f264a00cc1"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
Co-authored-by: Elena Stoeva <[email protected]>
0 commit comments