-
Notifications
You must be signed in to change notification settings - Fork 841
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
Improving a11y of BottomBar and ControlBar #2861
Conversation
jenkins test 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.
Thanks for tackling this one. I just did a quick code review first.
@thompsongl @chandlerprall Could y'all take a look at my tests and tell me what I'm doing wrong? For some reason the jest tests now return a bunch of loading states though I don't see what I may have done to cause that in the PR... |
Context menu tests with icons have been flaky for a bit: #2765 Were you consistently getting failures before updating the snapshot? |
jenkins retest this please |
I'm pretty consistently getting the same results locally:
That doesn't happen 100% of the time but pretty consistently now... |
@myasonik Go ahead and revert changes to any snapshots you deem unrelated to bottombar and controlbar. Use the I'm working on mocking EuiIcon to prevent this kind of thing in the future. |
@myasonik Rebase or merge master and any snapshot flakiness should be resolved |
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.
Thanks for the explanations!
Preview documentation changes for this PR: https://eui.elastic.co/pr_2861/ |
Summary
Closes #2855
Wasn't sure what the solution was going to look like so I played with it a bit and this is what I ended up with. Juggling a few things right now though so I'm hoping someone from the EUI team can help me push this PR over the finish line - all the jest tests seem to be broken for some reason?Help!Edit: something was wonked in my environment. Updating the snapshots now worked as expected.
Checklist
- [ ] Check against all themes for compatibility in both light and dark modes- [ ] Checked for breaking changes and labeled appropriately