-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…200133) # Backport This will backport the following commits from `main` to `8.x`: - [[lens] Prevent identical include and exclude values (#197628)](#197628) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Oyelola Victoria","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-11T16:48:23Z","message":"[lens] Prevent identical include and exclude values (#197628)\n\n## Summary\r\n\r\nFixes #194639\r\n\r\n- This PR adds filtering logic to:\r\n - `onChangeIncludeExcludeOptions`\r\n - `onCreateOption`\r\n - `onIncludeRegexChangeToDebounce` \r\n - `onExcludeRegexChangeToDebounce`\r\n\r\nThese changes prevent the include and exclude fields from having the\r\nsame values simultaneously.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/8f848c2a-0bea-46c6-b335-b04d62c12aef\r\n\r\n---------\r\n\r\nCo-authored-by: Marta Bondyra <[email protected]>\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"750e578f2867d1ad6bf2f1f7506a1d75f2d77d05","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Visualizations","backport missing","💝community","v9.0.0","backport:current-major"],"title":"[Lens] Prevent identical include and exclude values","number":197628,"url":"https://github.com/elastic/kibana/pull/197628","mergeCommit":{"message":"[lens] Prevent identical include and exclude values (#197628)\n\n## Summary\r\n\r\nFixes #194639\r\n\r\n- This PR adds filtering logic to:\r\n - `onChangeIncludeExcludeOptions`\r\n - `onCreateOption`\r\n - `onIncludeRegexChangeToDebounce` \r\n - `onExcludeRegexChangeToDebounce`\r\n\r\nThese changes prevent the include and exclude fields from having the\r\nsame values simultaneously.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/8f848c2a-0bea-46c6-b335-b04d62c12aef\r\n\r\n---------\r\n\r\nCo-authored-by: Marta Bondyra <[email protected]>\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"750e578f2867d1ad6bf2f1f7506a1d75f2d77d05"}},"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/197628","number":197628,"mergeCommit":{"message":"[lens] Prevent identical include and exclude values (#197628)\n\n## Summary\r\n\r\nFixes #194639\r\n\r\n- This PR adds filtering logic to:\r\n - `onChangeIncludeExcludeOptions`\r\n - `onCreateOption`\r\n - `onIncludeRegexChangeToDebounce` \r\n - `onExcludeRegexChangeToDebounce`\r\n\r\nThese changes prevent the include and exclude fields from having the\r\nsame values simultaneously.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/8f848c2a-0bea-46c6-b335-b04d62c12aef\r\n\r\n---------\r\n\r\nCo-authored-by: Marta Bondyra <[email protected]>\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"750e578f2867d1ad6bf2f1f7506a1d75f2d77d05"}}]}] BACKPORT--> Co-authored-by: Oyelola Victoria <[email protected]>
- Loading branch information
1 parent
0c7424f
commit 36df94f
Showing
2 changed files
with
212 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters