-
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
[HOLD for payment 2023-08-07] [$1000] App only displays tooltip on long reply in thread message from concierge #22609
Comments
Triggered auto assignment to @bfitzexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.App only displays tooltip on long reply in thread message from concierge. What is the root cause of that problem?When hover over three dots in LHN, the report title is displayed by below code. App/src/components/LHNOptionsList/OptionRowLHN.js Lines 191 to 201 in 882026d
And tooltip is displayed only if App/src/components/DisplayNames/index.js Lines 114 to 121 in 882026d
Lines 299 to 300 in 882026d
That is, displayNamesWithTooltips is generated for first 10 participants. What changes do you think we should make in order to solve the problem?From the user's point of view, "..." means that the title is long and cannot be displayed on one line, so there is an action to display additional information. - {this.props.displayNamesWithTooltips.length > 1 && Boolean(this.state.isEllipsisActive) && (
+ {Boolean(this.state.isEllipsisActive) && (
<View style={styles.displayNameTooltipEllipsis}>
<Tooltip text={this.props.fullTitle}>
{/* There is some Gap for real ellipsis so we are adding 4 `.` to cover */}
<Text>....</Text>
</Tooltip>
</View>
)} What alternative solutions did you explore? (Optional)None. |
ProposalPlease re-state the problem that we are trying to solve in this issue.A thread that has Concierge as the participant shows a tooltip when hovered over the ellipsis if the LHN title is very long. What is the root cause of that problem?The LHN use App/src/components/DisplayNames/index.js Lines 114 to 121 in e299de5
The ellipsis and tooltip are useful for a group chat where the participant list does not fit in one line. But in the case of a thread, the LHN title is not the participant's name/email, but the thread parent action text. How? We have a App/src/components/LHNOptionsList/OptionRowLHN.js Lines 198 to 200 in e299de5
Notice that it's not only thread but also other types of report. It doesn't make sense for me to show the tooltip in a thread (or other types of report) when there is more than one participant, but not when we are the only participant. What changes do you think we should make in order to solve the problem?The tooltip is designed to show the rest of the group participants, in case We have 2 options:
OR
We can then remove the App/src/components/DisplayNames/index.js Lines 88 to 89 in e299de5
|
Job added to Upwork: https://www.upwork.com/jobs/~01019167e09bdf2205 |
Current assignee @bfitzexpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.App does not display tooltip (to display full message) on hover over three dots in LHN for long text reply in thread report What is the root cause of that problem?The problem is with the condition that defines if the tooltip should render:
As we can see we check if What changes do you think we should make in order to solve the problem?In my opinion, we should change the mentioned condition in
Changing |
I'll be taking this over. |
@bfitzexpensify, please assign @allroundexperts for the c+ role. |
📣 @allroundexperts 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Upwork job |
📣 @dhanashree! 📣
|
The BZ member will need to manually hire dhanashree for the Reporter role. Please store your Upwork details and apply to our Upwork job so this process is automatic in the future! |
Still reviewing the proposals. |
Okay. I guess we have proposals that are taking into consideration different expected results. @bfitzexpensify Can we please clarify the expected behaviour here first? Specifically, should we show the LHN tooltip only for group chats (where the title is participant names)? Or should we be showing it for all chats? |
I think it makes sense to have the LHN tooltip for all chats where we can't show the full message in the LHN |
@allroundexperts given that, do we have a proposal that fits best? |
📣 @StevenKKC 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @dhanashree-sawant 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
@allroundexperts PR is ready for review. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.47-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-08-07. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Job assigned July 25th, merged July 26th — eligible for #urgency bonus Amounts owed here for payment: Reporting: @dhanashree-sawant - $250 - paid out via Upwork ✅ |
Bump to complete BZ checklist @allroundexperts - thank you! |
@allroundexperts please complete the following checklist 🙇 |
Sure, on it now! |
Checklist
Regression test
Do we 👍 or 👎 ? |
Reviewed the details for @allroundexperts. Approved for payment in NewDot based on the BZ payment summary above. |
I like this, simple and effective. I've opened https://github.com/Expensify/Expensify/issues/308796 to add this as a regression test. All payments now complete, as is the BZ checklist, so we're all done here, closing this out. Thanks everyone! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
App should display tooltip (to display full message) on hover over three dots in LHN for long text reply in thread report as it does for concierge reply in thread report
Actual Result:
App does not display tooltip (to display full message) on hover over three dots in LHN for long text reply in thread report
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.39-5
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
Notes/Photos/Videos: Any additional supporting documentation
No.tooltip.on.long.text.3.dots.LHN.mp4
Recording.1244.mp4
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1689012283926099
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: