Enable creating tasks with short-mentions using the create task commands#39475
Conversation
…nd in the comment
|
@eVoloshchak Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
…-with-short-mention-using-comments-commands
|
A kindly reminder on this @eVoloshchak . I also noticed the following bug while working on this issue: Screen.Recording.2024-04-12.at.11.52.19.PM.movthe bug is reproducible on staging and prod. not sure if this should be addressed in this issue or not |
Reviewer Checklist
Screenshots/VideosAndroid: Native24-04-15-18-52-30.mp4Android: mWeb ChromeScreen.Recording.2024-04-15.at.18.47.41.moviOS: NativeScreen.Recording.2024-04-15.at.18.31.45.moviOS: mWeb SafariScreen.Recording.2024-04-15.at.18.34.56.movMacOS: Chrome / SafariScreen.Recording.2024-04-15.at.18.28.29.movMacOS: DesktopScreen.Recording.2024-04-15.at.18.57.19.mov |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/MonilBhavsar in version: 1.4.63-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.63-21 🚀
|
| * Group 3: Title is remaining characters | ||
| */ | ||
| const taskRegex = /^\[\]\s+(?:@([^\s@]+@[\w.-]+\.[a-zA-Z]{2,}))?\s*([\s\S]*)/; | ||
| const taskRegex = /^\[\]\s+(?:@([^\s@]+(?:@\w+\.\w+)?))?\s*([\s\S]*)/; |
Details
Fixed Issues
$ #38424
PROPOSAL: #38424 (comment)
Tests
[]pathway in the following methods:a. Assignee from the same domain:
Type [] @<email selected from suggestion list (dropped domain)> <task_name> and send to chat.
Type [] @ <task_name> and send to chat.
b. Assignee using contact method
Type [] @ <task_name> and send to chat.
Type [] @<contact number followed by @expensify.sms> <task_name> and send to chat.
c. Assignee with no prior chat from public domain (Gmail)
Type [] @ <task_name> and send to chat.
Offline tests
[]pathway in the following methods:a. Assignee from the same domain:
Type [] @<email selected from suggestion list (dropped domain)> <task_name> and send to chat.
Type [] @ <task_name> and send to chat.
b. Assignee using contact method
Type [] @ <task_name> and send to chat.
Type [] @<contact number followed by @expensify.sms> <task_name> and send to chat.
c. Assignee with no prior chat from public domain (Gmail)
Type [] @ <task_name> and send to chat.
QA Steps
[]pathway in the following methods:a. Assignee from the same domain:
Type [] @<email selected from suggestion list (dropped domain)> <task_name> and send to chat.
Type [] @ <task_name> and send to chat.
b. Assignee using contact method
Type [] @ <task_name> and send to chat.
Type [] @<contact number followed by @expensify.sms> <task_name> and send to chat.
c. Assignee with no prior chat from public domain (Gmail)
Type [] @ <task_name> and send to chat.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
android.mov
Android: mWeb Chrome
mweb.chrome.mov
iOS: Native
ios.mov
iOS: mWeb Safari
mweb.safari.mov
MacOS: Chrome / Safari
chrome.mov
MacOS: Desktop
desktop.mov
mweb.safari.mov