elastic/kibana

[Inspector] Use tabs for view selection

Open

#126,918 创建于 2022年3月4日

在 GitHub 查看
 (9 评论) (0 反应) (0 负责人)TypeScript (19,065 star) (8,021 fork)batch import
Feature:InspectorTeam:Presentationenhancementgood first issueimpact:lowloe:small

描述

The current view selection interface for Lens' inspect flyout is currently less-than-ideal. The view selection currently uses a combination of a button and subsequent popover. Interacting with this requires two clicks from a user in order to switch views, even though the popover only contains two options. Additionally, the placement of the button doesn’t look great, with the button being in such close proximity to the offset close flyout button.

I’d like to suggest that we change the button/popover to instead be a set of tabs that appear below the “Inspector” heading. This will better expose the view options to users, allow them to quickly change with a single click, and also likely look better.

image

CCing @andrewctate, as he was the one that kindly brought this to my attention.

贡献者指南