-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Introduced Specific Icons image identifier for Notes and Tasks #6997
base: main
Are you sure you want to change the base?
Conversation
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.
PR Summary
This PR introduces specific icons for Notes and Tasks, improving visual differentiation in the UI. Key changes include:
- Added
getAvatarIcon.ts
utility to determine appropriate icons and colors for different object types - Updated
RecordIndexRecordChip
andRecordShowContainer
to use new icons for Notes and Tasks - Modified
ShowPageSummaryCard
andAvatar
components to support custom icons and colors - Added 'icon' option to
AvatarType
and introducedLeftIconColor
prop inAvatarChip
- Introduced new color constants 'yellowIcon' and 'blueIcon' in
SecondaryColors.ts
These changes align with the desired behavior described in issue #6486, enhancing the visual distinction between Notes, Tasks, and other object types.
8 file(s) reviewed, 9 comment(s)
Edit PR Review Bot Settings
Fixes #6486