-
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
Android- expense - In camera screen receipt header is missing #49881
Comments
Triggered auto assignment to @NikkiWines ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Edited by proposal-police: This proposal was edited at 2024-09-29 07:56:39 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Android- expense - In camera screen receipt header is missing What is the root cause of that problem?The
What changes do you think we should make in order to solve the problem?We should check if // src/components/ReportActionItem/MoneyRequestView.tsx#L538
{shouldShowReceiptEmptyState && (
<ReceiptEmptyState
hasError={hasErrors}
disabled={!canEditReceipt}
onPress={() =>
Navigation.navigate(
ROUTES.MONEY_REQUEST_STEP_SCAN.getRoute(
CONST.IOU.ACTION.EDIT,
iouType,
transaction?.transactionID ?? '-1',
report?.reportID ?? '-1',
- Navigation.getReportRHPActiveRoute(),
+ Navigation.getReportRHPActiveRoute() || Navigation.getActiveRouteWithoutParams(),
),
)
}
/>
)} What alternative solutions did you explore? (Optional)We used getActiveRouteWithoutParams instead of getReportRHPActiveRoute. // src/components/ReportActionItem/MoneyRequestView.tsx#L538
{shouldShowReceiptEmptyState && (
<ReceiptEmptyState
hasError={hasErrors}
disabled={!canEditReceipt}
onPress={() =>
Navigation.navigate(
ROUTES.MONEY_REQUEST_STEP_SCAN.getRoute(
CONST.IOU.ACTION.EDIT,
iouType,
transaction?.transactionID ?? '-1',
report?.reportID ?? '-1',
- Navigation.getReportRHPActiveRoute(),
+ Navigation.getActiveRouteWithoutParams(),
),
)
}
/>
)} POC
Screen.Recording.2024-09-29.at.14.52.46.mov |
Edited by proposal-police: This proposal was edited at 2024-09-29 20:35:32 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Unable to drag and drop receipt to Upload receipt RHP What is the root cause of that problem?We recently started using
It's because shouldShowWrapper will be false and the top part will be cut off
What changes do you think we should make in order to solve the problem?We can create a new variable
We should also fix this in IOURequestStepScan/index.native.tsx file What alternative solutions did you explore? (Optional)Or we can do something like this here
Alternative 2
|
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
Proposal Update
|
Looks like this is already being resolved here - asked for a status update there. |
The linked PR fixes this blocker and is ready for merging and cherry-picking to staging |
Thank you @rayane-djouah! |
PR merged and being CPed |
Confirmed fix on staging. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.41-1
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
In camera screen receipt header must not be missing
Actual Result:
In camera screen receipt header is missing
Reproduction on: Redmi note 10s android 13
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6617782_1727466150619.Screenrecorder-2024-09-28-01-07-02-653_compress_1.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: