-
Notifications
You must be signed in to change notification settings - Fork 6
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
fix: Properly updating draft message [WPB-14271] 🍒 #3105
fix: Properly updating draft message [WPB-14271] 🍒 #3105
Conversation
Quality Gate passedIssues Measures |
Test Results3 277 tests +6 3 170 ✅ +6 4m 42s ⏱️ +22s Results for commit bf2e7db. ± Comparison against base commit 837f7ea. This pull request removes 1 and adds 7 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
Bencher Report
Click to view all benchmark results
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #3105 +/- ##
===========================================
- Coverage 54.21% 54.20% -0.01%
===========================================
Files 1196 1196
Lines 35596 35596
Branches 3625 3625
===========================================
- Hits 19297 19296 -1
Misses 14900 14900
- Partials 1399 1400 +1 see 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Datadog ReportBranch report: ✅ 0 Failed, 3170 Passed, 107 Skipped, 33.79s Total Time |
This PR was automatically cherry-picked based on the following PR:
Original PR description:
https://wearezeta.atlassian.net/browse/WPB-14271
What's new in this PR?
Issues
We could not get rid of quoted or edited message from draft
Causes (Optional)
We were trying to update draft values to null when removing quoted or edited messages which was failing on the database query check, so in fact we're never updating actual value to a default null one
Solutions
Changed
!=
check in database toIS NOT
- comparing value andnull
with!=
is returningNULL
nottrue
orfalse
if Im not mistaken. I've also added tests to cover other draft fields updatePR Post Submission Checklist for internal contributors (Optional)
PR Post Merge Checklist for internal contributors
References
feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764
.