-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Main personalDetailsList & policyMembers Onyx key migrations
#20473
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
…igration Start personalDetails migration to *List
Tests fixed for "beaman-continueMigration" branch
fix: fixing failing tests for `OptionsListUtils` and `ReportUtils` suites
…nto beaman-continueMigration
src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsSelector.js
Outdated
Show resolved
Hide resolved
src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsSplitSelector.js
Outdated
Show resolved
Hide resolved
Reviewer ChecklistThis PR is a collection of many smaller PRs which have been reviewed individually. As there is a potential of many merge conflicts, we are going ahead and merge this now expecting tehre might be some new bugs discovered while in main. Since this was also already extensively tested I am not including specific screenshots for all platforms
Screenshots/VideosMobile Web - ChromeMobile Web - SafariDesktopiOS |
mountiny
left a comment
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.
Going ahead and merging this to main. We are going to extensively test more now once this is merged and fix anything contributors find in main.
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
@Beamanator We can check it off, right? No need to QA for now |
|
@mvtglobally correct! |
|
🚀 Deployed to staging by https://github.com/mountiny in version: 1.3.29-0 🚀
|
| function SplitBillDetailsPage(props) { | ||
| const reportAction = props.reportActions[`${props.route.params.reportActionID.toString()}`]; | ||
| const personalDetails = OptionsListUtils.getPersonalDetailsForLogins(reportAction.originalMessage.participants, props.personalDetails); | ||
| const personalDetails = OptionsListUtils.getPersonalDetailsForAccountIDs(reportAction.originalMessage.participantAccountIDs, props.personalDetails); |
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.
This caused a regression, because we changed the shape of Onyx data without creating a migration to go along with it.
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.29-11 🚀
|
| _.chain(logins) | ||
|
|
||
| // Somehow it's possible for the logins coming from report.participants to contain undefined values so we use compact to remove them. | ||
| .compact() |
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.
it looks like this applies to accountID's too - there was regression fixed by this PR: #29930


Details
Fixed Issues
$ #19007
$ #20683
Tests
Not going to write a full list of tests for this one... We've been testing a TON here:
There's a few JS console errors here 'n there, but most were fixed
Most flows work very well now (last to get fixed were IOUs)
The plan for merging is here: https://expensify.slack.com/archives/C03SC9DVD/p1686754493699539?thread_ts=1686684520.706509&cid=C03SC9DVD
Offline tests
We should test most everything offline as well
QA Steps
Again, we'll test pretty much everything after merge
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting 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)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
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android