feat(kibana-data-discovery): replace title props and wrap EuiButtonIcon with EuiToolTip#271481
Conversation
…on with EuiToolTip
|
buildkite test this |
|
buildkite test this |
|
buildkite test this |
|
Pinging @elastic/eui-team (EUI) |
markov00
left a comment
There was a problem hiding this comment.
Only a test change on our code owned related to the changes to the unifiedTabs.
There was a problem hiding this comment.
Code changes LGTM for this file, but a side question to @AlexGPlay - do we still need this file? It seems like we migrated fully to EUI split button and looks like a dead code.
It's only imported by the deprecated TopNavMenuItem, but no caller uses it, maybe worth adding some cleanup issue to the backlog
There was a problem hiding this comment.
I guess first the TopNavMenuItem needs to be cleaned up and after that we can remove the @kbn/split-button package 😄
There was a problem hiding this comment.
I agree it's dependent, but what I meant is to track it now (if it's good to go soon), otherwise we forget 😁
There was a problem hiding this comment.
ah, yes! that definitely sounds like a good idea 😁
| await retry.try(async () => { | ||
| // click on the tab navigation left button 10 times to make the first tab visible | ||
| for (let i = 0; i < 10; i++) { | ||
| await testSubjects.click('unifiedTabs_tabsBar_scrollLeftBtn'); |
There was a problem hiding this comment.
Is this deletion intentional?
There was a problem hiding this comment.
Apparently, this was causing the FTRs to fail.
…ts/doc_viewer_table/table_cell_value.tsx Co-authored-by: Ania Kowalska <63072419+akowalska622@users.noreply.github.com>
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Async chunks
Page load bundle
History
|
|
Starting backport for target branches: 9.4 |
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
|
Hi @weronikaolejniczak , I have seen that #270161 was closed but I tested main and I see the browser tooltips and not the new ones. Maybe we were doing something custom in our end and it wasn't covered. Do you suggest that you have another look or I can get someone from my team to have a look into it, it is fine either way. For reference, our experience is in Discover, when running
|
|
The icons from the screenshot are specific for the metrics profile, they weren't covered in this PR I believe |
|
@miguel-sanchez-elastic hey, Miguel 👋🏻 sorry, I think while breaking down the large PR I mistakenly added the "Closes" keyword to this one. The change needed lives in |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
|
No problem @weronikaolejniczak ! Also I noticed the following in Discover
|
…on with EuiToolTip (elastic#271481) Closes elastic#270161 Relates to elastic/eui#9566 > [!IMPORTANT] > These changes **should be carefully tested visually by each code owner.** Wrapping with `EuiToolTip` instead of passing `title` leads to another DOM node and can potentially break the layout. In such cases, I would appreciate committing appropriate fixes to this PR directly, I cannot possibly setup and run all Kibana functionalities to fix every regression. This PR: - wraps ALL `EuiButtonIcon` with `EuiToolTip`, the content is the same as `aria-label`, any `title` passed to `EuiButtonIcon` is removed, - changes several `title` cases (not truncation related) to use `EuiToolTip` instead (if applicable). --------- Co-authored-by: Alexey Antonov <alexwizp@gmail.com> Co-authored-by: Ania Kowalska <63072419+akowalska622@users.noreply.github.com>














Relates to elastic/eui#9566
Important
These changes should be carefully tested visually by each code owner. Wrapping with
EuiToolTipinstead of passingtitleleads to another DOM node and can potentially break the layout. In such cases, I would appreciate committing appropriate fixes to this PR directly, I cannot possibly setup and run all Kibana functionalities to fix every regression.This PR:
EuiButtonIconwithEuiToolTip, the content is the same asaria-label, anytitlepassed toEuiButtonIconis removed,titlecases (not truncation related) to useEuiToolTipinstead (if applicable).