Conversation
5c418a1 to
1ea7ff6
Compare
|
Hey, @mbondyra! Nice work on this a11y fix. Here's some of my initial thoughts based on your "doubts" list.
Regarding the index pattern and subsequent field list content, I believe we can potentially address the height concerns here by collapsing the section down (possibly like an accordion) at the breakpoint threshold where the Lens interface is laid out in a single column. By default, it could be collapsed (in high zoom or small viewport size situations) to avoid taking up an enormous amount of space, but still accessible when the user needs it. This also helps bring the visualization higher on the page. Regarding the chart layers content, some side conversations have been happening elsewhere, but I think a few folks feel that it would be nice in general in general for chart layers to be able to collapse in some way as well. Doing so would potentially help with the height concerns you raise here (though I would think this to be secondary to the collapsing of the index pattern and field list content, described above).
Assuming the above suggestion of collapsing the index pattern and field list content is one that resonates with you as well, my initial instinct would be to keep the order of sections as we currently have them: 1) index pattern and fields list, 2) workspace, 3) layers. I think this order continues to make sense at high zoom or small viewport size situations, as interaction with the fields list still remains the fastest way for a user to craft a visualization (i.e. adding to a workspace). Also, the workspace and layers are somewhat beholden to the fields list, as they both accept the dragging of fields to them, making this order of elements make all the more sense.
If possible, I think it would be nice to treat the configuration flyout as a fully overlaid modal experience for, just as the default EUI flyouts currently do (see GIF below). When opened, the configuration flyout overlays the entire experience and focuses the user's attention only on the contents of the flyout. After the user makes their changes, they may close the flyout in order to once again see the content it was covering. Would that be possible? That said, let me know if we want to begin a formal design effort for a fully responsive version of the Lens UI and I can work with the team on how to prioritize. |
1ea7ff6 to
7511a51
Compare
|
Hi @MichaelMarcialis I've addressed your comments, please see the updated description of this PR.
Yeah, accordions you mention seem like bigger effort also from developer's side – let's talk about this during weekly. That being said, I still consider this PR an improvement and fixing the accessibility issue that I linked. Could we still merge it in this form and then improve on top, when we start working on the fully responsive version of Lens? (if we decide to do so) |
|
Pinging @elastic/kibana-app (Team:KibanaApp) |
a2f5f52 to
1b47c01
Compare
I think that's a good approach. What you have here still provides a lot of great fixes. Will review shortly! |
|
This PR will bring Lens back to 0 open a11y issues and I'm so excited 🎉 |
MichaelMarcialis
left a comment
There was a problem hiding this comment.
Thanks for putting this together, Marta. Works as advertised and serves as a great first step in making Lens more responsive.
wylieconlon
left a comment
There was a problem hiding this comment.
Overall LGTM, tested in Firefox. Found one issue with scrollbars.
| } | ||
| @include euiBreakpoint('xs', 's', 'm') { | ||
| @include euiFlyout; | ||
| } |
|
@wylieconlon so the problem is that we don't use the eui There's no util that would make a body non-scrollable coming from eui so I just decided to do simple |


Summary
Fixes #89077
Open dimension panel:

Discussion points (updated after @MichaelMarcialis comment)
What this PR addresses:
Issues I left untouched
I also spot some issues that I didn't address in this PR, as they feel more complicated or they require design input. Still, I think it is worth to merge this PR in this form after review and then iterate on better responsive design.