Hossein Ahmadian-Yazdi
b6eb3b9349
[MM-23158] Group Mentions & Invites - Display group mentions in suggestions list in the main channel textbox ( #4118 )
...
* groups in group mention
* fix sorting issues
* address PR comments
* fix tests
* Update groups.ts
* fix nock
* fix translations
* Adding test
* fix linting
* update redux functions
* Add license check
* adddress PR comments
* remove lodash import
* fix lint problems
* revert package.json changes
* Address PR comments
* address PR comments
* fix naming
* address PR comments
* address PR comments
* Address comments found in second PR
* getAllGroups updated
* address PR comments
* Update app/mm-redux/utils/group_utils.ts
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* revert change
* remove unneeded actions
* Use correct server version
* MM-26631: Fix order of group displaying
* MM-26633: Fix group mentions not showing up in group constrained team
* MM-26636: Group mentions not updating when role updates
* MM-26637: Group name not updating right away
* Address PR comments
* TRY AND catch
* address PR comments
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-07-08 07:31:58 -04:00
Jesús Espino
6b6a685909
Using new getKnownUsers api to cleanup the users on leave channel ( #4220 )
...
* Using new getKnownUsers api to cleanup the users on leave channel
* Fixing tests
* Addressing PR comments
* Removing unnused variables
* Fixing proptypes annotation
* Addressing PR review comments
* Fixing minimun version check
* Changing the import to use
* Adding tests for version check
* Addressing PR review comments
* Small change to no change accidentaly the previous behavior
* Adding small fix proposed by Elias
2020-05-11 13:19:38 -03:00
Miguel Alatzar
ece9b6f1d9
[MM-22671] [MM-22935] Fetch posts for unread channels on loadChannelsForTeam ( #4078 )
...
* Fetch posts for unread channels on loadChannelsForTeam
* Add unit tests
* Remove unneeded setRetryFailed and getState
* Update getChannelSinceValue comment
* Move to post.js and pass in channels and channelMembers
* Exclude current channel
* Address PR review comments
* Fix import
* Fix mm-redux references
2020-03-31 18:41:11 -03:00
Miguel Alatzar
ee4b85edcf
[MM-23520] Port mattermost-redux ( #4088 )
...
* Remove mattermost-redux
* Move mm-redux files into app/redux
* Add @redux path to tsconfig.json
* Fix imports
* Install missing dependencies
* Fix tsc errors
* Fix i18n_utils test
* Fix more imports
* Remove redux websocket
* Fix tests
* Rename @redux
* Apply changes from mattermost-redux PR 1103
* Remove mattermost-redux mention in template
* Add missing imports
* Rename app/redux/ to app/mm-redux/
* Remove test file
* Fix fetching Sidebar GM profiles
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-03-31 11:09:26 -07:00
Elias Nahum
10d433cfab
Port WebSocket from mm-redux and batch actions ( #4060 )
...
* Port WebSocket from mm-redux and batch actions
* Update mm-redux and fix tests
* Change action name
* Naming batch actions
* Fix unit tests
* Dispatch connection change only if its different
* Remove comment
* Add Lint to TypeScript and fix linting errors
* Add WebSocket Unit Tests
* Revert from unwanted RN 0.62
2020-03-26 21:23:50 -03:00