-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[CP Staging] Fix/46963 hide card reconciliation button #46978
[CP Staging] Fix/46963 hide card reconciliation button #46978
Conversation
}, | ||
]; | ||
|
||
// TODO: remove after this beta feature is released |
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.
I dont think we need this comment, we will go through all the usecases of the beta when it needs to be removed
@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] |
Waiting for the tests to pass... |
Reviewer Checklist
Screenshots/VideosMacOS: Chrome / SafariScreen.Recording.2024-08-07.at.9.50.09.PM.movMacOS: DesktopScreen.Recording.2024-08-07.at.9.59.48.PM.movAndroid: NativeScreen.Recording.2024-08-07.at.10.06.58.PM.movAndroid: mWeb ChromeScreen.Recording.2024-08-07.at.10.04.16.PM.moviOS: NativeScreen.Recording.2024-08-07.at.9.55.26.PM.moviOS: mWeb SafariScreen.Recording.2024-08-07.at.9.57.01.PM.mov |
@koko57 , @mountiny if i have This also doesn't match the test outcome: |
@allgandalf yes, you're right, this should be visible only when card is enabled, I will add the condition |
if (!canUseWorkspaceFeeds) { | ||
configurationOptions.splice(2, 1); | ||
} |
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.
I guess we should also check here if expensify card
is enabled or not @koko57 .
Something like we do below:
App/src/pages/workspace/WorkspaceInitialPage.tsx
Lines 239 to 241 in 0a33186
if (featureStates?.[CONST.POLICY.MORE_FEATURES.ARE_EXPENSIFY_CARDS_ENABLED]) { | |
protectedCollectPolicyMenuItems.push({ |
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.
yes, exactly will add it in a minute
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.
@allgandalf fixed
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.
Tests well on all platforms, LGTM
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.
Thanks!
…ion-button [CP Staging] Fix/46963 hide card reconciliation button (cherry picked from commit 2336ba8)
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Cherry-picked to staging by https://github.com/roryabraham in version: 9.0.17-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.17-2 🚀
|
2 similar comments
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.17-2 🚀
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.17-2 🚀
|
Details
Fixed Issues
$ #46963
PROPOSAL: -
Tests
Expensify Card not enabled
Expensify Card enabled
PREREQUISITES: all betas/workspaceFeed beta enabled
Offline tests
QA Steps
Expensify Card not enabled
Expensify Card enabled
PREREQUISITES: all betas/workspaceFeed beta enabled
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
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop