-
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
[$500] Details - Wrong text in tooltip on 3 dots of owes report details #29703
Comments
Triggered auto assignment to @jliexpensify ( |
Job added to Upwork: https://www.upwork.com/jobs/~011c5b71f132322fe9 |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.3 dots shows the report title instead of display name list in report detail page What is the root cause of that problem?We're showing the full title in the tooltip as you can see below
This is the root cause What changes do you think we should make in order to solve the problem?We need to show display names when we don't show title
This works as expected Result29703.mp4What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.wrong tool tip display in the report details page What is the root cause of that problem?we display the report name instead of the participants list in the App/src/pages/ReportDetailsPage.js Lines 165 to 172 in 7393ec5
What changes do you think we should make in order to solve the problem?use participants names instead of the report name.. to do that we can use the displayNamesWithTooltips arr and access the displayname and join it by "," const participantsNames = useMemo(() => _.map(displayNamesWithTooltips, (participantDisplay) => participantDisplay.displayName).join(', '), [displayNamesWithTooltips]); <DisplayNames
fullTitle={participantsNames}
displayNamesWithTooltips={displayNamesWithTooltips}
tooltipEnabled
numberOfLine
s={isChatRoom && !isThread ? 0 : 1}
textStyles={[styles.textHeadline, styles.textAlignCenter, isChatRoom && !isThread ? undefined : styles.pre]}
shouldUseFullTitle={shouldUseFullTitle}
/> POC![]() |
The IOU report details title now show the report name after this PR |
Thanks @bernhardoj - closing this! |
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: 1.3.84.7
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1697471268360179
Action Performed:
Expected Result:
Hover on 3 dots in owes report details should display user list as tooltip text
Actual Result:
Hover on 3 dots in owes report details shows report title text
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
mac.chrome.owes.3.dot.display.wrong.name.mov
Recording.5018.mp4
MacOS: Desktop
mac.desktop.wrong.name.owes.2.dot.mov
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: