-
Notifications
You must be signed in to change notification settings - Fork 3.2k
merge getReportIcons and getAvatarSources functions #8499
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
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
4dd6ae4
avoid storing report icons into Onyx
marcochavezf 383c9d1
get avatar source directly from report.icons
marcochavezf 29e1c2e
remove getReportIcons from PersonalDetails
marcochavezf e80e04a
use getReportIcons in getAvatarSources
marcochavezf 2ecf2e2
get personalDetails from Onyx to get avatar urls
marcochavezf afcbf42
merge getReportIcons and getAvatarSources into one function
marcochavezf c118096
fix single avatars by returning an array
marcochavezf 7ec2c8f
fix default icon component if avatar is an empty string
marcochavezf 08e93ef
add comment for group chats
marcochavezf 84858e7
return empty string for firstName in sortedParticipants
marcochavezf 6e3ef16
change fn name getAvatarSources to getReportIcons
marcochavezf 3aac326
add defaultIcon param to getReportIcons
marcochavezf caf72a5
remove personalDetails subscription and add it as param in getReportI…
marcochavezf e7404de
pass personalDetails for getReportIcons for ReportActionItemCreated
marcochavezf cf6dfda
add personalDetails param to getReportIcons usages
marcochavezf 93ff338
move personalDetails to createOption to pass it to getReportIcons
marcochavezf 1981e43
move getReportIcons to reportUtils
marcochavezf 0212cc4
fix errors in getReportIcons
marcochavezf 773fe51
move getDefaultAvatar to reportUtils
marcochavezf 2a42503
fix usages of getDefaultAvatar
marcochavezf d044382
fix getDefaultAvatar in ProfilePage
marcochavezf 785675c
fix usages of getReportIcons
marcochavezf 68d07a4
remove unnecessary jsdoc params
marcochavezf 36555a2
add policies as param to getReportIcons
marcochavezf 0cea30b
include policies prop via withOnyx to ReportActionItemCreated
marcochavezf 8ba167f
pass policies in when getReportIcons is called
marcochavezf bba318f
change const name avatarIcons to reportIcons
marcochavezf 6c63d9b
fix issue when personalDetail is not defined
marcochavezf e16e0ef
Merge branch 'main' into marco-mergeAvatarIconFunctions
marcochavezf 0967f47
rename avatarIcons to icons in MultipleAvatars
marcochavezf 652c131
change avatarIcons to icons in RoomHeaderAvatars
marcochavezf e5b823d
update usages of RoomHeaderAvatars
marcochavezf 1d3f3b6
change getReportIcons to getIcons
marcochavezf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.