Skip to content
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

Submit Expense - Header Remains as "Submit Expense" Instead of "Manual" #40717

Closed
6 tasks done
kbecciv opened this issue Apr 22, 2024 · 6 comments
Closed
6 tasks done
Assignees

Comments

@kbecciv
Copy link

kbecciv commented Apr 22, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: v1.4.64.0
Reproducible in staging?: y
Reproducible in production?: n
Issue found when executing PR: #35822
Issue reported by: Applause - Internal Team

Action Performed:

1, Tap on the FAB > "Submit Expense."
2, Choose the "Manual" option and input the amount.
3, Click "Next." Observe that the header continues to display "Submit Expense" instead of changing to "Manual."

Expected Result:

The header should change to "Manual" after entering the amount and clicking "Next."

Actual Result:

The header remains as "Submit Expense" instead of changing to "Manual" during the expense submission process.

Workaround:

n/a

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6457689_1713805134082.Screen_Recording_2024-04-22_at_9.57.55_AM.mp4

View all open jobs on GitHub

@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Apr 22, 2024
Copy link

melvin-bot bot commented Apr 22, 2024

Triggered auto assignment to @francoisl (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link
Contributor

👋 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:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@kbecciv
Copy link
Author

kbecciv commented Apr 22, 2024

We think that this bug might be related to #vip-split

@suneox
Copy link
Contributor

suneox commented Apr 22, 2024

Proposal

Please re-state the problem that we are trying to solve in this issue.

Submit Expense - Header Remains as "Submit Expense" Instead of "Manual"

What is the root cause of that problem?

Regression from new feature implementation

What changes do you think we should make in order to solve the problem?

At this line we should get translation by requestType based on 3 cases Distance, Manual, Scan

Base on the requestType we can get translation from

    tabSelector: {
        ...
        distance: 'Distance',
        manual: 'Manual',
        scan: 'Scan',
    },

Keep the same with previous release
or

    quickAction: {
        ...
        trackManual: 'Track expense',
        trackScan: 'Track receipt',
        trackDistance: 'Track distance',
    },

To make consistent with quickAction

What alternative solutions did you explore? (Optional)

@francoisl
Copy link
Contributor

Looks like this is expected based on this thread.

There's going to be a follow-up issue to update the headers for all money request flows later (it will also not go back to saying "Manual")

@francoisl francoisl removed the DeployBlockerCash This issue or pull request should block deployment label Apr 22, 2024
@mountiny
Copy link
Contributor

Correct this is no expected behaviour, thanks ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants