-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[No QA] Feat/47377 multiple card feeds #49148
[No QA] Feat/47377 multiple card feeds #49148
Conversation
…/47377-multiple-card-feeds
@allroundexperts 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] |
@allroundexperts ready for you! |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-09-18.at.1.21.55.PM.movAndroid: mWeb ChromeScreen.Recording.2024-09-18.at.1.19.53.PM.moviOS: NativeScreen.Recording.2024-09-18.at.1.03.16.PM.moviOS: mWeb SafariScreen.Recording.2024-09-18.at.1.02.19.PM.movMacOS: Chrome / SafariScreen.Recording.2024-09-18.at.12.53.58.PM.movMacOS: DesktopScreen.Recording.2024-09-18.at.12.59.32.PM.mov |
BUG The selected card option does not reset when assigning the card to a member again. Screen.Recording.2024-09-18.at.1.28.16.PM.mov |
BUG Animation is in a wrong direction when selecting the card, and the back button redirects to an incorrect place as well. Screen.Recording.2024-09-18.at.1.28.30.PM.mov |
@allroundexperts thanks for the review! I guess I need to create a page instead of a modal for the selector. I'll let you know when I fix this |
@allroundexperts ready for re-review Screen.Recording.2024-09-19.at.21.24.36.mp4 |
Looks good to me. The card images are wrong, but I think we're replacing those in a different PR |
@dubielzyk-expensify yes, probably we will replace them later - but could you please elaborate more on what's not ok with them? |
We're looking to use these icons instead #48489 (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.
Looks good!
We did not find an internal engineer to review this PR, trying to assign a random engineer to #47379 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
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.
Looks good to me, but will leave it to @robertjchen to approve/merge since he has more context about this feature
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.
Looks good to me as well, we'll make more updates as we complete out the flows 💯
✋ 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/robertjchen in version: 9.0.40-0 🚀
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.0.40-6 🚀
|
}, | ||
isEditing: false, | ||
}); | ||
Navigation.navigate(ROUTES.WORKSPACE_EXPENSIFY_CARD_ISSUE_NEW.getRoute(policyID, activeRoute)); |
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 #50243 – we've ended up navigating to WORKSPACE_MEMBER_DETAILS
instead of the activeRoute
.
Details
For now we're mocking the data - the user will have all the feeds in the feed selector displayed, Expensify Card will be shown when it's enabled for the workspace.
Fixed Issues
$ #47379
PROPOSAL:
Tests
PREREQUISITES: Company Cards enabled. You can have Expensify Card enabled too. For now showing multiple feeds, even if they are not enabled
Offline tests
QA Steps
n/a
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
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-09-16.at.16.46.40.mp4
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2024-09-13.at.15.44.01.mp4
MacOS: Desktop