[Lens] fix amsterdam theme issues#97237
Conversation
|
Pinging @elastic/kibana-app (Team:KibanaApp) |
flash1293
left a comment
There was a problem hiding this comment.
Add layer button should use color="text" in addition to fill, otherwise works great.
I don't think another review cycle is necessary, apporving
x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/config_panel.tsx
Show resolved
Hide resolved
009b156 to
cd01ece
Compare
wylieconlon
left a comment
There was a problem hiding this comment.
This is definitely an improvement, but I noticed a few inconsistencies that seem related to the new theme. Not sure if there's a simple fix:
- Some popovers get a focus outline that is above the arrow, some popovers get a focus outline that is below the arrow, and some get no focus outline at all:
a. Correct behavior (below the arrow) is shown only in the chart switcher
b. Outline is below the arrow on all the toolbar buttons:
- With two layers there is no padding underneath the Add Layer button:
|
Thanks for the feedback @wylieconlon! For now we won't address all the issues with outline and focus as we're waiting for the changes from eui. I've added your comments to the issue and fixed the missing pading for the add Layer button. |
|
@elasticmachine merge upstream |
|
Side note: the Presentation team is using the same toolbar button styles, so I've opened an EUI issue to discuss whether these should ultimately move to EUI, in the future: elastic/eui#4730 |
ryankeairns
left a comment
There was a problem hiding this comment.
SCSS changes look good. Thanks for cleaning up the streets of Amsterdam 🧹
| @@ -4,6 +4,10 @@ | |||
|
|
|||
| // Some toolbar buttons are just icons, but EuiButton comes with margin and min-width that need to be removed | |||
There was a problem hiding this comment.
Not critical, but a comment pointing to elastic/eui#4730 would help us remember to replace/remove this code later.
💚 Build SucceededMetrics [docs]Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
|
to be backported when 7.13 is detached |
@ryankeairns: Just FYI, assuming time permits, I may experiment with some additional toolbar treatments (background color, borders, shadows) to see if there is one clear direction that jives with Amsterdam best. Stay tuned. |
Great! If you arrive at something you're satisfied with, routing it through that EUI issue would be much appreciated. Thanks |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
* adding border to the toolbar buttons * Weird ranges/filters shadows/borders fixed * suggestion shadows fixed * adjusting border radius on workspace * add new layer button * adjust styles for filter by just like for filter agg * don't show outer style for selecting the field item * fix color button * add padding to the button * v8 conditional * fix v7 * Update toolbar_button.scss Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* adding border to the toolbar buttons * Weird ranges/filters shadows/borders fixed * suggestion shadows fixed * adjusting border radius on workspace * add new layer button * adjust styles for filter by just like for filter agg * don't show outer style for selecting the field item * fix color button * add padding to the button * v8 conditional * fix v7 * Update toolbar_button.scss Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>



Summary
Fixes #95054
filter byto look like ranges/filters aggregations filters