mattermost-mobile/app/screens/channel_info
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-21342 Fix leading zero on post by using react-intl by default and fallback to moment-timezone for unsupported locale (#3797) 2020-01-13 20:12:51 -03:00
channel_info.js [MM-20804] Add "Unarchive Channel" option to the channel info screen (#3663) 2020-02-26 21:02:28 -03:00
channel_info.test.js [MM-20804] Add "Unarchive Channel" option to the channel info screen (#3663) 2020-02-26 21:02:28 -03:00
channel_info_header.js Deps update (#3806) 2020-01-20 13:20:03 -03:00
channel_info_header.test.js MM-18829 Updated Channel Header SafeAreaView (#3370) 2019-10-11 22:14:07 -04:00
channel_info_row.js MM-18758 Fix channel info row to be toggleable or with an chevron (#3297) 2019-09-24 10:58:06 -04:00
index.js [MM-20804] Add "Unarchive Channel" option to the channel info screen (#3663) 2020-02-26 21:02:28 -03:00