mattermost-mobile/app/components/post_body
Allen Lai 3e2fc1bc67
[MM-20804] Add "Unarchive Channel" option to the channel info screen (#3663)
* undelete

* fix build

* change let to const

* ran make i18n

* small refactor

* using canUndelete var

* added render message

* fix bug

* sync

* remove duplicate

* fix test

* add unit test for unarchive channel button render

* fix unit test for unarchive channel

* delete space

* change logic in undelete

* add server minimum for feature

* fix renderunarchive test with adding props variables

* snpashot wasnt matching. fixed by adding to base prop

* return early if false

* change position and color for unarchive button

* refactor handle delete undelete leave

* move serverversion call up

* undelete to unarchive

* remove unnecessary seperator

* hash

* Update app/screens/channel_info/index.js

Co-Authored-By: Elias Nahum <nahumhbl@gmail.com>

* delete canuseunarchive feature

* add test to render sys message

* remote 'w' in package.json

* add trailing comma

* update redux hash

* whitespace in test

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-02-26 21:02:28 -03:00
..
__snapshots__ [MM-20804] Add "Unarchive Channel" option to the channel info screen (#3663) 2020-02-26 21:02:28 -03:00
index.js [MM-17560] Await dismissAllModals and popToRoot prior to calling showSearchModal (#3298) 2019-09-25 15:23:45 -07:00
index.test.js [MM-18325] Properly determine if channel is archived (#3289) 2019-09-24 19:39:28 +03:00
post_body.js Performance improvements (#3911) 2020-02-17 21:18:09 -07:00
post_body.test.js Performance improvements (#3911) 2020-02-17 21:18:09 -07:00
system_message_helpers.js [MM-20804] Add "Unarchive Channel" option to the channel info screen (#3663) 2020-02-26 21:02:28 -03:00
system_message_helpers.test.js [MM-20804] Add "Unarchive Channel" option to the channel info screen (#3663) 2020-02-26 21:02:28 -03:00