-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Drilldowns] Fix drilldown add variable adding additional brackets #196539
[Drilldowns] Fix drilldown add variable adding additional brackets #196539
Conversation
Pinging @elastic/appex-sharedux (Team:SharedUX) |
💚 Build Succeeded
Metrics [docs]Async chunks
History
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally and works great! 🎉
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/11382492085 |
…lastic#196539) ## Summary This PR adds a check to create/edit drilldown template editor for whether the cursor (where variable would be inserted) is already between double brackets. Fixes: elastic#121421 (cherry picked from commit 3c3b7c8)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…ets (#196539) (#196655) # Backport This will backport the following commits from `main` to `8.x`: - [[Drilldowns] Fix drilldown add variable adding additional brackets (#196539)](#196539) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Krzysztof Kowalczyk","email":"krzysztof.kowalczyk@elastic.co"},"sourceCommit":{"committedDate":"2024-10-17T09:46:53Z","message":"[Drilldowns] Fix drilldown add variable adding additional brackets (#196539)\n\n## Summary\r\n\r\nThis PR adds a check to create/edit drilldown template editor for\r\nwhether the cursor (where variable would be inserted) is already between\r\ndouble brackets.\r\n\r\nFixes: #121421","sha":"3c3b7c8ecb97961d98f7760cb90f25e2937c623d","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Feature:Drilldowns","v9.0.0","Team:SharedUX","backport:prev-minor"],"title":"[Drilldowns] Fix drilldown add variable adding additional brackets","number":196539,"url":"https://github.com/elastic/kibana/pull/196539","mergeCommit":{"message":"[Drilldowns] Fix drilldown add variable adding additional brackets (#196539)\n\n## Summary\r\n\r\nThis PR adds a check to create/edit drilldown template editor for\r\nwhether the cursor (where variable would be inserted) is already between\r\ndouble brackets.\r\n\r\nFixes: #121421","sha":"3c3b7c8ecb97961d98f7760cb90f25e2937c623d"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196539","number":196539,"mergeCommit":{"message":"[Drilldowns] Fix drilldown add variable adding additional brackets (#196539)\n\n## Summary\r\n\r\nThis PR adds a check to create/edit drilldown template editor for\r\nwhether the cursor (where variable would be inserted) is already between\r\ndouble brackets.\r\n\r\nFixes: #121421","sha":"3c3b7c8ecb97961d98f7760cb90f25e2937c623d"}}]}] BACKPORT--> Co-authored-by: Krzysztof Kowalczyk <krzysztof.kowalczyk@elastic.co>
Summary
This PR adds a check to create/edit drilldown template editor for whether the cursor (where variable would be inserted) is already between double brackets.
Fixes: #121421