-
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
[HOLD for payment 2023-10-30] [$500] Chat - Enter to save display name triggers mention suggestion #29351
Comments
Job added to Upwork: https://www.upwork.com/jobs/~019fa1819aae529647 |
Triggered auto assignment to @conorpendergrast ( |
Bug0 Triage Checklist (Main S/O)
|
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.App triggers mention suggestion on enter to save display name What is the root cause of that problem?Since the MentionSuggestions is still not unmount we are able to contact him What changes do you think we should make in order to solve the problem?I think the best way to fix it add isFocused for MentionSuggestions to make sure that MentionSuggestions will never be active while it is not in focus and this solution should not cause any regression We can add
And then update this line like
App/src/pages/home/report/ReportActionCompose/SuggestionMention.js Lines 270 to 272 in b820046
What alternative solutions did you explore? (Optional)NA |
ProposalPlease re-state the problem that we are trying to solve in this issue.Updating profile data triggers mentions suggestion. What is the root cause of that problem?Actually pressing App/src/pages/home/report/ReportActionCompose/SuggestionMention.js Lines 182 to 233 in 89ac222
What changes do you think we should make in order to solve the problem?I think the best approach is to prevent suggestion from displaying when composer is not focused. We can achieve this by passing
And pass it to SuggestionMention component from Suggestions here:
We can either add condition to here(I prefer this one since it prevents complicated calculations too)
or here
What alternative solutions did you explore? (Optional) |
@ZhenjaHorbach Thanks for your proposal but using navigation focus here will still allow the suggestions menu to be opened by changing the display name from another window. As far as I can see the conditions for displaying the suggestions menu should be: The composer is focused and @ is entered. So I think @alitoshmatov's proposal is the way to go here. 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @deetergp, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@deetergp, @conorpendergrast, @Ollyws Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@deetergp Bump on the proposal review please! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
I agree with @Ollyws, let's go with @alitoshmatov's very clear proposal. 👍 |
📣 @Ollyws 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @alitoshmatov 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @dhanashree-sawant 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
PR is ready - #29951 |
🎯 ⚡️ Woah @Ollyws / @alitoshmatov, 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 🎉
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.88-11 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-10-30. 🎊 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.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
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:
|
BugZero Checklist:
https://github.com/Expensify/App/pull/27327/files#r1375955336
N/A
I don't think a regression test would be helpful here as it's a very edge case scenario that doesn't affect the flow in any meaningful way. |
Payouts due:
Eligible for 50% #urgency bonus? Yes Upwork job is here. All done, thanks everyone |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.3.80.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:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1696919926668389
Action Performed:
Expected Result:
App should not trigger mention suggestion on enter to save display name
Actual Result:
App triggers mention suggestion on enter to save display name
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
windows.chrome.enter.to.save.triggers.mention.mp4
mac.chrome.enter.to.save.display.name.triggers.mention.mov
MacOS: Desktop
mac.desktop.enter.to.save.display.name.triggers.mention.mov
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: