devtools icon indicating copy to clipboard operation
devtools copied to clipboard

`ErrorBadgeManager` rewrite to separate inspector specific logic

Open elliette opened this issue 9 months ago • 0 comments

ErrorBadgeManager has a lot of conditional logic for inspector errors (e.g., appendError only works for inspector errors because we are only saving inspector errors in the `activeErrors map: https://github.com/flutter/devtools/blob/36ac0a283cf1c1265f786f5fde513853126760ca/packages/devtools_app/lib/src/shared/managers/error_badge_manager.dart#L32-L37)

This file and logic could use an overhaul to move the Inspector specific logic to the Inspector controller.

elliette avatar Apr 04 '25 02:04 elliette