-
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] Implement OpenCardDetailsPage api call #47333
[No QA] Implement OpenCardDetailsPage api call #47333
Conversation
…imit and earnedCashback fields into optional.
…-api-call # Conflicts: # src/libs/API/parameters/index.ts
@allgandalf or @DylanDylann should be a C+ reviewer here |
@@ -0,0 +1,6 @@ | |||
type OpenCardDetailsPageParams = { |
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.
Add my reviewing
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.
Looking good!
@DylanDylann lets try to get this one reviewed and merged today if everything will work well |
Reviewer Checklist
Screenshots/Videos |
@@ -111,6 +120,7 @@ function WorkspaceExpensifyCardDetailsPage({route}: WorkspaceExpensifyCardDetail | |||
title={formattedAvailableSpendAmount} | |||
interactive={false} | |||
titleStyle={styles.newKansasLarge} | |||
containerStyle={isOffline ? styles.buttonOpacityDisabled : null} |
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.
@mountiny @VickyStash We always greyed out the remaining limit field when offline (even though there are no pending action), right?
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.
@DylanDylann Correct because we cant know if the data is correct / up to date
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.
@mountiny Everything else looks good
Not related to this PR, I see that the offline pattern hasn't applied to this feature yet, the updated field should be greyed out if It is updated offline
Can you explain this with numbered steps? |
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.
Changes look good to me, thank you!
@DylanDylann comment is NAB and can be handled later |
✋ 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.21-0 🚀
|
🚀 Deployed to production by https://github.com/Beamanator in version: 9.0.21-4 🚀
|
🚀 Deployed to production by https://github.com/Beamanator in version: 9.0.21-4 🚀
|
Details
Implement OpenCardDetailsPage api call
Fixed Issues
$ #47231
PROPOSAL: N/A
Tests
Pre-steps: Have all betas/workspaceFeed beta enabled
Remaining limit
is displayed.Remaining limit
is optimistically updated.Offline tests
Same as in the Tests section.
QA Steps
Same as in the Tests section.
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.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
MacOS: Chrome / Safari
Offline: