-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Fix various EuiFormControlLayout usages #192779
Merged
Merged
Changes from 13 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
a7e19bf
[EuiFormControlLayout/Delimited] Fix nested inputs missing `controlOn…
cee-chen bfbe13c
[examples] remove incorrect usage of `EuiFormControlLayout`
cee-chen 7a3e9a0
[EuiDatePicker] Remove unnecessary `EuiFormControlLayout` wrappers
cee-chen 839f756
[EuiFieldText] Remove unnecessary usages of `EuiFormControlLayout`
cee-chen 417782f
[EuiFieldNumber] Remove unnecessary usages of `EuiFormControlLayout`
cee-chen ae960fd
[Triggers Actions UI] Remove unnecessary EuiFormControlLayout wrapper…
cee-chen 98def99
[EuiFieldSearch] Remove unnecessary `EuiFormControlLayout.onClear` wr…
cee-chen 50ef939
Update snapshots
cee-chen 0bd64d7
Fix API token field missing append/prepend
cee-chen 399ac09
Merge branch 'main' into eui-form-layout-fixes
cee-chen c46ddf2
Merge branch 'main' into eui-form-layout-fixes
cee-chen def4600
[PR feeedback] Fix defend workflows UX regression
cee-chen b0418cd
[PR feedback] Fix security rule schedule append+select styling
cee-chen 661273c
[bonus] Fix incorrect selection state on API key format dropdown
cee-chen a9bc7a3
Merge branch 'main' into eui-form-layout-fixes
cee-chen 4217d01
Merge branch 'main' into eui-form-layout-fixes
cee-chen c420e0d
Merge branch 'main' into eui-form-layout-fixes
cee-chen 0b85603
Clean up Lens annotation datepicker UI further
cee-chen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
60 changes: 23 additions & 37 deletions
60
...aps/public/classes/styles/vector/components/symbol/__snapshots__/icon_select.test.js.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This does not look like it is working as expected. The copy icon button is no longer rendering and it's missing the drop-down.
This PR:
Main:
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.
Let me know if this is working now with the latest commit! Thank you so much for catching this! 🙇
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.
The format drop-down and copy button now appear. The copy button is working, but the format selector is a bit strange. When "Encoded" is selected, it is highlighted in the list, but when "Beats" is selected, "Logstash" is highlighted in the list. When "Logstash" is selected, nothing is highlighted in the list. The format of the key for Beats and Logstash are identical, not sure if that is correct.
I have confirmed the exact same behavior in Main, so I will approve. Not sure if this is an issue with our code or the EUI components. I'll open an issue to look more closely.
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.
Issue: #193127
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.
I poked into this a bit locally and was able to fix the issue! Thankfully just a small oneliner. 661273c