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.

貢獻者指南