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-11-04] [$250] Bug: No focus indicator at edit composer reported by @Puneet-here #11728

Closed
kavimuru opened this issue Oct 11, 2022 · 24 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 Improvement Item broken or needs improvement.

Comments

@kavimuru
Copy link

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 any chat > Send a message
  2. Edit

Expected Result:

There should be a focus indicator (blue border) like our all other fields

Actual Result:

There's no focus indicator

Workaround:

unknown

Platform:

Where is this issue occurring?

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

Version Number: 1.2.12-3
Reproducible in staging?: y
Reproducible in production?: y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:

Recording.670.mp4

Screenshot 2022-10-11 at 8 13 33 PM

Expensify/Expensify Issue URL:
Issue reported by: @Puneet-here
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1665499439983919

View all open jobs on GitHub

@kavimuru kavimuru added AutoAssignerTriage Auto assign issues for triage to an available triage team member Daily KSv2 labels Oct 11, 2022
@melvin-bot
Copy link

melvin-bot bot commented Oct 11, 2022

Triggered auto assignment to @maddylewis (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

@melvin-bot melvin-bot bot removed the AutoAssignerTriage Auto assign issues for triage to an available triage team member label Oct 11, 2022
@Puneet-here
Copy link
Contributor

Proposal

We need to add a state "isFocused" we will set it to true at onFocus and false at onBlur prop of Composer

onFocus={() => {
ReportScrollManager.scrollToIndex({animated: true, index: this.props.index}, true);
toggleReportActionComposeView(false, VirtualKeyboard.shouldAssumeIsOpen());
}}
onBlur={(event) => {
// Return to prevent re-render when save/cancel button is pressed which cancels the onPress event by re-rendering
if (_.contains([this.saveButtonID, this.cancelButtonID], lodashGet(event, 'nativeEvent.relatedTarget.id'))) {
return;
}

we need to use isFocused like below to change border color
this.state.isFocused ? styles.chatItemComposeBoxFocusedColor : styles.chatItemComposeBoxColor

<View style={[styles.chatItemComposeBox, styles.flexRow, styles.chatItemComposeBoxColor]}>

@maddylewis maddylewis removed their assignment Oct 14, 2022
@melvin-bot
Copy link

melvin-bot bot commented Oct 14, 2022

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

@melvin-bot
Copy link

melvin-bot bot commented Oct 17, 2022

@pecanoro Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot melvin-bot bot added the Overdue label Oct 17, 2022
@pecanoro
Copy link
Contributor

I think this has worked this way forever so I am not sure if it's worth fixing it, but I am going to reach out to the rest of the team and I will come back to export it or close it.

@melvin-bot melvin-bot bot removed the Overdue label Oct 18, 2022
@pecanoro
Copy link
Contributor

Ok, we agreed we should fix it, so assigning external1

@pecanoro pecanoro removed their assignment Oct 19, 2022
@pecanoro pecanoro added Improvement Item broken or needs improvement. External Added to denote the issue can be worked on by a contributor labels Oct 19, 2022
@melvin-bot
Copy link

melvin-bot bot commented Oct 19, 2022

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

@melvin-bot
Copy link

melvin-bot bot commented Oct 19, 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 19, 2022
@melvin-bot
Copy link

melvin-bot bot commented Oct 19, 2022

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

@melvin-bot melvin-bot bot changed the title Bug: No focus indicator at edit composer reported by @Puneet-here [$250] Bug: No focus indicator at edit composer reported by @Puneet-here Oct 19, 2022
@parasharrajat
Copy link
Member

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

cc: @ctkochan22

🎀 👀 🎀 C+ reviewed

@ctkochan22
Copy link
Contributor

Looks good @jliexpensify lets hire @Puneet-here

@jayeshmangwani
Copy link
Contributor

@kavimuru I reported this 3 months ago, can you please check this once?

@puneetlath puneetlath added the Bug Something is broken. Auto assigns a BugZero manager. label Oct 19, 2022
@jliexpensify
Copy link
Contributor

@parasharrajat - I think you could make a call here, but it feels like @jayeshmangwani should get the Reporting fee, and @Puneet-here should get the PR fee.

@parasharrajat
Copy link
Member

Seems so.

@Puneet-here
Copy link
Contributor

Yes, It's fine by me, since it was a dupe.

@jliexpensify
Copy link
Contributor

Posted:

Everyone has been invited, thanks!

@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 19, 2022
@melvin-bot
Copy link

melvin-bot bot commented Oct 19, 2022

📣 @Puneet-here You have been assigned to this job by @jliexpensify!
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 📖

@Puneet-here
Copy link
Contributor

Sorry for the delay. I was waiting for my another PR to get merged so that we don't get conflicts. I have raised the PR now.

@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 28, 2022
@melvin-bot melvin-bot bot changed the title [$250] Bug: No focus indicator at edit composer reported by @Puneet-here [HOLD for payment 2022-11-04] [$250] Bug: No focus indicator at edit composer reported by @Puneet-here Oct 28, 2022
@melvin-bot
Copy link

melvin-bot bot commented Oct 28, 2022

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.20-3 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-11-04. 🎊

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Nov 3, 2022
@ctkochan22
Copy link
Contributor

Not overdue

@melvin-bot melvin-bot bot removed the Overdue label Nov 4, 2022
@jliexpensify
Copy link
Contributor

Good to pay, please accept your offers. @parasharrajat also, please accept the invite, cheers!

@jliexpensify
Copy link
Contributor

Paid Puneet and Jayesh (+ contracts ended), will close once Rajat has accepted and is paid.

@parasharrajat
Copy link
Member

@jliexpensify Done.

@jliexpensify
Copy link
Contributor

All done and job closed. Thanks everyone!

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 Improvement Item broken or needs improvement.
Projects
None yet
Development

No branches or pull requests

9 participants