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 2022-10-20] [$250] New Room - No focus on New Room composed box after click New Room #11507

Closed
kbecciv opened this issue Oct 1, 2022 · 30 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 Engineering External Added to denote the issue can be worked on by a contributor

Comments

@kbecciv
Copy link

kbecciv commented Oct 1, 2022

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


Action Performed:

  1. Go to staging.new.expensify.com
  2. Log in with your account
  3. Click on Fub menu
  4. Click New Room

Expected Result:

There is a focus on New Room composed box after click New Room

Actual Result:

No focus on New Room composed box after click New Room

Workaround:

Unknown

Platform:

Where is this issue occurring?

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Version Number: 1.2.11.1

Reproducible in staging?: Yes

Reproducible in production?: Yes

Email or phone of affected tester (no customers): any

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

Bug5757836_Screen_Recording_20221001-070735_New_Expensify.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Infernal Team

Slack conversation:

View all open jobs on GitHub

@melvin-bot
Copy link

melvin-bot bot commented Oct 1, 2022

Triggered auto assignment to @Beamanator (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@Puneet-here
Copy link
Contributor

Proposal

Create a function focusRoomNameInput and bind it

focusRoomNameInput() {
        if (!this.newRoomInputRef) {
            return;
        }

        this.newRoomInputRef.focus();
}

Use onTransitionEnd prop in ScreenWrapper and pass focusRoomNameInput

Use ref at RoomNameInput like below


ref={el => this.newRoomInputRef = el}

@Beamanator Beamanator added the External Added to denote the issue can be worked on by a contributor label Oct 3, 2022
@melvin-bot
Copy link

melvin-bot bot commented Oct 3, 2022

Triggered auto assignment to @NicMendonca (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

@Beamanator
Copy link
Contributor

Looks like a good external issue 👍

@melvin-bot
Copy link

melvin-bot bot commented Oct 3, 2022

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

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

melvin-bot bot commented Oct 3, 2022

Current assignee @Beamanator is eligible for the External assigner, not assigning anyone new.

@melvin-bot melvin-bot bot changed the title New Room - No focus on New Room composed box after click New Room [$250] New Room - No focus on New Room composed box after click New Room Oct 3, 2022
@parasharrajat
Copy link
Member

Click on Fub menu

FAB.

No one noticed it during triaging. 😱

@Puneet-here 's proposal looking good to me.

cc: @Beamanator

🎀 👀 🎀 C+ reviewed

@Beamanator
Copy link
Contributor

Makes sense to me! Idk how this was missed during triage 🤷

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Help Wanted Apply this label when an issue is open to proposals by contributors Daily KSv2 labels Oct 3, 2022
@melvin-bot
Copy link

melvin-bot bot commented Oct 3, 2022

📣 @Puneet-here You have been assigned to this job by @Beamanator!
Please apply to this job in Upwork 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
Copy link

melvin-bot bot commented Oct 4, 2022

⚠️ Looks like this issue was linked to a possible regression on PRODUCTION here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a production regression has occurred a Root Cause Analysis is required. Please follow the instructions here.

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.

@NicMendonca
Copy link
Contributor

Not overdue, latest PR update here

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Overdue Weekly KSv2 labels Oct 11, 2022
@melvin-bot
Copy link

melvin-bot bot commented Oct 13, 2022

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.13-5 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 2022-10-20. 🎊

@aimane-chnaif
Copy link
Contributor

mobile-safari.mov

The solution doesn't work on mobile safari. Room Name field is blue outlined but keyboard is not showing unless user focus manually.

@parasharrajat
Copy link
Member

Maybe this is happening due to safari browser versions. What is your version of IOS and safari? and @Puneet-here What is yours?

@aimane-chnaif
Copy link
Contributor

Maybe this is happening due to safari browser versions. What is your version of IOS and safari? and @Puneet-here What is yours?

16.0
The video @Puneet-here attached in PR is when Connect Hardware Keyboard enabled in simulator, so not able to reproduce.
I think we need to apply this to all PRs unless testing with physical device (maybe update description in PR template)

@parasharrajat
Copy link
Member

Let me test it.

@Puneet-here
Copy link
Contributor

It's working for me. I am on ios 16.0

@aimane-chnaif
Copy link
Contributor

It's working for me. I am on ios 16.0

It would be good to share working video with keyboard opening on mobile safari

@Puneet-here
Copy link
Contributor

Screen.Recording.2022-10-14.at.5.18.08.PM.mov

@aimane-chnaif
Copy link
Contributor

Hmm, that's strange.
@parasharrajat tests well on your side?

I tested on iPad physical device
demo: https://drive.google.com/file/d/1smxXgpEu6qRBayQrann3l0fIhyml5UBN/view?usp=sharing

ipad model

@parasharrajat
Copy link
Member

Unfortunately, I currently don't own an iPhone(looking to buy a new one soon) and use an emulator.

The focus was working for me on iOS 15 as well(simulator). let me ask someone to test it on their device.

@parasharrajat
Copy link
Member

If this proves the differences between simulators and real devices, then I will discuss this internally.

@gadhiyamanan
Copy link
Contributor

not working on ios 16 for me . might be related to this slack conversation

NOTE: keyboard does not open on new chat or new group for me

IMG_0232.mov

@thesahindia
Copy link
Member

We have a similar issue for some other pages( #11089 )

@parasharrajat
Copy link
Member

Is anyone interested to suggest a solution that works on both real devices and simulators? Then I will be able to analyze this and propose a general process to tackle such issues.

Note: this is a personal request, I do not guarantee any compensation for that.

@mvtglobally
Copy link

Issue not reproducible during KI retests. (First week)

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Oct 19, 2022
@puneetlath puneetlath added the Bug Something is broken. Auto assigns a BugZero manager. label Oct 19, 2022
@melvin-bot melvin-bot bot added the Overdue label Oct 21, 2022
@NicMendonca
Copy link
Contributor

NicMendonca commented Oct 21, 2022

@Puneet-here @parasharrajat can you please accept the job offer when you get the chance?

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Oct 21, 2022
@Beamanator
Copy link
Contributor

@parasharrajat are we good to issue payment for this or do you think it needs to be delayed a bit?

@melvin-bot melvin-bot bot removed the Overdue label Oct 24, 2022
@parasharrajat
Copy link
Member

We can release the payment. No need to delay.

@NicMendonca
Copy link
Contributor

@parasharrajat @Puneet-here paid, thanks!

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 Engineering External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests

10 participants