Fix missing key console error when opening the copilot popover - #80578
Conversation
|
I can't see the logs on iOS Safari |
|
✅ Code Review Complete - No issues found. The change correctly adds a React key prop to fix the missing key console warning. The implementation follows React best practices for rendering elements in arrays. |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
trjExpensify
left a comment
There was a problem hiding this comment.
Fixing a console error 👍
Reviewer Checklist
Screenshots/VideosAndroid: HybridApp79772-android-hybrid-001.mp4Android: mWeb Chrome79772-mweb-chrome-001.mp4iOS: HybridApp79772-ios-hybrid-001.mp4iOS: mWeb Safari79772-mweb-safari-001.mp4MacOS: Chrome / Safari79772-web-chrome-001.mp4 |
rojiphil
left a comment
There was a problem hiding this comment.
@bernhardoj Prettier test is failing. Please resolve.
Otherwise, the changes test well. Thanks.
@NikkiWines Changes LGTM.
Over to you. Thanks.
NikkiWines
left a comment
There was a problem hiding this comment.
Style check is failing
|
@NikkiWines fixed |
|
@bernhardoj try merging main once more 🙏 |
|
@NikkiWines done |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/NikkiWines in version: 9.3.11-16 🚀
|
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.3.12-1 🚀
|
Explanation of Change
Fixed Issues
$ #79772
PROPOSAL: #79772 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
Prerequisite: have a copilot access to another account
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
android.mp4
Android: mWeb Chrome
android.mweb.mp4
iOS: Native
ios.mp4
iOS: mWeb Safari
MacOS: Chrome / Safari
web.mp4