-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Due for payment 2025-02-25] [$250] Reports-Extra saved search action menu briefly appears at the top left corner of Reports page #56505
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
Comments
Triggered auto assignment to @johncschuster ( |
Triggered auto assignment to @techievivek ( |
💬 A slack conversation has been started in #expensify-open-source |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Extra saved search action menu briefly appears at the top left corner of Reports page. The issue happens when user clicks on 3 dot menu for the first time after entering the page. What is the root cause of that problem?The initial position is set here In SavedSearchItemThreeDotMenuProps, we just calculate the threeDot position when users click on the icon App/src/pages/Search/SavedSearchItemThreeDotMenu.tsx Lines 26 to 32 in d687284
At the same time, we also trigger open the popover so it will use the initial three dot position to show first, when the 3 dot position is updated, the popover will show correctly What changes do you think we should make in order to solve the problem?We shouldn't calculate the 3 dot position on click, instead we can calculate on layout change like what we did on BaseEducationalTooltip
We also need to consider other 3 dot components. What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?UI issue What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
Job added to Upwork: https://www.upwork.com/jobs/~021888850349812644772 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ahmedGaber93 ( |
📣 @shubham1206agra 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
### This is how I will fix the issue Deferring the rendering (or visibility) of the menu until after its position has been determined. |
📣 @abdulrafay155! 📣
|
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.99-2 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 2025-02-25. 🎊 For reference, here are some details about the assignees on this issue:
|
@shubham1206agra @johncschuster @shubham1206agra The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test Proposal Template
Regression Test ProposalPrecondition:Test:Do we agree 👍 or 👎 |
This seems to be a regression from #56227 |
But if a PR caused some misbehavior on the app even though, the root cause is not related to the PR code change, that misbehavior is considered a regression from that PR. If that PR had not been added, we would not be solving this bug. That PR should have fixed all the misbehavior arising from it. So technically yes, it is a regression from that PR. |
@parasharrajat There are many documented cases where these kinds of bugs are treated as separate bugs. Plus, I said it was repro before the PR too (requires some special conditions). So, I am not sure why you are doing extra explanation here. |
Ok, so it was repro on main. Then it will not be.
Do you mean throttle the internet? |
Nope, the CPU itself. So, it will imitate a lower end device. |
Has this discussion settled? What's the conclusion here? |
@johncschuster Please proceed as usual as it was repro on prod too. |
We can also look at it from another perspective: while working on a PR, we sometimes encounter an unrelated bug that isn’t caused by our code changes. In such cases, we typically log a separate GH and address it independently. Following that philosophy, it makes sense to treat this GH issue as not a regression, and we can move ahead with the normal payment here. |
Payment SummaryContributor: @nkdengineer paid $250 via Upwork @shubham1206agra please complete the BZ Checklist above and then request payment via NewDot. Thank you! |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalTest:Not Required as the related test was added in #49239 Do we agree 👍 or 👎 |
Thanks, @shubham1206agra! Please request payment via NewDot! (summary, here) @nkdengineer please accept the job offer above so I can issue payment to you. Thanks, both! |
@johncschuster Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Payment has been issued to @nkdengineer! @shubham1206agra please request payment via ND if you haven't already! |
$250 approved for @shubham1206agra |
Uh oh!
There was an error while loading. Please reload this page.
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: 9.0.95-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/cases/view/3284916
Email or phone of affected tester (no customers): N/A
Issue reported by: Applause Internal Team
Device used: MacBook Sonoma 14.1 Chrome
App Component: Search
Action Performed:
Expected Result:
Only one action menu for a saved search appears on the page after clicking on 3 dots icon
Actual Result:
Extra saved search action menu briefly appears at the top left corner of Reports page. The issue happens when user clicks on 3 dot menu for the first time after entering the page.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6735756_1738888655473.Saved_search_menu.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @johncschusterThe text was updated successfully, but these errors were encountered: