elastic/kibana

[Inspector] Use tabs for view selection

开放

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

 (9 条评论) (0 个反应) (0 位负责人)TypeScript (8,021 个派生)batch import
Feature:InspectorTeam:Presentationenhancementgood first issueimpact:lowloe:small

仓库指标

星标
 (19,065 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南