-
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-02-07] [$500] Search - Focused account hidden by "Star a chat, get $250." when navigating with an arrow #34112
Comments
Job added to Upwork: https://www.upwork.com/jobs/~010450be8409118daf |
Triggered auto assignment to @zanyrenney ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @c3024 ( |
ProposalPlease re-state the problem that we are trying to solve in this issueFocused account is hidden by referral "Star a chat, get $250." banner when navigating with Up / Down arrows. What is the root cause of that problem?This happens because when using navigating with Up / Down arrows the This can be easily reproduced by navigating from first to last item by pressing Up arrow once. What changes do you think we should make in order to solve the problem?A solution for this case is to add negative VideosMacOS: Chrome / SafariScreen.Recording.2024-01-08.at.23.53.26.mov |
I am not able to reproduce this issue on mac chrome, @ikevin127 are you able to reproduce the issue ? |
@jayeshmangwani I'm on MacOS too and I can repro on Chrome, Firefox and Safari. It can be easily reproduced by navigating from first to last item by pressing Up arrow once. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Focused account is hidden by "Star a chat, get $250." banner when navigating with an arrow What is the root cause of that problem?We're putting empty sections into What changes do you think we should make in order to solve the problem?Filter out the empty sections before further processing, we can do this either before passing the sections into This empty sections will not show in the UI at all and is safe to be removed. Then we can also remove the workarounds that we had to add because of the empty section like here We need to also check other usage of What alternative solutions did you explore? (Optional)NA |
ProposalPlease re-state the problem that we are trying to solve in this issue.When scrolling through the new chat list with a keyboard arrow, the bottom items are hidden by the referral section. What is the root cause of that problem?In short: we scroll to the wrong index Detail: App/src/components/OptionsSelector/BaseOptionsSelector.js Lines 394 to 404 in d1e1550
And the reason for that is written in the comment above. But if we log inside the On the new chat page, we have one empty section (index 0) for selected users (if we haven't select anyone), Lines 78 to 80 in 0c5a2cb
and then we have the Recents (index 1) and Contacts (index 2) section. So, every time we call (we can verify this root cause by selecting at least one user (to group) and the scrolling will work fine) What changes do you think we should make in order to solve the problem?The reducing section index logic was added ~ 2 years ago, maybe the bug happened at that time, but looks like it's not relevant anymore with the proof of App/src/components/OptionsSelector/BaseOptionsSelector.js Lines 397 to 402 in d1e1550
I have tested on all platforms and no error happens. |
@c3024 please review the proposals. |
bump @c3024 please review the proposals? If you do not have capacity to work on this issue, please let me know and I can reassign it. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Reviewing. |
Thanks for all your proposals. I think compensating for the referral CTA is a workaround. As the SectionList is not stripping away the empty sections, I think the simpler solution is to remove the code adjusting the index for scrolling. So, @bernhardoj 's proposal here looks good to me. 🎀 👀 🎀 C+ Reviewed |
Triggered auto assignment to @techievivek, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@techievivek @zanyrenney @c3024 this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
this shouldn't be flagging as overdue, I have just bumped the eng team. |
@c3024 your analysis seems correct, I think @bernhardoj has the simplest solution here and we can move forward! |
📣 @c3024 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
PR is ready cc: @c3024 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.33-5 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-02-07. 🎊 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:
|
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 ProposalThe QA steps specified here is a suitable regression test
👍 or 👎 |
payment summary: @bernhardoj requires payment automatic offer (Contributor) PAID $500 |
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: 1.4.22-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:
Focused account should be visible
Actual Result:
Focused account is hidden by "Star a chat, get $250." banner when navigating with an arrow
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6335899_1704738005020.video_68.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: