Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

MM-45494: Edit message history #11555

Closed
wants to merge 145 commits into from
Closed

Conversation

AshishDhama
Copy link
Contributor

Summary

This PR introduces a new feature for users to

  • see the edit history of their edited messages
  • restore an old version

Ticket Link

Fixes mattermost/mattermost#20864
JIRA: https://mattermost.atlassian.net/browse/MM-45494

Related Pull Requests

Screenshots

Screen.Recording.2022-09-11.at.14.48.46.mov

Release Note

Give ability to users to see the history of edited messages and restore an old version with current version.

@matthewbirtch matthewbirtch added the Setup Cloud Test Server Setup a test server using Mattermost Cloud label Jan 27, 2023
@AshishDhama
Copy link
Contributor Author

/e2e-test

@mattermost-build
Copy link
Contributor

The command /e2e-test requires all PR checks to pass.

@AshishDhama
Copy link
Contributor Author

/e2e-test

@mattermost-build
Copy link
Contributor

The command /e2e-test requires all PR checks to pass.

@AshishDhama
Copy link
Contributor Author

/update-branch

@jgilliam17
Copy link
Contributor

/e2e-test

@mattermost-build
Copy link
Contributor

Successfully triggered E2E testing!
GitLab pipeline | Test dashboard

@jgilliam17
Copy link
Contributor

Thanks @sinansonmez
E2E report - looks good, no PR related failures when compared to master
2 tests failing due to #user-profile-popover, also fail on other prs. I'll create a follow up ticket for that and link here if you'd like to pick it up
Help Wanted ticket created: https://mattermost.atlassian.net/browse/MM-50295
Screen Shot 2023-02-02 at 3 49 54 PM
Screen Shot 2023-02-02 at 4 19 32 PM

@sinansonmez
Copy link
Contributor

sinansonmez commented Feb 2, 2023

Thanks @jgilliam17 I commented on the issue to assign it to myself.

I suppose, after your final checks, my 2 PRs (mattermost/mattermost#20945 and #11069) are ready to be merged.

@jgilliam17 jgilliam17 self-requested a review February 2, 2023 23:43
@jgilliam17
Copy link
Contributor

Thanks for picking up another Help Wanted ticket @sinansonmez
Can you please rebase branch with master and fix conflicts.
@AshishDhama please let me know if anything else needs to be done before merge of all 3 PRs? Thanks 🙂

@sinansonmez
Copy link
Contributor

Thanks @jgilliam17 i just updated branches and fixed conflicts in my PRs. Ashish just need to pull the changes

Copy link
Contributor

@jgilliam17 jgilliam17 left a comment

Choose a reason for hiding this comment

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

Suggesting test case ID

});
});

it('MM-TXXX_1 Show and restore older versions of a message', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
it('MM-TXXX_1 Show and restore older versions of a message', () => {
it('MM-T5381_1 Show and restore older versions of a message', () => {

});
});

it('MM-TXXX_2 Show, restore older versions of a message and click undo in toast', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
it('MM-TXXX_2 Show, restore older versions of a message and click undo in toast', () => {
it('MM-T5381_2 Show, restore older versions of a message and click undo in toast', () => {

});
});

it('MM-TXXX_3 Edit history should not be available when user lacks edit own posts permissions', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
it('MM-TXXX_3 Edit history should not be available when user lacks edit own posts permissions', () => {
it('MM-T5381_3 Edit history should not be available when user lacks edit own posts permissions', () => {

@AshishDhama
Copy link
Contributor Author

closing this in favour of original

@AshishDhama AshishDhama closed this Feb 6, 2023
@mattermost-build mattermost-build removed the Setup Cloud Test Server Setup a test server using Mattermost Cloud label Feb 6, 2023
@mm-cloud-bot
Copy link

Test server destroyed

1 similar comment
@mm-cloud-bot
Copy link

Test server destroyed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to view message edit history and restore previous versions
7 participants