flutter / flutter/devtools

Hard to find an "inspectable" widget when in widget selection mode

未关闭
#7,762 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
inspector-2.0-polish P2 screen: inspector usability
主要语言
Dart
星标
1.7k
派生
404
平均合并
6 天 17 小时
30 天内合并 PR
18

描述

When widget selection mode is on, it is hard to figure out where to click to actually "select" a widget.

![hard to find something to select](https://github.com/flutter/devtools/assets/21270878/0bf6785a-d7d9-4932-8925-fef9233c0ff8)

This could be made easier if bounding boxes were shown on hover, similarly to what Chrome Devtools does:

![chrome inspecting 2](https://github.com/flutter/devtools/assets/21270878/5295f3e8-6b0f-4e02-b82a-66b49cef1c7c)

贡献指南

打开贡献指南

调研方向

首先在 Flutter DevTools 中定位 widget 选择模式的入口点,并运行现有的 inspector 流程以重现该问题。将悬停行为与链接的 Chrome DevTools 示例进行比较。当选择模式处于活动状态时,可检查的 widget 在悬停时显示可见的边界框,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
dart, flutter
领域
devtools
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
42/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。