-
Notifications
You must be signed in to change notification settings - Fork 344
Add color coding for class types. #5030
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
Conversation
packages/devtools_app/lib/src/screens/memory/shared/heap/model.dart
Outdated
Show resolved
Hide resolved
packages/devtools_app/lib/src/screens/memory/panes/diff/controller/diff_pane_controller.dart
Outdated
Show resolved
Hide resolved
packages/devtools_app/lib/src/screens/memory/panes/diff/controller/diff_pane_controller.dart
Outdated
Show resolved
Hide resolved
packages/devtools_app/lib/src/screens/memory/panes/diff/controller/diff_pane_controller.dart
Outdated
Show resolved
Hide resolved
label: 'D', | ||
alias: '\$dependency', | ||
aliasDescription: 'dependencies', | ||
classTooltip: 'dependency', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: try to be consistent with capitalization
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only names (Dart, Flutter) and abbreviations (SDK) are capitalized
added comments
classTooltip: 'Dart runtime class', | ||
), | ||
sdk( | ||
color: Color.fromARGB(255, 122, 188, 124), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these standard colors? Can they be made into constants and placed with our other colors?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I plan to do it outside of this PR.
@malloc-error plans to work on color scheme for DevTools
There is issue to handle this: #5050
packages/devtools_app/lib/src/screens/memory/shared/primitives/class_name.dart
Show resolved
Hide resolved
return ClassType.dependency; | ||
} | ||
|
||
bool get isCreatedByGoolge => isPackageless || isDartOrFlutter; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto
Screen.Recording.2023-01-12.at.5.30.17.PM.mov