Open izarutskaya opened 6 hours ago
Triggered auto assignment to @kevinksullivan (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
Edited by proposal-police: This proposal was edited at 2024-09-21 08:56:41 UTC.
"Get Started! Submit your first expense" message is displayed over Concierge Chat
Right here we do not exclude if it is a concierge chat https://github.com/Expensify/App/blob/9160fa585c26d3312fd6d6fbd69d334e66cb373d/src/pages/home/report/ReportFooter.tsx#L221 https://github.com/Expensify/App/blob/9160fa585c26d3312fd6d6fbd69d334e66cb373d/src/pages/home/report/ReportActionCompose/ReportActionCompose.tsx#L424-L426
We can exclude if it is a concierge chat by using !ReportUtils.isConciergeChatReport(report)
Or we can only show the tooltip if it is workspace chat by using ReportUtils.isWorkspaceChat(report.chatType)
We can show only the tooltip if we can request money inside the report by using canRequestMoney
function
const participantAccountIDs = report.participantAccountIDs?.filter((accountID) => currentUserPersonalDetails?.accountID !== accountID);
ReportUtils.canRequestMoney(report, policy, participantAccountIDs)
We can use getMoneyRequestOptions
function to check if the return value include submit
(request) then we can show the tooltip
This is also same as we use canCreateRequest
function
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: v9.0.39-0 Reproducible in staging?: Y Reproducible in production?: Y Email or phone of affected tester (no customers): gibethlehem@gmail.com Logs: https://stackoverflow.com/c/expensify/questions/4856 Issue reported by: Applause-Internal team
Action Performed:
Expected Result:
"Get Started! Submit your first expense" message is displayed over the workspace chat
Actual Result:
"Get Started! Submit your first expense" message is displayed over the Concierge Chat,
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
https://github.com/user-attachments/assets/58723d62-fccb-4c16-bc6c-8071d1e2e44b
View all open jobs on GitHub