[No QA] Add support for "none" cancellation type in useCancellationType hook and UI content map#64959
Conversation
NikkiWines
left a comment
There was a problem hiding this comment.
You've got a lint failure but otherwise looks good!
|
Updated! |
|
Oh, do we want to get a C+ to do the checklist or did you want to do that @NikkiWines ? |
|
I can do it after the hackathon today or on monday! |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb Chrome |
|
@marcaaron I don't seem to have the I'm also unable to get my android emulator working correctly (it's just pointing to prod for some reason) but it looks fine on web, ios mweb, and desktop |
|
Haven't had a chance to test this manually. I'll try to build this next week and see if I can repro what you saw @NikkiWines |
|
Tried to look at this for a bit today, but getting the app to build is proving to be difficult and something more important keeps popping up. 🙃 |
|
Ok LOL so I spent FOREVER getting hybrid app to build. And then quickly realized that this is not supposed to show on native iOS or Android at all and was never implemented there 😄 @blimpich can you confirm? I think this is ready to merge otherwise as I won't be implementing it here if we need to. |
|
✋ 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/marcaaron in version: 9.1.85-2 🚀
|
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.1.85-5 🚀
|





Explanation of Change
useCancellationTypeto returnCANCELLATION_TYPE.NONEif present in cancellation details.contentMapinRequestEarlyCancellationPageto handle theNONEcancellation type by mapping it tomanualCancellationContent.Fixed Issues
$ #64058
Tests
Prerequisites:
settings/subscriptionOffline tests
N/A
QA Steps
I think this is too complex of a billing situation for QA to reproduce so I am marking as No QA
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)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
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop