[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 = { | |||
|
@DylanDylann lets try to get this one reviewed and merged today if everything will work well |
Reviewer Checklist
Screenshots/Videos |
| title={formattedAvailableSpendAmount} | ||
| interactive={false} | ||
| titleStyle={styles.newKansasLarge} | ||
| containerStyle={isOffline ? styles.buttonOpacityDisabled : null} |
There was a problem hiding this comment.
@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.
@DylanDylann Correct because we cant know if the data is correct / up to date
DylanDylann
left a comment
There was a problem hiding this comment.
@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? |
mountiny
left a comment
There was a problem hiding this comment.
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 limitis displayed.Remaining limitis optimistically updated.Offline tests
Same as in the Tests section.
QA Steps
Same as in the Tests section.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
MacOS: Chrome / Safari
Offline:
