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

Remove old post components code and update tests #11397

Merged
merged 23 commits into from Jan 26, 2023

Conversation

nevyangelova
Copy link
Contributor

@nevyangelova nevyangelova commented Oct 19, 2022

Summary

Part of https://mattermost.atlassian.net/browse/MM-43162 is to remove unused old components code, adjust styles, fix unit tests, e2e tests. This PR will handle this

[x] - Removed old post components
[x] - Updated unit tests and snapshots

Ticket Link

https://mattermost.atlassian.net/browse/MM-43162

Related Pull Requests

#11127

Release Note

Removed all post components in favour of a unified approach

Copy link
Member

@hmhealey hmhealey left a comment

Choose a reason for hiding this comment

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

🎉

@nevyangelova nevyangelova requested a review from a team as a code owner December 6, 2022 17:53
@nevyangelova nevyangelova removed the request for review from a team December 6, 2022 17:54
@nevyangelova
Copy link
Contributor Author

/e2e-test

@mattermost-build
Copy link
Contributor

Successfully triggered E2E testing!
GitLab pipeline | Test dashboard

@yasserfaraazkhan
Copy link
Contributor

/update-branch

@yasserfaraazkhan
Copy link
Contributor

/e2e-test

@mattermost-build
Copy link
Contributor

Successfully triggered E2E testing!
GitLab pipeline | Test dashboard

@yasserfaraazkhan
Copy link
Contributor

/e2e-test

@mattermost-build
Copy link
Contributor

Successfully triggered E2E testing!
GitLab pipeline | Test dashboard

@yasserfaraazkhan
Copy link
Contributor

I saw 95% pass and pulled latest fixes from master,
if conflicts are too many, you can do git revert 7f98c00

@nevyangelova
Copy link
Contributor Author

/e2e-test

@mattermost-build
Copy link
Contributor

Successfully triggered E2E testing!
GitLab pipeline | Test dashboard

@nevyangelova nevyangelova merged commit 39c4cb3 into MM-43162 Jan 26, 2023
@nevyangelova nevyangelova deleted the remove-unused-post-code branch January 26, 2023 21:38
nevyangelova pushed a commit that referenced this pull request Jan 30, 2023
* Add new post to all places

* Linter

* fix reply bug

* pass missing props for current user id

* Fix props passign

* Fix linter

* UI bugs

* Fix UI bugs pt.1

* UI error

* Fix lint

* fix jump highlight

* PR comments

* remove console

* PR comments - DEV

* QA comments

* PR comments by Harrison and Zubair

* fix checks

* Add post reaction location

* Initial E2e fixes for post components (#11693)

* Initial fix of e2e test related to the post component update

* Fix linter

* add correct test ids

* Add extra ids

* final ids`

* Adding post ids to the post body

* Fix post editing in RHS and CENTER

* Fix rhs true for message with additional content

* remove redundant check for RHS + redundant function

* replace hardcoded isRHS

* Update second function replacing the post ID

* Correct id for div of post__body

* Fix data-testid position for search results

* isRHS should be true for search results too

* Hardcoded value for location

* post reaction type

* Fix null user profile in consecutive post

* fix linting error

* update check for search results item

* Bulk tests

* Types

* bulk number 2

* a11y errors

* Bulk fix

* show menu with emoji picker

Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro.local>
Co-authored-by: Pantelis Vratsalis <pvratsalis@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>

* Add aknowledgements and priority

* Adjust post acknowledgements

* QA comments

* Fix shortcut for emoji picker

* QA bugs

* Add new bot badge

* Fix test

* fix forwarding spec

* all e2e fixes

* fix QA bugs

* final fix

* Remove old post components code and update tests (#11397)

* Remove old post components code and update tests

* fix types

* fix test

* remove search result item

* fix rebase errors

* Rebase errors

Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro.local>

* Fixes after merge

* Fix scrolls spec

* FIx remaining tests and bugs

* fix saved posts

---------

Co-authored-by: Nevyana Angelova <nevyangelova@Nevyanas-MacBook-Pro.local>
Co-authored-by: Pantelis Vratsalis <pvratsalis@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
@amyblais amyblais added Changelog/Done Required changelog entry has been written Docs/Not Needed Does not require documentation labels Jan 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Changelog/Done Required changelog entry has been written Docs/Not Needed Does not require documentation release-note
Projects
None yet
7 participants