Closed parasharrajat closed 3 days ago
@allgandalf 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]
Also please fix failing tests
Seems like there is still some feedback to address here
I think the design feedback has been taken care of, so we're good there. We can also run a test build when we are close to merge to make sure it's looking good.
I have made all requested changes and retested.
π§ @mountiny has triggered a test build. You can view the workflow run here.
:test_tube::test_tube: Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! :test_tube::test_tube: | Android :robot: | iOS :apple: |
---|---|---|
https://ad-hoc-expensify-cash.s3.amazonaws.com/android/55095/index.html | β FAILED β | |
The QR code can't be generated, because the iOS build failed | ||
Desktop :computer: | Web :spider_web: | |
β FAILED β | https://55095.pr-testing.expensify.com | |
The QR code can't be generated, because the Desktop build failed |
:eyes: View the workflow run that generated this build :eyes:
almost done with testing, gonna mock some onyx data for card transactions and then approve this one
I wonder if this should also be added to Settings > Wallet > Card details?
That would make sense to me but I don't feel strongly.
One thing worth mentioning is that the card filter does not work for the cards that are owned by someone else. Even though I can see the card in my list when I the admin of a workspace but the search page does not show card filters for it.
I wonder if this should also be added to Settings > Wallet > Card details? That would make sense to me but I don't feel strongly.
I don't feel strongly either but agree it would make sense. Can't think of a reason not to add it here other than it's more work.
I wonder if this should also be added to Settings > Wallet > Card details?
Yes I think we should
I don't have access to such cards and not sure how can I get one. Can I get the URL of details page so that I can directly add the button to this page?
@allgandalf Can you please help get a wallet card if you know the way?
@robertjchen are we able to give our contributors the demo card login details they can use via OldDot to import a card into their account? That might be helpful here?
@shawnborton Can you meanwhile share the url address of the page?
Sure, it's basically this: https://new.expensify.com/settings/wallet/card/XXXXXX
@parasharrajat let me know when this is ready to test
@parasharrajat any updates on this one?
Working on the popup part for company cards.
@allgandalf Looks like adding a popup to the Assigned Card is not straightforward. The current implementation of PaymentMethodList does not support the assigned Cards section via props. For example, the activePaymentMethodId prop is only used for bank accounts and the cards in the payment method section. Assigned Cards are not payment methods.
There are quite some refactor needed for this.
What do you suggest?
Overall, it looks like that the company Cards will take a bunch of refactor to show a view transactions menu. All Expensify Cards are done.
Changes done. Its ready.
Nice, let us know when we have updated screenshots/videos to review as well. We need them from Workspace Editor as well as Wallet > Cards
@allgandalf This is ready for testing.
I will share screenshots shortly. @allgandalf Can you please start testing this in the meantime?
Closed mistakenly...
π§ @mountiny has triggered a test build. You can view the workflow run here.
:test_tube::test_tube: Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! :test_tube::test_tube: | Android :robot: | iOS :apple: |
---|---|---|
https://ad-hoc-expensify-cash.s3.amazonaws.com/android/55095/index.html | β FAILED β | |
The QR code can't be generated, because the iOS build failed | ||
Desktop :computer: | Web :spider_web: | |
https://ad-hoc-expensify-cash.s3.amazonaws.com/desktop/55095/NewExpensify.dmg | https://55095.pr-testing.expensify.com | |
:eyes: View the workflow run that generated this build :eyes:
Vids for web and native for wallet page. Others are attached to OP. cc: @shawnborton
https://github.com/user-attachments/assets/cfb76545-8743-48a7-adf1-d3e83805eacb
https://github.com/user-attachments/assets/8e0791dc-359b-4410-9782-4a03baa91988
Seems to test well for me!
https://github.com/user-attachments/assets/614de450-77af-4518-8001-f8e207c62eb9
@allgandalf how is it looking?
Looks great!
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and not onIconClick
).src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components using Avatar
have been tested & I retested again)/** comment above it */
this
properly so there are no scoping issues (i.e. for onClick={this.submit}
the method this.submit
should be bound to this
in the constructor)this
are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this);
if this.submit
is never passed to a component event handler like onClick
)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG
)Avatar
is modified, I verified that Avatar
is working as expected in all cases)Design
label and/or tagged @Expensify/design
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 the Test
steps.@parasharrajat can you please resolve the conflicts
@mountiny Done,.
:hand: 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.89-0 π
platform | result |
---|---|
π€ android π€ | success β |
π₯ desktop π₯ | success β |
π iOS π | success β |
πΈ web πΈ | success β |
π€π android HybridApp π€π | success β |
ππ iOS HybridApp ππ | success β |
Explanation of Change
Fixed Issues
$ https://github.com/Expensify/App/issues/54800 PROPOSAL: https://github.com/Expensify/App/issues/54800#issuecomment-2571530812
Tests
Prerequisite:
Expensify Card
Company Card
Assigned Cards
Offline tests
QA Steps
Same as tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
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
https://github.com/user-attachments/assets/f07273dc-eb34-43e9-bab8-a87a42c3c8abAndroid: mWeb Chrome
https://github.com/user-attachments/assets/fc68557e-a843-4547-9c7b-182c749ed6bciOS: Native
https://github.com/user-attachments/assets/33fdd854-f785-472d-8e18-b98d255e90bd https://github.com/user-attachments/assets/cfb76545-8743-48a7-adf1-d3e83805eacbiOS: mWeb Safari
https://github.com/user-attachments/assets/142163fc-4c72-44b4-acaa-b09b3af9bfe6MacOS: Chrome / Safari
https://github.com/user-attachments/assets/3bf64b12-ff9b-4dc1-a51d-a8c0abbad3d2 https://github.com/user-attachments/assets/8e0791dc-359b-4410-9782-4a03baa91988MacOS: Desktop
https://github.com/user-attachments/assets/f039efdc-4fd0-4e5b-ab5b-e97064905c2c