Skip to content
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

MM-57565 - Set root id if it exists on attachment sync warning #600

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

sbishel
Copy link
Member

@sbishel sbishel commented Apr 16, 2024

Summary

Set the rootID for the new post to the existing posts root id. Result is if null, new post displays in center section and if a reply it will appear in the thread list.

Ticket Link

Fixes https://mattermost.atlassian.net/browse/MM-57565

Screenshot 2024-04-15 at 6 24 46 PM

@sbishel sbishel changed the title set root id if it exists MM-57565 - set root id if it exists Apr 16, 2024
@sbishel sbishel changed the title MM-57565 - set root id if it exists MM-57565 - Set root id if it exists on attachment sync warning Apr 16, 2024
@sbishel sbishel marked this pull request as ready for review April 16, 2024 01:26
@sbishel sbishel added the 2: Dev Review Requires review by a core committer label Apr 16, 2024
@sbishel sbishel added this to the v1.12 milestone Apr 16, 2024
Copy link
Member

@calebroseland calebroseland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is is necessary to remove the CreateAt?

@sbishel
Copy link
Member Author

sbishel commented Apr 16, 2024

@calebroseland

Is is necessary to remove the CreateAt?

Before removing the new post displayed before the origin in the threaded view.

Not sure why it was being set anyway. It should its own and correct createAt, shouldn't it?

Copy link
Member

@JulienTant JulienTant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good @sbishel

@sbishel sbishel added the QA/Deferred Agreement with QA that these changes will be tested post-merge label Apr 16, 2024
@sbishel
Copy link
Member Author

sbishel commented Apr 16, 2024

Will QA during bug bash

@sbishel sbishel merged commit 783364a into main Apr 16, 2024
7 checks passed
@sbishel sbishel deleted the MM-57565-reply-attachments branch April 16, 2024 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2: Dev Review Requires review by a core committer QA/Deferred Agreement with QA that these changes will be tested post-merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants