Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filters dialog blocks the logs #8485

Open
klukshu opened this issue Oct 27, 2024 · 1 comment
Open

Filters dialog blocks the logs #8485

klukshu opened this issue Oct 27, 2024 · 1 comment
Labels
P2 important to work on, but not at the top of the work list. screen: logging Issues with the Logging screen

Comments

@klukshu
Copy link

klukshu commented Oct 27, 2024

I am not sure how much of this is under the purview of VScode vs the flutter DevTools specifically. I'm a software development beginner, but based on the fact that I can't find any information on a better way to do this stuff; at the very least my naivete can inform where documentation could be improved.

DevTools Settings

  • "Enable analytics" isn't descriptive enough, and I cannot find anything that describes what and how analysis is happening.
  • None of the settings menus in DevTools allow copy, this is an unnecessary barrier to googling. Not beginner friendly.

The log

Filtering the log and a bug

  • Transcribing the "Kind" to the filter is tedious
  • The bug -> copy paste of a "Kind" field does not work in VScode, but it does work when I open DevTools in the browser
    • i can highlight with a cursor in VS code but ^C does nothing
  • When the filters dialog is open it blocks the log, so you can't compare spelling to what you are trying to filter out.

A potential fix

  • If there was a right click menu to select whether you want to exclude, or show only that kind of log; it would make it far less tedious to filter out stuff. Ideally you would be able to specify either filter exact matches or logs from the same class.
  • an alternative could be auto fill in the filter menu, or a list of all of the kinds in the log
  • the logical extreme would be to take advantage of the fact that log entries are JSON, they naturally lend themselves to a document oriented database and being queried as such.
    • if this is already the case behind the scenes, the docs need to say what query language is in use.

DevTools version: 2.37.2
IDE: VSCode
Connected Device:
CPU / OS: x64 (64 bit) android
Connected app type: Flutter native (debug build)
Dart Version: 3.5.1
Flutter Version: 3.24.1 / stable
Framework / Engine: 5874a72aa4 / c9b9d5780d

@klukshu klukshu changed the title UI defficiencies and bug causing different behavior in VScode than the browser UI defficiencies and an inconsistant behavior in VScode vs the browser Oct 27, 2024
@elliette
Copy link
Member

elliette commented Oct 30, 2024

Linking to some duplicate issues for copy-paste here:

Copy-paste in DevTools: #6794
Copy-paste in DevTools in VS Code IFRAME: microsoft/vscode#129178

I filed #8496 for the "Enable analytics" concern.

I'll leave this issue open to track addressing the logging concerns:

When the filters dialog is open it blocks the log, so you can't compare spelling to what you are trying to filter out.
A potential fix

If there was a right click menu to select whether you want to exclude, or show only that kind of log; it would make it far less tedious to filter out stuff. Ideally you would be able to specify either filter exact matches or logs from the same class.
an alternative could be auto fill in the filter menu, or a list of all of the kinds in the log
the logical extreme would be to take advantage of the fact that log entries are JSON, they naturally lend themselves to a document oriented database and being queried as such.
if this is already the case behind the scenes, the docs need to say what query language is in use.

@elliette elliette changed the title UI defficiencies and an inconsistant behavior in VScode vs the browser Filters dialog blocks the logs Oct 30, 2024
@elliette elliette added screen: logging Issues with the Logging screen P2 important to work on, but not at the top of the work list. labels Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 important to work on, but not at the top of the work list. screen: logging Issues with the Logging screen
Projects
None yet
Development

No branches or pull requests

2 participants