Skip to content

Rename Inspector V2 --> Inspector#9796

Merged
elliette merged 13 commits intoflutter:masterfrom
elliette:legacy-inspector-removal-followup
Apr 22, 2026
Merged

Rename Inspector V2 --> Inspector#9796
elliette merged 13 commits intoflutter:masterfrom
elliette:legacy-inspector-removal-followup

Conversation

@elliette
Copy link
Copy Markdown
Member

@elliette elliette commented Apr 21, 2026

Closes #7860
Work towards #9563

Follow up to #9782

This PR:

  • Renames all files from inspector_v2 -> inspector
  • Updates any inspector V2 variable names to simply inspector

Note: The only exception is our analytics. I kept the inspector V2 analytics dimension, which is true for any inspector usage

@elliette elliette changed the title [Draft] Rename Inspector V2 --> Inspector Rename Inspector V2 --> Inspector Apr 22, 2026
@elliette elliette marked this pull request as ready for review April 22, 2026 20:22
@elliette elliette requested review from a team, kenzieschmoll and srawlins as code owners April 22, 2026 20:22
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request promotes the "Inspector V2" to the default inspector by renaming directories, updating imports, and removing the inspectorV2 feature flag across the codebase. It also cleans up related analytics metrics, documentation imports, and integration test goldens. Feedback focuses on the DiagnosticsNodeDescription widget, where the new logic for preserving font sizes during style merges is flagged as redundant and potentially incorrect. It is recommended to simplify these merges by using copyWith(fontSize: null) on the incoming styles to prevent them from overwriting the existing font size.

Comment thread packages/devtools_app/lib/src/shared/console/widgets/description.dart Outdated
Comment thread packages/devtools_app/lib/src/shared/console/widgets/description.dart Outdated
Copy link
Copy Markdown
Contributor

@srawlins srawlins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

Comment thread packages/devtools_app/lib/src/shared/analytics/_analytics_web.dart
Comment thread packages/devtools_app/lib/src/shared/preferences/preferences.dart
Copy link
Copy Markdown
Member

@kenzieschmoll kenzieschmoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one question but lgtm

@elliette elliette merged commit 6046c5b into flutter:master Apr 22, 2026
87 of 89 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inspector V2 feature flag cleanup

3 participants