Skip to content
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 2023-11-02] [$500] Chat - On revisiting from room to chat, the cursor focus is lost in chat section. #29001

Closed
5 of 6 tasks
lanitochka17 opened this issue Oct 6, 2023 · 31 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor

Comments

@lanitochka17
Copy link

lanitochka17 commented Oct 6, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Issue found when executing PR #28646

Action Performed:

  1. Launch app
  2. Tap fab
  3. Tap send message
  4. Note the cursor focus is present in chat section
  5. Tap Room and note the cursor focus is present
  6. Again tap chat and note the cursor focus is lost
  7. Tap Room and note the cursor focus is present
  8. Tap chat and note the cursor focus

Expected Result:

On revisiting chat section from chat to room and room to chat, the cursor focus must not be lost in chat section

Actual Result:

On revisiting chat section from chat to room and room to chat, the cursor focus is lost in chat section

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.79-3

Reproducible in staging?: Yes

Reproducible in production?: Yes

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

Bug6227517_1696599963246.an28646.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01a29e7d185118a120
  • Upwork Job ID: 1711319864114917376
  • Last Price Increase: 2023-10-09
  • Automatic offers:
    • shubham1206agra | Contributor | 27326383
Issue OwnerCurrent Issue Owner: @allroundexperts
@lanitochka17 lanitochka17 added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Oct 6, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 6, 2023

Triggered auto assignment to @laurenreidexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot
Copy link

melvin-bot bot commented Oct 6, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@melvin-bot melvin-bot bot added the Overdue label Oct 9, 2023
@laurenreidexpensify laurenreidexpensify added the External Added to denote the issue can be worked on by a contributor label Oct 9, 2023
@melvin-bot melvin-bot bot changed the title Chat - On revisiting from room to chat, the cursor focus is lost in chat section. [$500] Chat - On revisiting from room to chat, the cursor focus is lost in chat section. Oct 9, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 9, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01a29e7d185118a120

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Oct 9, 2023
@laurenreidexpensify
Copy link
Contributor

Not overdue Melv

@melvin-bot
Copy link

melvin-bot bot commented Oct 9, 2023

Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts (External)

@melvin-bot melvin-bot bot removed the Overdue label Oct 9, 2023
@shubham1206agra
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue

Chat - On revisiting from room to chat, the cursor focus is lost in chat section

What is the root cause of that problem?

This is due to missing useDelayedInputFocus(roomNameInputRef, 600); in NewChatPage.js, which is present in WorkspaceNewRoomPage.js, which delays the focus to 600ms.

What changes do you think we should make in order to solve the problem?

Add useDelayedInputFocus(optionSelectorRef, 600); to the NewChatPage component so that it can refocus after 600 ms.

What alternative solutions did you explore? (Optional)

@shubham1206agra
Copy link
Contributor

Result

Screen.Recording.2023-10-09.at.5.23.01.PM.mov

@melvin-bot melvin-bot bot added the Overdue label Oct 11, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 12, 2023

@allroundexperts, @laurenreidexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@laurenreidexpensify
Copy link
Contributor

@allroundexperts bump ^^

@melvin-bot melvin-bot bot removed the Overdue label Oct 13, 2023
@allroundexperts
Copy link
Contributor

@shubham1206agra's proposal looks good to me.

🎀 👀 🎀 C+ reviewed

@melvin-bot
Copy link

melvin-bot bot commented Oct 13, 2023

Triggered auto assignment to @grgia, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@melvin-bot melvin-bot bot added the Overdue label Oct 16, 2023
@laurenreidexpensify
Copy link
Contributor

@grgia bump for assignment ^^

@melvin-bot melvin-bot bot removed the Overdue label Oct 16, 2023
@mvtglobally
Copy link

Issue not reproducible during KI retests. (First week)

@shubham1206agra
Copy link
Contributor

This is still reproducible

@laurenreidexpensify
Copy link
Contributor

@allroundexperts can you try reproduce and confirm? thanks

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Oct 23, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 23, 2023

📣 @allroundexperts Please request via NewDot manual requests for the Reviewer role ($500)

@melvin-bot
Copy link

melvin-bot bot commented Oct 23, 2023

📣 @shubham1206agra 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@melvin-bot melvin-bot bot removed the Overdue label Oct 23, 2023
@grgia
Copy link
Contributor

grgia commented Oct 23, 2023

All yours @shubham1206agra !

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Oct 23, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 24, 2023

🎯 ⚡️ Woah @allroundexperts / @shubham1206agra / @shubham1206agra, great job pushing this forwards! ⚡️

The pull request got merged within 3 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉

  • when @shubham1206agra got assigned: 2023-10-23 10:10:17 Z
  • when the PR got merged: 2023-10-24 11:18:58 UTC

On to the next one 🚀

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Oct 26, 2023
@melvin-bot melvin-bot bot changed the title [$500] Chat - On revisiting from room to chat, the cursor focus is lost in chat section. [HOLD for payment 2023-11-02] [$500] Chat - On revisiting from room to chat, the cursor focus is lost in chat section. Oct 26, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 26, 2023

Reviewing label has been removed, please complete the "BugZero Checklist".

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Oct 26, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 26, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.91-8 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 2023-11-02. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

For reference, here are some details about the assignees on this issue:

@melvin-bot
Copy link

melvin-bot bot commented Oct 26, 2023

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:

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Nov 2, 2023
@laurenreidexpensify
Copy link
Contributor

Payment Summary -

  1. External issue reporter - Applause N/A
  2. Contributor that fixed the issue - @shubham1206agra $500 + $250 - payment issued in Upwork
  3. Contributor+ that helped on the issue and/or PR - @allroundexperts $500 + $250 - please send a manual request in Newdot

@laurenreidexpensify
Copy link
Contributor

waiting on @allroundexperts to complete check list and then we can close

@melvin-bot melvin-bot bot added the Overdue label Nov 6, 2023
Copy link

melvin-bot bot commented Nov 6, 2023

@allroundexperts, @grgia, @shubham1206agra, @laurenreidexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@grgia
Copy link
Contributor

grgia commented Nov 6, 2023

bump on check list @allroundexperts

@allroundexperts
Copy link
Contributor

Checklist

  1. I was not able to pinpoint the exact PR which caused this. I think we created a new hook and forgot to add it to this specific component.
  2. N/A
  3. N/A
  4. A regression test would be a good to have.

Regression test

  1. Launch app -> click on fab -> select send message.
  2. Click on 'Room' and then click on 'Chat' tab again.
  3. Verify that the cursor focus is present on the search input.

Do we 👍 or 👎 ?

@JmillsExpensify
Copy link

$750 payment approved for @allroundexperts based on this summary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests

7 participants