Repository navigation
Swap out trivial usages of sequenceNumber in UI keys - #12606
Conversation
techievivek
left a comment
There was a problem hiding this comment.
Looks good and tests well. 🎉
|
I am just in process of testing this. Just saw the commit, let me take the latest pull. |
|
Change is fine and tests well. @roryabraham For mWeb Chrome, the screenshot is not inline, with the other platforms. 🎀 👀 🎀
ScreenshotsWebMobile Web - ChromeMobile Web - SafariDesktopiOSAndroid |
|
✋ 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 @roryabraham in version: 1.2.27-0 🚀
|
| */ | ||
| keyExtractor(item) { | ||
| return `${item.action.clientID}${item.action.reportActionID}${item.action.sequenceNumber}`; | ||
| return `${item.action.clientID}${item.action.reportActionID}`; |
There was a problem hiding this comment.
Do we still need the clientID if we are switching to reportActionID and there will only ever be one?
There was a problem hiding this comment.
Good call, we don't need clientID because we're assuming that reportActionID is random enough to be universally unique
|
🚀 Deployed to production by @roryabraham in version: 1.2.27-4 🚀
|
|
🚀 Deployed to production by @roryabraham in version: 1.2.27-4 🚀
|
|
@roryabraham This is ready for C+ review payout. Can you please help with this? |
|
@mananjadhav @JmillsExpensify created an upwork job linked to the internal issue for this C+ review payout: https://www.upwork.com/jobs/~019b3e8a37dbfe9d94 |
|
Thanks @roryabraham. @JmillsExpensify I've applied on Upwork |
|
Thanks, sent an offer on Upwork. I'll close out the linked issue when @mananjadhav accepts and payment is issued. |
|
Payment issued! |






Details
Part of deprecating sequence numbers
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/240875
Tests / QA Steps
Web/Desktop
iOS/Android/mWeb
None
PR Author Checklist
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*filesWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)PR Reviewer Checklist
The reviewer will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick).src/languages/*filesWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarhave been tested & I retested again)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)Screenshots
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android