Open lanitochka17 opened 2 months ago
Pass
isComposerFocused
param asReportActionComposeFocusManager.isJustBlured(new Date().getTime()) || ReportActionComposeFocusManager.isFocused()
when we open the context menu here.
Updated proposal a bit in step 6 to work for native.
@nkdengineer can you please update your test branch to reflect latest proposal?
@situchan I updated.
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
@lschurr @srikarparsi @situchan this issue is now 4 weeks old, please consider:
Thanks!
still evaluating proposed solution
function isJustBlured(time: number) { return time - (composerBluredTime ?? 0) <= 100; }
Isn't there any better approach rather than 100 timeout?
@situchan I can't find a better solution because when we open the context menu the composer is blurred before the context menu is opened.
@lschurr, @srikarparsi, @situchan Whoops! This issue is 2 days overdue. Let's get this updated quick!
Any update @situchan?
Not overdue
I think we're waiting for better solution without using timeout
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
@lschurr, @srikarparsi, @situchan Whoops! This issue is 2 days overdue. Let's get this updated quick!
Any update on this one @situchan? Are we waiting for new proposals?
Any update on this one @situchan? Are we waiting for new proposals?
yes
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
@lschurr, @srikarparsi, @situchan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
Awaiting more proposals
Composer box refocuses when copying link on web and desktop.
We call focus after the contextmenu modal closed
hideContextMenu(true, ReportActionComposeFocusManager.focus);
This solution does not meet the latest expected behavior; however, we can simply remove the ReportActionComposeFocusManager.focus
callback from all desired menu items in ContextMenuActions
if we do not want to re-focus on all platforms.
I doubt we can capture the focus state before opening the context menu.
change
src/pages/home/report/ContextMenu/ContextMenuActions.tsx
hideContextMenu(true, ReportActionComposeFocusManager.focus);
to:
hideContextMenu(true);
N/A
Could you review the recent proposal @situchan?
reviewing latest proposal
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
@wildan-m just to clarify: your proposal always not focus regardless of previously focused state, right?
@situchan yes, in case we want to change the behavior that way
Let's see if we can get more proposals which meet the agreed behavior.
@lschurr, @srikarparsi, @situchan Eep! 4 days overdue now. Issues have feelings too...
Still looking for proposals
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
Not overdue
Issue not reproducible during KI retests. (First week)
Hey @situchan - Are you able to reproduce this one still?
@lschurr, @srikarparsi, @situchan Eep! 4 days overdue now. Issues have feelings too...
still reproducible on v9.0.31-22
https://github.com/user-attachments/assets/ebdfcd8d-37cd-48dc-b3fa-3eef9b7d2880
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
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: 9.0.6-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: N/A Email or phone of affected tester (no customers): applausetester+en@applause.expensifail.com Issue reported by: Applause - Internal Team
Issue found when executing PR https://github.com/Expensify/App/pull/44399
Action Performed:
Expected Result:
User doesn't expect the composer to get refocused.
Actual Result:
The composer is refocused.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/78819774/04a02f66-9bc9-42f3-a9c9-c0ae026f953c
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @situchan