flutter / devtools

Performance tools for Flutter
https://flutter.dev/docs/development/tools/devtools/
BSD 3-Clause "New" or "Revised" License
1.59k stars 326 forks source link

add the ability to filter and search in tables #785

Closed devoncarew closed 3 years ago

devoncarew commented 5 years ago

I’d like to be able to filter tables easily. For example, int the memory view, I’d like a quick way to look for instances if the class ’Title’.

Screen Shot 2019-07-10 at 8 39 26 AM
terrylucas commented 5 years ago

CTRL + f or clicking on the search icon (magnifying glass) will bring up the auto-complete list. Then typing Title displays classes that contain Title. Selecting the Title, in the drop-down, selects the class Title which also displays the list of Title instances.

I was hoping this was easier and more robust than having to filter. Filtering to me should be for selecting packages not classes. More of a setting instead of a button.

devoncarew commented 5 years ago

Ah, cool! We may want some affordance on the table to indicate that search (or filtering) is possible.

terrylucas commented 5 years ago

Good point the search button maybe too far away (next to snapshot button) - maybe it should be on the classes table. Tao will be reviewing the memory UI next week. I'll mention this as well.

kenzieschmoll commented 5 years ago

We should add this functionality to the Table class so that it will apply to all the tables in DevTools (memory page, timeline page, performance page, logging page).

maks commented 5 years ago

@terrylucas how does that work for the table used in the logging view? Being able to filter on the Kind column is a pretty important use case I think, eg. I want to filter out all the flutter.frame logs or I just want to see lines with my own specific tag.

oliverbytes commented 4 years ago

I wish the Dart Team will add a filter to the Logging soon. It would be really helpful.

OrenLeung commented 4 years ago

I will be a pretty useful feature to search my flame chart for a particular widget.

kenzieschmoll commented 3 years ago

this functionality has been added. See https://github.com/flutter/devtools/pull/2493 for how this was added to the logging view. Search and filter have also been added to the network profiler.