Skip to content

Proposal: Improve widget selection in the inspector #3489

@CodemateTechAgency

Description

@CodemateTechAgency

KR1

Background

“The inspector allows the user to search the summary tree and the details tree by keyword. The inspector searches the part of the details tree that has been loaded by default with an option to search the full details tree enabled by KR 2.”

Proposal

  • Add bordered headers for both widget tree and explorer/details areas to isolate browsing/filtering related actions and separate them from the action toolbar above. Tab bar look should reflect the rest of the DevTools (without the grey background).
  • Add search functionality to the Widget Tree header. Move the refresh widget tree to the header area.
    • Search can target different contexts based on the user input. (Widget/Details/All etc.)
  • Rename “Details tree” to “Widget Details Tree” to pair it better with the Widget Tree.

Question: Should we now move the select widget mode to the button group on the right?

Before

Screenshot 2021-11-05 at 10 11 30

After

Screenshot 2021-11-05 at 10 12 17

Screenshot 2021-11-05 at 10 12 09

Search field variations

Screenshot 2021-11-08 at 10 50 32

Normal state a), active search fields with b) and without c) search options (search from widget names, details, all, etc). Floating version d) for narrow spaces


KR2

Background

“The inspector provides a UI affordance to show the complete detail tree. This is essentially a shortcut for performing the following steps: 1) select the root widget in the summary tree and 2) click the details tree tab. Progressive loading might be needed for very large trees.“

Additional input and background information is welcome. Assumption here is that KR2 will support KR1 with more detailed search and navigation. As KR1 can also include “Widget Details Tree” as a search target, this proposal is to make the navigation tree more discoverable.

Proposal

  • Add breadcrumb navigation atop of the details tree for easier navigation and to make root level always accessible and easily discoverable.

Before

Screenshot 2021-11-08 at 14 00 24

After

Screenshot 2021-11-08 at 13 58 42


Any input is greatly appreciated!

cc @InMatrix @csells @jacob314 @kenzieschmoll

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions