Commit Graph

241 Commits

Author SHA1 Message Date
Avinash Lingaloo
29628a585f Gekidou - Fix to make all models implement their respective interface (#6099)
* make all models implement their respective interface

* make all models implement their respective interface
2022-03-29 17:41:46 -03:00
Avinash Lingaloo
7f8a55684d MM-42787 - Gekidou User DB field remote_id (#6094)
* added remote_id to user table schema

* update user model to accomodate for remote_id field

* transform - reaction - split into its own file

* update user transformer

* update isShared function

* Fix typescript

* make remote_id field optional

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-03-29 14:54:09 -03:00
Avinash Lingaloo
ec17aea41e Gekidou - Fix channel creator for private/public channel (#6086) 2022-03-29 04:40:13 -03:00
Elias Nahum
764c34eeb7 Merge pull request #6095 from mattermost/gekidou-deps
[Gekidou] update deps
2022-03-28 15:25:09 -03:00
Elias Nahum
4696f880ba use any instead of never in screens HOC 2022-03-28 15:10:50 -03:00
Kyriakos Z
f2484297a8 [Gekidou DB]: Adds threads in team database table and handlers (#6090)
* Adds threads in team database table and handlers

DM/GM channels have no team ID. This makes it troublesome to paginate
threads in a team. The issue is that whenever a DM/GM thread is fetched
from pagination it will be added in all teams in that server,
potentially creating gaps in between threads for those teams.

This PR inserts a new table in the DB ThreadsInTeam which will hold
references of threads loaded in which server.
Thread lists then would have to rely on that table to show threads.


Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: Avinash Lingaloo <avinashlng1080@gmail.com>
2022-03-28 10:11:13 +03:00
Elias Nahum
3650cdfc6d fix Require cycle 2022-03-26 20:40:17 -03:00
Elias Nahum
527bd04170 Update dependencies 2022-03-26 20:33:13 -03:00
Elias Nahum
86ae1fc9cc Handle system ephemeral post 2022-03-24 19:24:54 -03:00
Elias Nahum
b6f373df5c Merge branch 'gekidou' into gekidou-fixes 2022-03-24 16:36:09 -03:00
Elias Nahum
d10b6c3eab Merge pull request #6077 from mattermost/detox-server-list
Detox/E2E: Server List e2e tests in Gekidou
2022-03-24 15:37:34 -03:00
Daniel Espino García
cc1c112028 Nit 2022-03-24 18:47:16 +01:00
Daniel Espino García
c1b8b0ee38 Merge branch 'gekidou' into CommandAutocomplete 2022-03-24 18:45:42 +01:00
Daniel Espino García
2393151ff0 Add integrations manager, use base-64 to handle svgs and minor improvement and fixes in the components 2022-03-24 18:40:38 +01:00
Elias Nahum
eb9e261ad4 Merge pull request #6083 from mattermost/gekidou-reactions
[Gekidou] reactions
2022-03-24 13:59:28 -03:00
Elias Nahum
ee2ef00a10 Merge pull request #6084 from mattermost/MM-42160-Mention-badge
Adds mention badges to channel list items
2022-03-24 13:49:58 -03:00
Elias Nahum
ce3ea47826 CategoryModel typing 2022-03-24 12:42:17 -03:00
Daniel Espino García
59959d041a Merge branch 'gekidou' into CommandAutocomplete 2022-03-24 16:39:25 +01:00
Anurag Shivarathri
aa4776a260 Replies count query (#6088) 2022-03-24 18:29:10 +05:30
Elias Nahum
9769ec41a7 Make sure record displayName for GM is set 2022-03-23 18:51:43 -03:00
Shaz MJ
c0b265132a Removes dupes 2022-03-24 08:29:35 +11:00
Shaz MJ
eea5e87940 Merge branch 'gekidou' into MM-42160-Mention-badge 2022-03-24 08:24:38 +11:00
Shaz MJ
ab45851e19 Uses existing badge 2022-03-24 08:19:43 +11:00
Elias Nahum
ccb29bbce6 Merge branch 'gekidou' into gekidou-fixes 2022-03-23 17:06:10 -03:00
Elias Nahum
f08ccb2d0c feedback review 2022-03-23 15:16:14 -03:00
Joseph Baylon
ef17c1d139 Added test for MM-T4691_6 2022-03-23 09:56:12 -07:00
Daniel Espino García
7fecf7e474 Merge branch 'gekidou' into CommandAutocomplete 2022-03-23 17:53:43 +01:00
Daniel Espino García
649681ef94 Remove bang image and use compass icon 2022-03-23 17:37:20 +01:00
Elias Nahum
2b974f8b46 Removed unused handlePostMetadata 2022-03-23 13:29:59 -03:00
Elias Nahum
ffc06bbaa3 Prevent more_messages to autoscroll more than once 2022-03-23 12:56:50 -03:00
Daniel Espino García
7382c1f4fc Address feedback 2022-03-23 16:11:58 +01:00
Elias Nahum
c9ca6cb90c channel can be null or undefined 2022-03-23 12:03:41 -03:00
Elias Nahum
296d088ca2 channel settings can be null or undefined 2022-03-23 12:00:34 -03:00
Elias Nahum
7f9cd287fe feedback review 2022-03-23 11:35:37 -03:00
Elias Nahum
292d72dc79 fix collapse categories dependencies and reset list on team change 2022-03-23 11:14:57 -03:00
Shaz MJ
80930477ff Handes visibility preference setting for dm/gm (#6078)
* Handes visibility preference setting for dm/gm

* Feedback

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-03-23 10:41:50 -03:00
Elias Nahum
54218d8f3d Use new observables approach 2022-03-23 10:06:54 -03:00
Elias Nahum
092e1d9ba5 Merge branch 'gekidou' into gekidou-reactions 2022-03-23 09:52:09 -03:00
Elias Nahum
ddd5538f23 Merge branch 'gekidou' into gekidou-fixes 2022-03-23 09:40:42 -03:00
Daniel Espino García
7c642b1e80 [Gekidou] Extract common observers to queries (#5984)
* Extract common observers to queries

* Separate also queries and more agressive refactoring

* Use query to avoid throws from findAndObserve

* Fix minor error

* Address feedback

* Address feedback

* Address feedback

* Fix model types

* Address feedback
2022-03-23 09:19:29 -03:00
Elias Nahum
65ceaed538 PR feedback 2022-03-23 09:05:20 -03:00
Daniel Espino García
7bb37297bd Merge branch 'gekidou' into CommandAutocomplete 2022-03-23 12:56:49 +01:00
Elias Nahum
98d7ca6ea4 MM-42699 Fix tap state for posts 2022-03-22 23:45:57 -03:00
Elias Nahum
52da02bc7d Fix channel list item not to cause a crash if myChannel is not found 2022-03-22 23:44:15 -03:00
Elias Nahum
077d5b9e95 Fix post list scroll to index offset and more messages position 2022-03-22 23:43:26 -03:00
Elias Nahum
5bfc815f78 Remove padding bottom on channel list 2022-03-22 23:42:08 -03:00
Elias Nahum
fbdaff34c6 Fix thread_post_list to display first post completely 2022-03-22 23:41:30 -03:00
Elias Nahum
2463e17e52 Fix thread_overview style on android 2022-03-22 23:40:34 -03:00
Elias Nahum
71d442b693 Remove duplicate intro components 2022-03-22 23:34:08 -03:00
Shaz MJ
735e9a3925 Adds mention badges to channel list items 2022-03-23 12:21:53 +11:00