-
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
Auto assign when create a task in a DM #20501
Conversation
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.
Code looks good. Testing
Co-authored-by: Miroslav Stevanovic <97473779+0xmiroslav@users.noreply.github.com>
@0xmiroslav Updated your suggestion. |
remove Step 1. Login with Expensifail account, not necessary |
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.
Sorry forgot to submit these suggestions
Co-authored-by: Miroslav Stevanovic <97473779+0xmiroslav@users.noreply.github.com>
Co-authored-by: Miroslav Stevanovic <97473779+0xmiroslav@users.noreply.github.com>
Co-authored-by: Miroslav Stevanovic <97473779+0xmiroslav@users.noreply.github.com>
Co-authored-by: Miroslav Stevanovic <97473779+0xmiroslav@users.noreply.github.com>
I am also thinking about thread chat created from DM. Should we auto-assign there as well? |
@0xmiroslav I think It's necessary to access assign task |
Also what about sub task created from main task room? |
@0xmiroslav In my opinion, we shouldn't auto-assign in any child report. For example with thread chat, when the user create a new thread from DM, the participants of this thread has one user that is the user created the thread and you can auto-assign. But after another user in DM replies in this thread, the participant now contains both users, that makes auto-assign doesn't work and it's inconsistent. So I think we shouldn't auto-assign in any child report because that can be caused some regression or inconsistent bugs in the further and that is the reason I disabled it in |
I am inclined to it. If we enable this in various types of chats, logic will be more complex. |
While testing, I found weird bug (already happening on main): bug.mov |
Reviewer Checklist
Screenshots/VideosWebweb.movMobile Web - Chromemchrome.movMobile Web - Safarimsafari.movDesktopdesktop.moviOSios.movAndroidandroid.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.
@MariaHCD LGTM!
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! Just a few minor comments
Co-authored-by: Maria D'Costa <mariahcdcosta@gmail.com>
Co-authored-by: Maria D'Costa <mariahcdcosta@gmail.com>
Co-authored-by: Maria D'Costa <mariahcdcosta@gmail.com>
@MariaHCD thanks, updated your suggestion. |
✋ 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/MariaHCD in version: 1.3.28-0 🚀
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.3.28-5 🚀
|
Details
When creating a task in a DM, we want to auto-assign for a participant in this DM
Fixed Issues
$ #19048
PROPOSAL: #19048 (comment)
Tests
Offline tests
Same above
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)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
Web
Screencast.from.09-06-2023.16.00.13.webm
Mobile Web - Chrome
Record_2023-06-09-16-15-00.mp4
Mobile Web - Safari
original-DF30362D-19AC-4105-AD3C-92EA74C65AA6.1.mp4
Desktop
Screen.Recording.2023-06-09.at.17.24.01.mp4
iOS
Screen.Recording.2023-06-09.at.17.27.52.1.mov
Android
19048.mp4