-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Main personalDetailsList
& policyMembers
Onyx key migrations
#20473
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 |
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 🚀
|
@@ -64,10 +64,10 @@ function getReportID(route) { | |||
|
|||
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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android