-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Enable creating tasks with short-mentions using the create task commands #39475
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
✋ 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]*)/; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.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