-
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
[HOLD for payment 2025-01-21] [$250] Start chat - The list does not scroll to the top automatically after adding a user. #54606
Comments
Triggered auto assignment to @laurenreidexpensify ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The list doesn't scroll to the selected item on the new chat page. What is the root cause of that problem?By default, a selection list will scroll to the selected item when selected. App/src/components/SelectionList/BaseSelectionList.tsx Lines 356 to 359 in e94df0f
However, we use a custom right side component for the new chat page. Lines 225 to 244 in e94df0f
And currently, we only clear the text input when adding a user to a group selection list. So, the scroll never happens. What changes do you think we should make in order to solve the problem?If we want to have the same behavior as selection list, we can call the scroll to index from the new chat page.
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?I think we can test the UI that after adding a user, the selected user is visible to the screen. |
@laurenreidexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@laurenreidexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Job added to Upwork: https://www.upwork.com/jobs/~021874054230559291011 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @dukenv0307 ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.After a member is added to group, the user is not re-directed automatically to the top of the list. What is the root cause of that problem?On BaseSelectionList, we have the logic to trigger scroll to index
but on In this function, we just What changes do you think we should make in order to solve the problem?
So to fix that issue and make things consistency, we need to call
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?We can add the UI tests that after adding user to group, the selected user is visible. What alternative solutions did you explore? (Optional)NA 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. |
user Your proposal will be dismissed because you did not follow the proposal template. |
@bernhardoj's solution doesn't work on my side. We can go with @daledah's proposal, it works well same as other selection list 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @robertjchen, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@robertjchen please confirm when you have a moment thanks |
@robertjchen Can you please take a look at this issue when you have a chance? Thanks |
@daledah solution to scroll to top is exactly the same as mine, so I'm not sure how can mine doesn't work. |
@bernhardoj It didn't work on my side when using the keyboard only. It just worked if I clicked on the item. |
I wanna retest it, but looks like it's always scroll to the top now. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@robertjchen bump for 👀 thanks |
I still can reproduce and keep the decision here @robertjchen |
Revisiting this 👀 |
Reviewed- I think we'll go with @daledah for this one, thanks! |
📣 @daledah 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.84-7 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-01-21. 🎊 For reference, here are some details about the assignees on this issue:
|
@dukenv0307 @laurenreidexpensify @dukenv0307 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] |
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: v9.0.79-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5380227
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: macOS Sequoia 15.1.1, Desktop/Web
App Component: Search
Action Performed:
Expected Result:
The user should be re-directed automatically to the top of the list.
Actual Result:
After a member is added to group, the user is not re-directed automatically to the top of the list.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6702731_1735262665225.5at_10.14.15_PM.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @laurenreidexpensifyThe text was updated successfully, but these errors were encountered: