-
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
fix: show the cards assigned to members #51467
fix: show the cards assigned to members #51467
Conversation
@DylanDylann Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
@koko57 Failed test |
@DylanDylann perf test for ReportScreen 🤔 I will look into this, but my changes shouldn't cause this problem |
Please merge the latest main |
@DylanDylann done |
@DylanDylann friendly bump 🙏🏻 |
I will try to complete my reviewing for these issues on Wed |
return true; | ||
}); | ||
|
||
return Object.values(uniqueObjects ?? {}).filter((card) => card.accountID === accountID && workspaceAccountID.toString() === card.fundID); |
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.
Card doesn't display on the member detail page, because fundID
isn't exist on expensifyCards
Screen.Recording.2024-10-30.at.21.26.42.mov
@koko57 Do you know why we add workspaceAccountID.toString() === card.fundID
condition before?
cc
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.
not sure, I just left this condition as it was
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.
ECards should have fundID
too 🤔
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.
ref: #49928 (comment)
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-10-31.at.12.25.53.movAndroid: mWeb ChromeScreen.Recording.2024-10-31.at.12.19.44.moviOS: NativeScreen.Recording.2024-10-31.at.12.25.09.moviOS: mWeb SafariScreen.Recording.2024-10-31.at.12.19.16.movMacOS: Chrome / SafariScreen.Recording.2024-10-31.at.12.09.30.movMacOS: DesktopScreen.Recording.2024-10-31.at.12.21.02.mov |
Just a noteIf you log out and log in again, we can't see cards on the member detail page immediately. We need to go to Expensify Card and click on detail card first, then we can see cards on the member detail page Because Screen.Recording.2024-10-31.at.12.21.02.mov |
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.
Thanks
✋ 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/mountiny in version: 9.0.57-0 🚀
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.0.57-10 🚀
|
Details
Fixed Issues
$ #50441
PROPOSAL: -
Tests
PREREQUISITES: a workspace with Expensify Card enabled
Offline tests
QA Steps
PREREQUISITES: a workspace with Expensify Card enabled
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
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)Design
label so the design team can review the changes.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
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop