-
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 2024-01-24] [$500] Settings - Only top 10 timezones have tooltip #33172
Comments
Job added to Upwork: https://www.upwork.com/jobs/~011eddc6038aace445 |
Triggered auto assignment to @peterdbarkerUK ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee ( |
Looks intentional
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Settings - Only top 10 timezones have tooltip What is the root cause of that problem?This is done intentionally to prevent performance issues where there are hundreds of reports. What changes do you think we should make in order to solve the problem?We can introduce a prop like What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.App only displays tooltip on top 10 timezone values What is the root cause of that problem?Earlier we have this limit to show tooltips only on first 10 user items, this is because we can have hundreds of report items and it can cause performance issue. But recently we enable tooltips for text selection list as well (like timezone page) via this PR, the text selection list always has a limited number of items, but unfortunately the existing 10 items tooltip limit applies to the newly added tooltips for text selection list. What changes do you think we should make in order to solve the problem?Only applies the 10 items tooltip limit for user list items, for text list items, it should always show tooltip since there's no performance issue and no reason to limit it. We can do this by replacing this with
(The logic to check isUserItem is the same as here, we can pass it down as a prop to What alternative solutions did you explore? (Optional)We can consider disable tooltips for timezone page entirely via a prop, because the tooltip doesn't provide any additional content, the tooltip is supposed to show the full text if the option item has ellipsis text, but in this case the timezone text is always short and will never have ellipsis, so the tooltip doesn't provide any value. There're other pages like this too and we can consider disabling tooltips for them to reduce distraction for users. |
i recall there was a discussion about the expected behaviour for a similar case some other place in app, i just dont remember the conclusion we get to... now i can't find the thread. cc @vitHoracek @trjExpensify since i recall you both were involved |
Seems pretty clear from #26091 that the limit of displaying only 10 tooltips was only intended for the workspace members & invite pages. So @dukenv0307's proposal makes the most sense to me as it provides a general solution without needing to set a prop everywhere we use selection lists (as would be the case for this proposal). 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @hayata-suenaga, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@ishpaul777, I think you meant to tag @mountiny not fake Vit! 😉 I think the discussion you're remembering was around the user lists where we decided that instead of just limiting it to 10 which looks inconsistent in the results, we'd show a tooltip only when the row is being truncated. |
@trjExpensify Yeah I am wonderin gif this bug fits the wave/ vip criteria. additionally, the tooltips here are actually quite useless arent they. They only show what user already can see so given they are not the best performance wise, I would even vote to remove them on this list |
@mountiny yeah it's indeed quite useless, I suggested the removal of it in my alternate solution as well, we can go with that. |
Yeah, I'd much rather remove them. Taking the same approach, that unless it's truncated or has more info don't show it. I don't think any are. P.s good news, my favourite place in Wales isn't a result. 😉
|
@dukenv0307 okay can you make a PR that removes the tooltip then? 🙇 |
@hayata-suenaga sure thing, can you assign me to the GH issue? Thank you! |
I think you can use this GH, right? @peterdbarkerUK can align the expected results that we don't display tooltips on any of these values in the timezone picker. |
@trjExpensify yes I mean to assign me to this GH issue, I wasn't assigned yet 😄 |
📣 @jjcoffee 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
Cool, done! |
📣 @dukenv0307 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@peterdbarkerUK, @jjcoffee, @hayata-suenaga, @dukenv0307 Eep! 4 days overdue now. Issues have feelings too... |
@jjcoffee The PR is ready for review. |
The PR is still in review @jjcoffee just got back from OOO |
Still working on the PR, we're going to also fix #34156 on it. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.25-10 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 2024-01-24. 🎊 For reference, here are some details about the assignees on this 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:
|
Regression Test Proposal
Do we agree 👍 or 👎 |
@peterdbarkerUK Friendly bump for payment 🙇 |
Hmmm, not sure why this got stuck on weekly - I'm sorry @jjcoffee & @dukenv0307 Payment summary: |
QA issue submitted https://github.com/Expensify/Expensify/issues/365429 |
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: v1.4.13-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:
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:
Expected Result:
App should either display tooltip on all timezone values or not display tooltip on any values
Actual Result:
App only displays tooltip on top 10 timezone values
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6313262_1702569416836.windows_chrome_-_only_top_10_timezone_has_tooltip.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: