-
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] on #29199 [$500] Chat - The composer isn't focused if you choose "Manage my team's expenses" #37897
Comments
Triggered auto assignment to @laurenreidexpensify ( |
@laurenreidexpensify I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors. |
ProposalPlease re-state the problem that we are trying to solve in this issue.The composer isn't focused if "Manage my team's expenses" is selected. What is the root cause of that problem?Below is the auto-focus logic in App/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx Lines 270 to 271 in bf1ff4c
!modal?.isVisible doesn't make sense. We should check if the modal is visible, so the condition should be: Also, since it is not an empty chat - isEmptyChat becomes false. What changes do you think we should make in order to solve the problem?This should be the check:
We can auto-focus for concierge chats, since user will probably want to ask a question if concierge chat has been opened. What alternative solutions did you explore?Otherwise, we can add a check to see if the user has landed from "Manage my team's expenses" option - if true, then auto-focus. |
Job added to Upwork: https://www.upwork.com/jobs/~01406f3d8e31f8e03b |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
This feels like a low priority bug - not sure if it fits under any roadmap project specifically tho |
ProposalPlease re-state the problem that we are trying to solve in this issue.Chat - The composer isn't focused if you choose "Manage my team's expenses" What is the root cause of that problem?The auto-focus is disabled in natives intentionally for better UX experience unless we are opening an empty chat here App/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx Lines 270 to 272 in 77375e8
Now the problem here is two
What changes do you think we should make in order to solve the problem?
but this will only work for other chats as the concierge chat has multiple system message even if the chat is empty so we can use the above App/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx Lines 270 to 272 in 77375e8
What alternative solutions did you explore? (Optional) |
@fedirjh bump for review |
@laurenreidexpensify This should be handled with #29199. Let's put it on hold. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@fedirjh, @laurenreidexpensify Huh... This is 4 days overdue. Who can take care of this? |
Still held on #29199 |
[Hold] on #29199 |
I"m going to close this one out as it will be covered in #29199 |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Found when validating PR : #37652
Version Number: 1.4.48.0
Reproducible in staging?: Y
Reproducible in production?: Y
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Expected Result:
It should be focused and the keyboard should be visible.
Actual Result:
The composer isn't focused if you choose "Manage my team's expenses"
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6405477_1709821119877.IQTX5174.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: