App: [$500] Approve button not displayed by default in the dropdown
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: 1.4.54-0 Reproducible in staging?: y Reproducible in production?: y If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4433593 Email or phone of affected tester (no customers): Logs: https://stackoverflow.com/c/expensify/questions/4856 Expensify/Expensify Issue URL: Issue reported by: applause internal team Slack conversation:
Action Performed:
- As an employee submit an expense report to workspace chat
- Log in as the Admin of the workspace
- Navigate to the workspace chat of the employee who submitted the report
- Observe the button in the report preview
Expected Result:
Approve should be appearing by default in the button which has dropdown
Actual Result:
Pay Elsewhere is displayed by default, user needs to click on drop down menu and then select Approve.
Workaround:
unknown
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
https://github.com/Expensify/App/assets/43996225/d39eb4fa-cca6-4d53-88c1-0bb57207fccd
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~0167219d0cf776ee3b
- Upwork Job ID: 1770252974466375680
- Last Price Increase: 2024-03-20
Issue Owner
Current Issue Owner: @mallenexpensifyAbout this issue
- Original URL
- State: closed
- Created 3 months ago
- Comments: 42 (29 by maintainers)
I’m not sure I’m following, sorry. If you’re asking how to find these settings in NewDot:
collectworkspace out the gate)WorkflowsI’m unsure about closing. The problem I’m running into is that is that I can’t find what the below default settings are.
I logged into my test account and tried to find the above in NewDot and OldDot for my collect workspace. I couldn’t find either.
Coming from here in QA
From this thread in #expensify-open-source
and
Checking on in #qa again to confirm what the testers setup is.
Confirming in thread cuz I’m not 100% sure.
Thanks @GandalfGwaihir. I did go through the slack conversation, getting an explicit confirmation here.
We can discuss the proposals once @mallenexpensify can get clarification on what’s the expected order of these buttons
Proposal
Please re-state the problem that we are trying to solve in this issue.
Pay Elsewhere is displayed by default, user needs to click on drop down menu and then select Approve.
What is the root cause of that problem?
We’re pushing approve button at the end of the list
https://github.com/Expensify/App/blob/71e3aa4eb3be90eeadd27260dfb87a3ff67185be/src/components/SettlementButton.tsx#L189-L191
What changes do you think we should make in order to solve the problem?
We should add approveButtonOption to the beginning of buttonOptions
What alternative solutions did you explore? (Optional)
NA
Result
https://github.com/Expensify/App/assets/113963320/c461ebe3-9643-4e72-aa10-230e842ee2eb