-
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-07-05] [$1000] Web - Chat - Mention list doesn't display when enter special key: '_-+=|\;`~ before: #20401
Comments
Triggered auto assignment to @sonialiap ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.What is the root cause of that problem?In this PR: #19004 we don’t add some special keys ’_-=|;`~ in the SPECIAL_CHAR_OR_EMOJI and MENTION_REPLACER regex What changes do you think we should make in order to solve the problem?Add _-=|;`~ key to both SPECIAL_CHAR_OR_EMOJI and MENTION_REPLACER regex (don’t add + key because this key maybe exist in email) What alternative solutions did you explore? (Optional) |
Re-post the proposal for more detail ProposalPlease re-state the problem that we are trying to solve in this issue.Web - Chat - Mention list doesn't display when enter special key: '_-+=|;`~ before: What is the root cause of that problem?We could check this PR for more context. This PR misses some special keys In here
We are using this regex Line 1129 in 6e7f460
This regex doesn't include all special keys like '_-+=|;`~ so if we enter these keys before @ (to mention) or : (to display emoji), these keys will be included in the search word then no result found and the suggestion will not display I just checked on Slack if we enter some special key before @ or : and check whether the suggestion is displayed or not
What changes do you think we should make in order to solve the problem?We need to confirm that which special key stands before @ or : then we should show suggestions
we should add ResultScreen.Recording.2023-06-23.at.11.52.27.mov |
Reproducible 👍 |
Job added to Upwork: https://www.upwork.com/jobs/~018585a2ed09409031 |
Current assignee @sonialiap is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 ( |
Triggered auto assignment to @PauloGasparSv ( |
@abdulrahuman5196 we have a couple of proposals for this one already, have you had a chance to review them. Do either of them look good to start working on a solution? |
yes will do today |
I think the question here by @dukenv0307 is something we should think about before picking up a solution
If we start allowing characters before '@', how do we plan to different for emails? If we think '+' as valid before character of mention then the emails will be clashing with it for eg 'abdul+@gmail.com', mentions would come in this case if I try to input email Id. |
@PauloGasparSv @sonialiap Ping on the above |
Thks for bringing this up @abdulrahuman5196. IMO the behaviour we have right now is great and I don't think we should change that. Let's wait for @sonialiap's thoughts on this too! Btw, I think we almost discussed if this was worth solving in the first place but then we created the GH anyways. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Oh, I just realized that @sonialiap is OOO until EOW IMO this doesn't really need to be discussed further and we should just Do Nothing because there is no real reason for the expected results. |
@PauloGasparSv So will we add/accept these characters |
Yes to: So the list of accepted should be the following IMO: And let's not add these characters there were discussed here at some point: |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Agree with @PauloGasparSv suggestion and I also update proposal |
@PauloGasparSv I agree we should add a lower subset of character which don't clash with existing experiences. Even if people want to add more we can do it in future if required. (Which i highly doubt will happen) |
@dukenv0307 In the proposed changes, Since this is a regex change, kindly mention how you would change the regex to make this working.
This doesn't provide complete information on how you would like to change the regex. |
@abdulrahuman5196 Thanks. I just update my proposal for more detail |
@dukenv0307 's proposal here #20401 (comment) looks good and works well. We can add characters based on @PauloGasparSv 's comment here #20401 (comment) 🎀👀🎀 cc: @PauloGasparSv |
Nice, thks for all the help on defining the scope of this change @abdulrahuman5196 and @dukenv0307! Assigning @dukenv0307 here |
📣 @dukenv0307 You have been assigned to this job by @PauloGasparSv! |
@abdulrahuman5196 The PR is ready for review |
🎯 ⚡️ Woah @abdulrahuman5196 / @dukenv0307, 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.33-4 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-07-05. 🎊 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.
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:
|
BZ checklist
Not a regression. The characters in discussion was not previously added.
No. This is a minor case and wouldn't we beneficial to add a regression test. |
@dukenv0307 offer sent for report + fix (+bonus) - paid ✔️ |
@sonialiap accepted the offer |
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:
Expected Result:
The mention suggestion display
Actual Result:
The mention suggestion doesn't display
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.24.4
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
Expensify/Expensify Issue URL:
Issue reported by: @dukenv0307
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1685529049518369
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: