-
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
[$500] Chat - Composer not focused after using the Mini context menu #27431
Comments
Triggered auto assignment to @sophiepintoraetz ( |
Bug0 Triage Checklist (Main S/O)
|
Job added to Upwork: https://www.upwork.com/jobs/~0112d0966800e14318 |
Current assignee @sophiepintoraetz is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Ollyws ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Chat - Composer not focused after using the Mini context menu What is the root cause of that problem?Focusing on composer is only done as callback for popups: App/src/pages/home/report/ContextMenu/ContextMenuActions.js Lines 214 to 216 in 95c9e47
What changes do you think we should make in order to solve the problem?We need to implement composer focus on other context menu than popups too (i.e. mini context menu):
What alternative solutions did you explore? (Optional)N/A |
ProposalPlease re-state the problem that we are trying to solve in this issue.Composer is not re-focused after the 'Copy to clipboard' and 'Mark as unread' commands using the Mini context menu. What is the root cause of that problem?The App/src/pages/home/report/ContextMenu/ContextMenuActions.js Lines 172 to 185 in 6764fd1
App/src/pages/home/report/ContextMenu/ContextMenuActions.js Lines 246 to 252 in 6764fd1
The logic explicitly tells that re-focus should happen only when the context menu is in popover form (right-click):
App/src/pages/home/report/ContextMenu/ContextMenuActions.js Lines 214 to 216 in 95c9e47
What changes do you think we should make in order to solve the problem?Use existing FocusManager and trigger re-focus regardless of the What alternative solutions did you explore? (Optional)N/A |
ProposalPlease re-state the problem that we are trying to solve in this issue.Chat - Composer not focused after using the Mini context menu What is the root cause of that problem?Focusing on the composer is only done as a callback for popups, not on the mini context menu: App/src/pages/home/report/ContextMenu/ContextMenuActions.js Lines 111 to 113 in 95c9e47
What changes do you think we should make in order to solve the problem?Use existing Add this to each menu item in the onPress function at the end What alternative solutions did you explore? (Optional)N/A |
📣 @hjchoudry! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
Waiting on reviews from @Ollyws |
I'm a little skeptical if this is a legit bug worth fixing. I assumed the reason we focus after using the right-click context menu is because using it blurs the composer which should then be re-focused, but in the case of the mini-context-menu the composer is not blurred when it's used. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
I'm wondering if it's a consistency thing though, right @Ollyws? Though I could be misunderstanding the significance of |
@Ollyws, @sophiepintoraetz Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Waiting on @Ollyws to come back to me. |
Asked in slack. |
@Ollyws @sophiepintoraetz 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! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
I think as per the slack convo we're good to close this one. |
Agreed - thanks Olly for checking! I also need to wrap up these focus issues and perhaps put a pause on them because we're pretty inconsistent on how we fix them |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
Composer is focused after using the Mini context menu the same as using the Context menu(By right-clicking)
Actual Result:
Composer not focused after using the Mini context menu
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: v1.3.70-2
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
Notes/Photos/Videos: Any additional supporting documentation
T145composerfocus-1.mp4
Recording.1522.mp4
Expensify/Expensify Issue URL:
Issue reported by: @daveSeife
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1694056716395569
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: