Commit Graph

109 Commits

Author SHA1 Message Date
Elias Nahum
dfe2b7cfbd CRT fixes for MM-44210 & MM-44156 (#6295)
* CRT fixes for MM-44210 & MM-44156

* Covered other conditions and renamed variables to be consistent

Co-authored-by: Anurag Shivarathri <anurag6713@gmail.com>
2022-05-20 06:28:12 +05:30
Elias Nahum
4573732fd2 [Gekidou] channel quick actions (#6288)
* Add hitSlop to navigation header right buttons

* Fix channel_item info muted style

* Fix team switch when global threads

* Wrap WS channel events in try/catch

* Group Box component and Animated Group Box

* SlideUpPanelItem style

* Fix return value of setCurrentTeamAndChannelId

* Add observeChannelSettings and include channel settings in prepareDeleteChannel

* update OPTIONS_HEIGHT reference in find channels quick options

* Fix DM limit in channel list

* Fix category header style and translate default categories

* Add snackbar for unmute/favorite/unfavorite

* Add toggleFavoriteChannel remote action

* Add makeDirectChannelVisible remote action

* Use makeDirectChannelVisible in switchToChannelById and update toggleMuteChannel snackbar

* Add channel actions common components

* Update channel intro to use channel action common components

* Rename ChannelDetails screen to ChannelInfo

* Add channel quick actions

* Update localization strings

* Fix addChannelToDefaultCategory

* Leave channel

* Add localization strings

* Fix snackBar screen event listener

* Feedback review
2022-05-19 14:30:55 -04:00
Shaz MJ
6d6085ed4b [Gekidou] Groups + group membership schema (#6251)
* First pass at adding groups to mobile

* Reverts back and updates the group vars

* Cleans tests

* Missing created/updated/deleted fields in types, many-many ref fix

* Adds to manager

* PR Feedback

* Failing test

* Move FK out of comment, add indexes

* updated docs/database/server artefacts

Co-authored-by: Avinash Lingaloo <avinashlng1080@gmail.com>
2022-05-19 17:54:39 +10:00
Daniel Espino García
a4674915c1 Better handle go to location (#6262)
* Better handle go to location

* Improve server check
2022-05-19 09:06:31 +02:00
Avinash Lingaloo
e2d45165ab MM-43584 - Gekidou Mute Channel SnackBar (#6241)
* add remote action updateChannelNotifyProps

* Squashed commit of the following:

commit f093cd3409
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Mon May 2 12:12:43 2022 +0400

    revert changes made to the ephemeral store

commit aabe8bd17e
Merge: 18df47210 ee01febbb
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Mon May 2 12:09:50 2022 +0400

    Merge branch 'gekidou' into gekidou-snack-bars

commit 18df472108
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Mon May 2 12:04:53 2022 +0400

    fix timer not stopping

commit 5910238aaa
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Fri Apr 29 18:19:18 2022 +0400

    style fix

commit def4ad4cfd
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Fri Apr 29 14:36:36 2022 +0400

    eslint fix

commit 99fa65e780
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Fri Apr 29 14:18:03 2022 +0400

    fix styling

commit cf335e28b0
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Fri Apr 29 13:54:05 2022 +0400

    fix  layoutAnimation

commit d1dacbba73
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Fri Apr 29 13:43:04 2022 +0400

    add exitingg layoutAnimation

commit bb1156c3da
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Fri Apr 29 13:26:37 2022 +0400

    add entering layoutAnimation

commit 36d7286acd
Merge: 177281fbe 22a173ec9
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Fri Apr 29 11:41:30 2022 +0400

    Merge branch 'gekidou' into gekidou-snack-bars

commit 177281fbeb
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Fri Apr 29 11:41:06 2022 +0400

    cancelled timers on panning start

commit 6925cf59aa
Merge: e294a3a19 dad63b87b
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Thu Apr 28 17:36:11 2022 +0400

    rebasing

commit e294a3a199
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Thu Apr 28 17:14:33 2022 +0400

    dismiss overlay on tabPress

commit 9a57a0866f
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Thu Apr 28 16:59:07 2022 +0400

    dismiss overlay on tabPress

commit c7eef4b304
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Thu Apr 28 15:55:33 2022 +0400

    dismiss overlay on navigating away

commit 58a364171e
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Thu Apr 28 15:25:27 2022 +0400

    dismiss overlay on navigating away

commit 3c53e7d6a7
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Thu Apr 28 13:42:10 2022 +0400

    checks for ongoing animation

commit e62a4ee2a2
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Thu Apr 28 13:14:39 2022 +0400

    removed toast keyword

commit bc014b86e9
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Thu Apr 28 12:54:55 2022 +0400

    PanGesture- fine tuning the animation

    PanGesture- wip

commit 8f675566e7
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Thu Apr 28 12:09:35 2022 +0400

    PanGesture- wip

commit eb2a63c75f
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Wed Apr 27 11:17:13 2022 -0400

    snack positioning and touches

commit 6db7f0e0e7
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Wed Apr 27 16:43:47 2022 +0400

    using EphemeralStore and listeners to discard overlays

commit 99a9a52789
Merge: 5237401f5 776f56efb
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Wed Apr 27 14:51:32 2022 +0400

    Merge branch 'gekidou' into gekidou-snack-bars

commit 5237401f52
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Wed Apr 27 13:16:47 2022 +0400

    able to touch through on iOS

commit 7dc5c5c39e
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Tue Apr 26 15:17:53 2022 +0400

    adding PanGesture

    adding PanGesture- wip

    PanGesture- wip

commit 772654f7e5
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Thu Apr 21 13:57:42 2022 +0400

    update message to text

commit 53c7ca68ba
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Thu Apr 21 13:40:30 2022 +0400

    adjust width

commit 0c20bd7e73
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Wed Apr 20 18:05:44 2022 +0400

    changed location to sourceScreen in post.tsx

commit efbccbb710
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Wed Apr 20 18:04:19 2022 +0400

    removed space

commit cc400482bd
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Wed Apr 20 18:01:23 2022 +0400

    corrections from reviews

commit 4204b6c656
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Wed Apr 20 14:47:52 2022 +0400

    Update en.json

commit 80f6d675f5
Merge: c59a2cfc0 c1e71b09c
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Wed Apr 20 14:27:33 2022 +0400

    Merge branch 'gekidou' into gekidou-snack-bars

commit c59a2cfc05
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Wed Apr 20 13:58:22 2022 +0400

    removed offSetY

commit a65af7057b
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Wed Apr 20 12:24:02 2022 +0400

    styling tablet

    wip

    tablet portrait

commit 3ef280c80c
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Tue Apr 19 16:10:37 2022 +0400

    styling mobile

    wip

* Squashed commit of the following:

commit ab09b39c77
Merge: 038476c01 362db9d98
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Thu May 5 15:06:12 2022 +0400

    Merge branch 'gekidou' into gekidou-snack-bars

commit 038476c01a
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Thu May 5 15:05:24 2022 +0400

    bumping the toast vertically by 4px

commit 362db9d98d
Author: Shaz MJ <shaz.amjad@mattermost.com>
Date:   Thu May 5 11:17:33 2022 +1000

    Moves collapse animation to FlatList, updates timings (#6220)

    * Moves collapse animation to FlatList, updates timings

    * dev review

    * filters unreads from other categories & removes duplicate

    Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
    Co-authored-by: Mattermod <mattermod@users.noreply.github.com>

commit 14abe4d2ac
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Wed May 4 17:26:32 2022 -0400

    Remove jcenter (#6226)

commit c8e46607b7
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Wed May 4 13:13:23 2022 -0400

    upgrade exoplayer

commit 32fd8e3cda
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Wed May 4 12:15:13 2022 -0400

    Add ellipsis to server displayName & url (#6223)

commit abc5dc4bc3
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Wed May 4 09:55:51 2022 -0400

    Fix GM display name (#6215)

commit ecfbb934a8
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Wed May 4 09:51:14 2022 -0400

    [Gekidou] Exclude muted channels from unread badges (#6208)

    * Exclude muted channels from unread badges

    * Gekidou unreads mention fix (#6221)

    * Removes muted channels without mentions from grouped unreads

    * show channel if unread and have no mentions when unread up top

    Co-authored-by: Elias Nahum <nahumhbl@gmail.com>

    Co-authored-by: Shaz MJ <shaz.amjad@mattermost.com>

commit 588491f582
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Wed May 4 09:32:43 2022 -0400

    Fix alignment of custom status (#6211)

commit 4fc077caef
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Wed May 4 09:13:17 2022 -0400

    Fetch missing custom emojis (#6216)

commit 3aa0425fdd
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Wed May 4 09:12:37 2022 -0400

    Preserve notifications when tapping or clearing notifications from a channel (#6209)

commit bd50422167
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Tue May 3 17:26:35 2022 -0400

    Hide archive channels in channel list (#6214)

commit 43c43e50d4
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Tue May 3 14:43:55 2022 -0400

    Do not set new line message indicator on own posts (#6206)

commit f973ac8016
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Tue May 3 14:29:37 2022 -0400

    [Gekidou] Find channels (remote) (#6203)

    * Display local results

    * Fix queryPreferencesByCategoryAndName to observeWithColumns value

    * Find channels (remote)

    * ux feedback review

    * dev review

    * dev review 2

    * Fetch deleted channels from other teams

commit bb42339c42
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Tue May 3 11:58:47 2022 -0400

    Increase tap area of the + button on home screen (#6207)

commit 02b4295464
Author: Daniel Espino García <larkox@gmail.com>
Date:   Tue May 3 17:22:21 2022 +0200

    [Gekidou] [MM-39936] Add Select Team Screen (#6180)

    * Add Select Team Screen

    * Fixes for iPhone and iPad

    * Fix tests

    * Address feedback

    * Fix tests

    * Theme illustration

    * Address feedback and fixes

    * Remove database warnings by avoiding recalculations on repeated events.

    * Address feedback

    * Remove unneeded catch

    Co-authored-by: Daniel Espino <danielespino@MacBook-Pro-de-Daniel.local>

commit 2376dc934c
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Tue May 3 08:54:13 2022 -0400

    Fix Back button position in Navigation Header (#6204)

commit f093cd3409
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Mon May 2 12:12:43 2022 +0400

    revert changes made to the ephemeral store

commit aabe8bd17e
Merge: 18df47210 ee01febbb
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Mon May 2 12:09:50 2022 +0400

    Merge branch 'gekidou' into gekidou-snack-bars

commit 18df472108
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Mon May 2 12:04:53 2022 +0400

    fix timer not stopping

commit 5910238aaa
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Fri Apr 29 18:19:18 2022 +0400

    style fix

commit def4ad4cfd
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Fri Apr 29 14:36:36 2022 +0400

    eslint fix

commit 99fa65e780
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Fri Apr 29 14:18:03 2022 +0400

    fix styling

commit cf335e28b0
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Fri Apr 29 13:54:05 2022 +0400

    fix  layoutAnimation

commit d1dacbba73
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Fri Apr 29 13:43:04 2022 +0400

    add exitingg layoutAnimation

commit bb1156c3da
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Fri Apr 29 13:26:37 2022 +0400

    add entering layoutAnimation

commit 36d7286acd
Merge: 177281fbe 22a173ec9
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Fri Apr 29 11:41:30 2022 +0400

    Merge branch 'gekidou' into gekidou-snack-bars

commit 177281fbeb
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Fri Apr 29 11:41:06 2022 +0400

    cancelled timers on panning start

commit 6925cf59aa
Merge: e294a3a19 dad63b87b
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Thu Apr 28 17:36:11 2022 +0400

    rebasing

commit e294a3a199
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Thu Apr 28 17:14:33 2022 +0400

    dismiss overlay on tabPress

commit 9a57a0866f
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Thu Apr 28 16:59:07 2022 +0400

    dismiss overlay on tabPress

commit c7eef4b304
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Thu Apr 28 15:55:33 2022 +0400

    dismiss overlay on navigating away

commit 58a364171e
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Thu Apr 28 15:25:27 2022 +0400

    dismiss overlay on navigating away

commit 3c53e7d6a7
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Thu Apr 28 13:42:10 2022 +0400

    checks for ongoing animation

commit e62a4ee2a2
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Thu Apr 28 13:14:39 2022 +0400

    removed toast keyword

commit bc014b86e9
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Thu Apr 28 12:54:55 2022 +0400

    PanGesture- fine tuning the animation

    PanGesture- wip

commit 8f675566e7
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Thu Apr 28 12:09:35 2022 +0400

    PanGesture- wip

commit eb2a63c75f
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Wed Apr 27 11:17:13 2022 -0400

    snack positioning and touches

commit 6db7f0e0e7
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Wed Apr 27 16:43:47 2022 +0400

    using EphemeralStore and listeners to discard overlays

commit 99a9a52789
Merge: 5237401f5 776f56efb
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Wed Apr 27 14:51:32 2022 +0400

    Merge branch 'gekidou' into gekidou-snack-bars

commit 5237401f52
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Wed Apr 27 13:16:47 2022 +0400

    able to touch through on iOS

commit 7dc5c5c39e
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Tue Apr 26 15:17:53 2022 +0400

    adding PanGesture

    adding PanGesture- wip

    PanGesture- wip

commit 772654f7e5
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Thu Apr 21 13:57:42 2022 +0400

    update message to text

commit 53c7ca68ba
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Thu Apr 21 13:40:30 2022 +0400

    adjust width

commit 0c20bd7e73
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Wed Apr 20 18:05:44 2022 +0400

    changed location to sourceScreen in post.tsx

commit efbccbb710
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Wed Apr 20 18:04:19 2022 +0400

    removed space

commit cc400482bd
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Wed Apr 20 18:01:23 2022 +0400

    corrections from reviews

commit 4204b6c656
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Wed Apr 20 14:47:52 2022 +0400

    Update en.json

commit 80f6d675f5
Merge: c59a2cfc0 c1e71b09c
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Wed Apr 20 14:27:33 2022 +0400

    Merge branch 'gekidou' into gekidou-snack-bars

commit c59a2cfc05
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Wed Apr 20 13:58:22 2022 +0400

    removed offSetY

commit a65af7057b
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Wed Apr 20 12:24:02 2022 +0400

    styling tablet

    wip

    tablet portrait

commit 3ef280c80c
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Tue Apr 19 16:10:37 2022 +0400

    styling mobile

    wip

* minor clean up

* Squashed commit of the following:

commit c7c00b8316
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Thu May 5 18:25:46 2022 -0400

    Ensure posts are not covered by the post draft on channel switch

commit 58719c82dc
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Thu May 5 14:09:30 2022 -0400

    fix flip of post list (#6234)

commit 9d3c7c9496
Author: Joseph Baylon <joseph.baylon@mattermost.com>
Date:   Thu May 5 10:04:33 2022 -0700

    Detox/E2E: Messaging e2e tests in Gekidou (#6228)

commit 1760b75dbf
Author: Anurag Shivarathri <anurag6713@gmail.com>
Date:   Thu May 5 21:03:09 2022 +0530

    [Gekidou] [MM-43973] Thread footer for recent mentions (#6225)

    * Displaying thread footer

    * Participants can be empty

    * Update thread.ts

commit 83c2cfff97
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Thu May 5 18:00:32 2022 +0400

    MM-41532 Gekidou Snack Bars (#6181)

    * styling mobile

    wip

    * styling tablet

    wip

    tablet portrait

    * removed offSetY

    * Update en.json

    * corrections from reviews

    * removed space

    * changed location to sourceScreen in post.tsx

    * adjust width

    * update message to text

    * adding PanGesture

    adding PanGesture- wip

    PanGesture- wip

    * able to touch through on iOS

    * using EphemeralStore and listeners to discard overlays

    * snack positioning and touches

    * PanGesture- wip

    * PanGesture- fine tuning the animation

    PanGesture- wip

    * removed toast keyword

    * checks for ongoing animation

    * dismiss overlay on navigating away

    * dismiss overlay on navigating away

    * dismiss overlay on tabPress

    * dismiss overlay on tabPress

    * cancelled timers on panning start

    * add entering layoutAnimation

    * add exitingg layoutAnimation

    * fix  layoutAnimation

    * fix styling

    * eslint fix

    * style fix

    * fix timer not stopping

    * revert changes made to the ephemeral store

    * bumping the toast vertically by 4px

    Co-authored-by: Elias Nahum <nahumhbl@gmail.com>

commit 2deb2e01e0
Author: Anurag Shivarathri <anurag6713@gmail.com>
Date:   Thu May 5 18:36:18 2022 +0530

    [Gekidou][MM-43870, MM-43896, MM-43898, MM-43902, MM-43903] CRT related bug fixes (#6205)

    * Fixes

    * Updated snapshot

    * Excluding current user from getting updated

    * Doesn't handle users if it's empty

    Co-authored-by: Elias Nahum <nahumhbl@gmail.com>

commit 251ef0992b
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Thu May 5 08:53:27 2022 -0400

    Fix create direct message styles (#6224)

commit 5620a50975
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Thu May 5 08:53:02 2022 -0400

    Fix channel item with long name and badge (#6222)

commit a0d2f33b2f
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Thu May 5 08:47:09 2022 -0400

    Dismiss post options before executing action (#6227)

commit c4e1b4ad3e
Author: Shaz MJ <shaz.amjad@mattermost.com>
Date:   Thu May 5 22:45:50 2022 +1000

    Fixes grouped unread sorting (#6230)

    * Fixes grouped unread sorting

    * Type fix

commit 362db9d98d
Author: Shaz MJ <shaz.amjad@mattermost.com>
Date:   Thu May 5 11:17:33 2022 +1000

    Moves collapse animation to FlatList, updates timings (#6220)

    * Moves collapse animation to FlatList, updates timings

    * dev review

    * filters unreads from other categories & removes duplicate

    Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
    Co-authored-by: Mattermod <mattermod@users.noreply.github.com>

commit 14abe4d2ac
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Wed May 4 17:26:32 2022 -0400

    Remove jcenter (#6226)

commit c8e46607b7
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Wed May 4 13:13:23 2022 -0400

    upgrade exoplayer

commit 32fd8e3cda
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Wed May 4 12:15:13 2022 -0400

    Add ellipsis to server displayName & url (#6223)

commit abc5dc4bc3
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Wed May 4 09:55:51 2022 -0400

    Fix GM display name (#6215)

commit ecfbb934a8
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Wed May 4 09:51:14 2022 -0400

    [Gekidou] Exclude muted channels from unread badges (#6208)

    * Exclude muted channels from unread badges

    * Gekidou unreads mention fix (#6221)

    * Removes muted channels without mentions from grouped unreads

    * show channel if unread and have no mentions when unread up top

    Co-authored-by: Elias Nahum <nahumhbl@gmail.com>

    Co-authored-by: Shaz MJ <shaz.amjad@mattermost.com>

commit 588491f582
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Wed May 4 09:32:43 2022 -0400

    Fix alignment of custom status (#6211)

commit 4fc077caef
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Wed May 4 09:13:17 2022 -0400

    Fetch missing custom emojis (#6216)

commit 3aa0425fdd
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Wed May 4 09:12:37 2022 -0400

    Preserve notifications when tapping or clearing notifications from a channel (#6209)

commit bd50422167
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Tue May 3 17:26:35 2022 -0400

    Hide archive channels in channel list (#6214)

commit 43c43e50d4
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Tue May 3 14:43:55 2022 -0400

    Do not set new line message indicator on own posts (#6206)

commit f973ac8016
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Tue May 3 14:29:37 2022 -0400

    [Gekidou] Find channels (remote) (#6203)

    * Display local results

    * Fix queryPreferencesByCategoryAndName to observeWithColumns value

    * Find channels (remote)

    * ux feedback review

    * dev review

    * dev review 2

    * Fetch deleted channels from other teams

commit bb42339c42
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Tue May 3 11:58:47 2022 -0400

    Increase tap area of the + button on home screen (#6207)

commit 02b4295464
Author: Daniel Espino García <larkox@gmail.com>
Date:   Tue May 3 17:22:21 2022 +0200

    [Gekidou] [MM-39936] Add Select Team Screen (#6180)

    * Add Select Team Screen

    * Fixes for iPhone and iPad

    * Fix tests

    * Address feedback

    * Fix tests

    * Theme illustration

    * Address feedback and fixes

    * Remove database warnings by avoiding recalculations on repeated events.

    * Address feedback

    * Remove unneeded catch

    Co-authored-by: Daniel Espino <danielespino@MacBook-Pro-de-Daniel.local>

commit 2376dc934c
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Tue May 3 08:54:13 2022 -0400

    Fix Back button position in Navigation Header (#6204)

* snack bar with undo option

* fix react error

* implement onAction correctly

* implemented pessimistic approach

* fix ts issue

* Move toggleMuteChannel to remote actions

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-05-17 14:19:55 -04:00
Elias Nahum
2c6bd00128 Set 5s as default timeout for ping (#6271) 2022-05-13 11:36:30 -04:00
Elias Nahum
08d80e6236 Replace lottie loading spinner for activity indicator (#6266) 2022-05-12 12:54:43 -04:00
Daniel Espino García
75d1c9d228 Try to remove as many as as possible (#6200)
* Try to remove as many ` as ` as possible

* Fix imports
2022-05-12 15:46:11 +02:00
Anurag Shivarathri
ba976dadc2 [Gekidou[ [MM-43969, MM-44037] global threads crash, mark as read (#6253)
* Preparing thread data as well with prepareDeletePost

* observing the post directly to prevent the crash until the data issue is found

* mark as read, delete threeds fix

* Update thread.ts

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-05-10 15:59:06 +05:30
Anurag Shivarathri
1760b75dbf [Gekidou] [MM-43973] Thread footer for recent mentions (#6225)
* Displaying thread footer

* Participants can be empty

* Update thread.ts
2022-05-05 21:03:09 +05:30
Elias Nahum
22a173ec97 [Gekidou] Add Latex support (#6195)
* Add Latex support

* Markdown memoization

* feedback review

* feedback review 2
2022-04-28 12:27:10 -04:00
Daniel Espino García
e047106bac Add AppsForm and Interactive Dialogs (#6142)
* Add AppsForm and Interactive Dialogs

* Add the missing plumbing for Interactive Dialogs and minor fixes

* Remove widgets subfolder

* Fix paths

* Address feedback

* Address feedback

* i18n extract

* Only set the dialog if we are in the same server
2022-04-28 18:26:21 +02:00
Anurag Shivarathri
dad63b87bb Gekidou CRT - Global threads screen (#6140)
* Global threads

* Added translations

* User avatar stack

* In-Channel experience

* Misc Fixes

* Fixed fetchPostThread & added observer

* using the observable for participants & check fix

* Test case fix

* Fix tablet view thread screen switching

* No back button for tablets

* folders for thread options only if needed

* Using the existing observable

* Users stack refactor fix

* Reusing the user component

* Refactor fix

* Fixes double loaders when empty threads

* Feedback

* Moved some post options to common post options

* Combined follow/unfollow functions

* Feedback fixes

* Addressing Feedback

* Merge fix

* Threads button component moved

* Addressing feedbackk

* Not rendering message when it's empty, removed unwanted Props exports

* Addressing feedbac

* Updated snapshot

* Added emoji to removemarkdown component

* Moved MD rendering into the component

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: koox00 <3829551+koox00@users.noreply.github.com>
2022-04-28 09:01:36 -04:00
Kyriakos Z
df3ef72a0a [Gekidou CRT] thread mention counts (#6126)
* Sets values on my_channel according to CRT

* Team counts with regard to CRT

* Fixes myChannel.is_unread with regard to CRT

* Include DM/GMs for thread counts on demand

* Incorporate thread mention counts in server/channel

* Channel updates in regard to CRT
2022-04-12 13:27:40 +03:00
Avinash Lingaloo
9a72837f04 Gekidou - Updated Server Database Diagrams/Schema/Models (#6119)
* started with the diagrams

* removed redundant tables

next step:
1. reconstruct id ( local id vs server id )
2. annotate fields with examples
3. recreate relationship

* work in progress

* work in progress

* fix association

* update postsInChannel

* removed SlashCommands from the Server database schema

* added missing associations in the models and updated docs/database

* exported server database

* update test

* code corrections following review

* update relationship

* update docs

* removed cyclic relationship

* Revert "removed cyclic relationship"

This reverts commit 4d784efb81.

* removed isOptional from Draft

* linked myChannelSettings to myChannel instead of Channel

* update diagrams

* store null instead of empty string

* update thread association

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-04-07 10:14:28 -04:00
Elias Nahum
0950dbd21b [Gekidou] operator handlers improvements (#6136)
* Allow database operator handlers to deal with empty or undefined input values

* Prevent known handler warnings

* Update app/database/operator/server_data_operator/handlers/post.ts

Co-authored-by: Avinash Lingaloo <avinashlng1080@gmail.com>

* feedback review

* remove unnecessary !

Co-authored-by: Avinash Lingaloo <avinashlng1080@gmail.com>
2022-04-07 09:17:57 -04:00
Kyriakos Z
3326f34933 [Gekidou HOTFIX] fixes saving threads in the DB (#6132)
* [Gekidou HOTFIX] fixes saving threads in the DB

`loadedInGlobalThreads` cannot be a property of the thread, the DB will
fail with unknown column upon saving.

This commit makes it an argument of handleThreads and
handleThreadInTeam.

Fixes wrong foreignKey in THREAD table associations.

* Fixes errors

* Fixes error
2022-04-06 17:37:17 +03:00
Elias Nahum
2621d921d6 [Gekidou] Performance & UI fixes (#6122)
* Fix search bar style

* MM-42983 Align mention badge on channel list item

* MM-42985 polish channel intro UI

* MM-42984 update fonts on 'Show' bottom sheet

* MM-42982 Increase tap area of back button on channel view

* Set StatusBar style based on theme sidebarBg

* Reconnect other WS after 20 seconds insted of 5

* Only fetch missing profiles for DM/GMs

* Database prepare records optimization

* Do not use fallbackUsername for storing GM/DM in the database

* fix filter for fetching missing dm/gm

* remove use of indexOf inside another loop

* remove use of includes inside another loop

* remove use of find inside another loop

* Add missing translations

* disable Flipper on iOS

* Remove Flipper code from AppDelegate

* feedback review

* trim DM display name to make sure is not empty

* fixing missing direct channels display name

* UI/UX feedback

* fix WS channel viewed and mark as unread

* Remove duplicate emojis from reaction bar
2022-04-04 17:09:26 -04:00
Jason Frerich
137ba9d191 [Gekidou MM-39728] - Websocket Events - Channels (#6038)
* wip checkin

* wip checkin because my system is messed up again

* correct the add user and remove user from channel functions. THe user and channel ids sometimes come from the broudcast field, not the data object

* remove old comments

* remove old comments

* remove old comments

* add back in unarchive handler. handleChannelUpdateEvent will also update the deleteAt value for a channel, but does not get called when unarchive from the channel view, only through the system console.

* nit remove empty line

* wip

* wip

* remove handleChannelConvertedEvent

* remove handleChannelDirectAddedEvent

* wip

* wip

* wip

* Fix websockets events

* Address feedback

* Ensure categories and some refactoring

* Self review fixes

* Fix category creation bug

* Address feedback and minor improvements

* Address feedback

* Fix lint

Co-authored-by: Daniel Espino García <larkox@gmail.com>
2022-04-04 14:25:42 -04:00
Anurag Shivarathri
8d6fc41dd5 [Gekidou MM-41093] CRT - WS Events, Actions, Queries, Thread Follow, Post Query (#6075)
* WS Events, Actions, Queries, Thread Follow, Post Query

* i18n changes

* Misc

* Only unread threads are marked as read

* Mark threads from WS even as visible in Global threads

* Merge fixes

* Update thread_post_list.tsx

* Merge fix

* Feedback fix

* Make teamId in handleThreads optional for unfollowed threads

* Removed unwated type and return

* Review changes

* Removing unused model

* Merge fix

* Misc fixes

* Following button query change
2022-04-04 19:55:13 +05:30
Daniel Espino García
d1322e84ce [Gekidou] Add performance and code improvements around post_list (#6113)
* Add performance and code improvements around post_list

* Fix test

* Move observers from utils to queries

* remove Flipper on iOS to fix CI build

* Fix observePermissionForChannel for DM/GM

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-04-04 08:14:55 -04:00
Avinash Lingaloo
764e08e25d removed SlashCommands from the Server database schema (#6116) 2022-04-01 12:23:57 -03:00
Kyriakos Z
567141a60e [Gekidou DB]: Refactors thread and threads_in_team tables (#6100)
* Refactors thread and threads_in_team tables

The convention is that only threads being in the ThreadsInTeam will be shown in a thread list,
and that only threads marked as loaded_in_global_threads are being shown
in the All threads tab in the list.

So when a thread arrives through different means, whether it's a WS event,
or just fetching a (*new) thread by opening it in a channel, etc...
we'll need to check if it's newer than any of the existing threads in the all threads list.
If it is it will be added in the ThreadsInTeam and will be marked as loaded_in_global_threads: true.
If it's not newer but it is an unread thread it will still be added in the ThreadsInTeam
but marked as loaded_in_global_threads: false.

This commit refactors `loaded_in_global_threads` field from the Thread table
to the ThreadsInTeam table so that the above is possible.

* Update tests

* Addresses review comments
2022-03-31 09:18:35 -03:00
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
Elias Nahum
764c34eeb7 Merge pull request #6095 from mattermost/gekidou-deps
[Gekidou] update deps
2022-03-28 15:25:09 -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
527bd04170 Update dependencies 2022-03-26 20:33:13 -03:00
Daniel Espino García
c1b8b0ee38 Merge branch 'gekidou' into CommandAutocomplete 2022-03-24 18:45:42 +01:00
Daniel Espino García
7fecf7e474 Merge branch 'gekidou' into CommandAutocomplete 2022-03-23 17:53:43 +01:00
Elias Nahum
7f9cd287fe feedback review 2022-03-23 11:35:37 -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
Daniel Espino García
7ffcba44d6 Link to autocomplete component and fix issues 2022-03-18 13:56:03 +01:00
Daniel Espino García
b2408bd5d1 Add command autocomplete 2022-03-17 18:07:04 +01:00
Elias Nahum
088aa193ab [Gekidou] Use localPath when available (#6058)
* Use localPath when available

* Revert changes to replace space for dash in the filename

* Rename other action to external and always call onDownloadSuccess if defined

* add missing localization strings
2022-03-17 08:58:49 -03:00
Daniel Espino García
9f9190f5db Add User Mention to autocomplete (#6005)
* Add User Mention to autocomplete

* Minor fixes

* Fix at_mention (you) alignment

* Add missing translation strings

* Make it more parallel to channel mentions

* Fix bot tag

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-03-14 17:05:52 -03:00
Elias Nahum
acf4cbde8d [Keyboard] Keyboard tracking (#6050)
* Pause/Resume tracking keyboard

* fix keyboard tracking view on tablets

* add EDIT_POST screen to pause keyboard tracking
2022-03-14 16:21:45 -03:00
Kyriakos Z
2645f7e66e MM-39710: saved posts screen and DB (#6020)
* MM-39710: saved posts screen and DB

- Adds ids of saved posts to the systems table, as we do with recent
mentions.
- Adds a new remote action to fetch saved posts (getFlaggedPosts).
- Adds a new screen to display those in a mobile.
- Displays saved posts in the tablet view next to profile card.

* Uses Preferences instead of System table

Renames to saved posts wherever possible

* Adds text to localization file

* Fixes fetching/saving saved posts

* Refactor mini post to components folder

* Fixes hooks dependencies according to review

* Removes unnecessary 'withObservables'

* Small refactor

* Satisfies linter

* Adds empty state

And fixes empty state icon to be theme sensitive.
Both recent_mentions and saved_posts.

* Fixes empty screen's alignment

* Add missing preference

* add missing translation strings

* remove unused database type definition

* Fetch newly saved post

* Fix return type for client.getSavedPosts

* Remove usage of lodash compose

* Rename get remote actions to fetch

* Include close button for savedPost modal

* fix tablet view for SavePosts and use lottie loading indicator

* Render post with content for save posts and recent mentions

* post list viewable items type definition

* Add layout width to post content for saved post screen

* Use PostWithChannel and viewableItems for saved posts and recent mentions

* Layout margin of 20

* openGraphImage margin

* Fix openGraphImage display

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-03-12 16:40:24 -03:00
Daniel Espino García
b27ebce2e0 [Gekidou] [MM-39718] Add Create DM screen (#5900)
* Add Create DM screen

* Add channel toggle and minor improvements

* Fix tests and apply new UI

* Address feedback UX feedback and fix missing menu item by adding another item height

* Add display name to channels and piggyback improvement on fetchUserByIds action and translations fix

* Address feedback

* Fix hardcoded colors

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-03-11 12:57:31 -03:00
Elias Nahum
0c0f92a237 [Gekidou] Markdown SVG & image size support (#6032)
* Support Markdown svg and custom size inline images

* remove commonmark patches

* move getMarkdownImageSize to @utils/markdown

* Fix worklet not present while running unit tests that use calculateDimensions

* Set max size for SVG

* Set svg dimensions based on calculated size

* feedback review
2022-03-10 09:03:09 -03:00
Anurag Shivarathri
9dbdae22fd [Gekidou MM-39707] CRT DB (#5948)
* Database init

* Naming fix

* naming misc

* Fix test

* Added Thread Tab columns, Team Threads Count table and other changes

* Test case fix

* Test cases fix ...... AGAIN

* TS fix

* Removed loaded_in_all_threads_tab, loaded_in_unreads_tab

* Removed TeamThreadsCount table, mention & message root counts & added loadedInGlobalThreads flag

* Type changes, added delete thread with post

* Removed unused type

* Reverted relationshio of post with thread

* Calling thread destroyPermanently from post

* Removed unused table name variables

* added THREAD constant table in post model and fixed a few comments

* Misc typo fix and code clean up

* Added test case and related to participant in user model

* test cases fix

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-03-03 22:47:29 +05:30
Elias Nahum
162bc6cc3f [Gekidou] various fixes (#6022)
* remove empty roles before fetching

* Fix prepare delete teams, channels and posts so they don't throw

* Fix reaction operator and moved some handlers to their correct file

* include delete categories when teams or channels are deleted

* Remove unused array in fetchRoles

* fix param comment for reactions handler

* don't sync preferences when getting the WS event
2022-03-03 12:11:47 -03:00
Elias Nahum
5de54471b7 [Gekidou] Gallery (#6008)
* Gallery screen (ground work)

* Open the gallery from posts

* Open the gallery from post draft

* feedback review

* Feedback review 2

* do not remove dm channel names and localization fix

* update to the latest network-client

* do not override file width, height and imageThumbail if received file does not have it set

* bring back ScrollView wrapper for message component

* Remove Text wrapper for markdown paragraph

* Fix YouTube play icon placeholder

* Make video file play button container round

* Add gif image placeholder

* Save images & videos to camera roll

* Feedback review 3

* load video thumbnail when post is in viewport

* simplify prefix
2022-03-01 13:55:44 -03:00
Jason Frerich
efd2fd0c02 [Gekidou MM-39729] Websocket Events - Groups (#5930)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-03-01 10:13:45 -06:00
Elias Nahum
5b9492356b Gekidou MultiServers second part (#5963)
* Edit Server display name

* Lock iPhone to portrait and iPad to landscape

* Create actions for app global to store device token and multi server tutorial

* Add MutliServer tutorial on first use

* WebSocket reconnection priority

* have isRecordGlobalEqualToRaw to not check for value

* Return early on edit server if error is found

* Prepopulate server screen with last logged out server address and name

* Add CompassIcon to circleCI asset generation
2022-02-17 10:42:06 -03:00
Suneet Srivastava
03d5ac083c MM-39716: Added + button bottomsheet layout (#5957)
* [gekidou] feat: MM-39716 Added + Button Bottom sheet layout

* feat: Added on click to the channel header listener

* chore: Ran i18n command and did the requested changes

* chore: updated test snapshot

* Refactor PlusMenu & fix Browse Channels

* Fix snapshot tests

* feedback review

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-02-16 14:17:57 +01:00
Avinash Lingaloo
ea54a8dff3 MM-41748 Gekidou Post Options Queries (#5972)
* skeleton in place

* fix ts error

* creating base option component

* Added all options except reaction

* moved options under /component/options

* added destructive styling

* skeleton - need polishing now

* default emojis for quick reaction

* rename files and small refactor

* Properly close bottom sheet

* redid reaction component

* canSave, isSaved

* canAddReaction condition

* fix aligment

* code clean up

* fix opening on tablet

* undo comment on local reaction action

* undo needless formatting

* clean up comment

* shows selected reaction

* fix marginTop and added title for Tablet

* code clean up

* investigating navigation

* fixed navigation

* Post options bottomSheet and renamed DrawerItem to MenuItem

* renamed optionType to testID

* update navigation_close_modal to close_bottom

* removed context in favor of Pressable

* Apply suggestions from code review

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>

* removed theme prop from PickReaction

* en.json and code fixes

* removed post_options from screen/index

* removed post_options from screens constant

* Revert "removed post_options from screen/index"

This reverts commit 24caa9773f.

* Revert "removed post_options from screens constant"

This reverts commit 863e2faaf7.

* fix theme import

* remove useless margin

* disabled post_options

* queries - work in progress

* queries - work in progress

* queries - work in progress

* minor fix

* queries - work in progress

* queries - work in progress

* queries - work in progress

* queries - work in progress

* queries - work in progress

* fix query

* queries - work in progress

* reaction query fixed

* queries - work in progress

* queries - canReaction option

* queries - canDelete option

* queries - canReply option

* queries - canPin, canSave, canCopyPermalink option

* queries - options - wip

* queries - options - wip

* queries - options - wip

* fix location

* removed logs

* undo post_draft changes

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-02-16 14:21:27 +04:00
Elias Nahum
d35eac8bd3 Gekidou servers (#5960)
* Servers logout and websocket state

* addNewServer uility and rename file

* add LaunchType for add new server

* added time to LaunchProps type

* Remove unnecessary props for launchToHome

* Fix local action updateLastPostAt

* Batch fetchProfilesPerChannels requests in chunks of 50

* WS handleUserAddedToChannelEvent to return early if no channelId is set

* WS handleNewPostEvent to batch update last_post_at

* add common actions to sync other servers

* Entry actions to sync other servers data

* Do not attempt to fetch notification data if payload does not contain a channelId

* Set database as default at the end of the login flow

* Handle logout when other servers remain

* Handle Server options

* Show alert when logging out from the account screen

* Add workaround to have Lottie animate the loading component

* Fix badge position in ServerIcon component

* Server screen to support adding new server

* Fix login screen to display error when credentials do not match

* add localization strings

* fix DatabaseProvider to update on server switch

* Fix home icon and server icon subscriptions and badge display

* Add dependencies to onLogout callback

* feedback

* Only updateLastPostAt if needed
2022-02-14 16:39:29 -03:00
Elias Nahum
1b62c10dcc [Gekidou] various fixes (#5951)
* Specify the screen to be dismissed from the bottom sheet on tablets

* reposition unread badge on server icon

* Skip setNavigatorStyles and set correct theme for login flow screens

* Fetch current user status with fetchMe and when the WS connects

* switchToChannel skip setting current channel if id is the same

* ChannelMention component to use switchToChannelById instead of switchToChannel

* loginEntry only set initialChannel if isTablet

* deferredAppEntryActions mark channel as read and fetch channel stats if initialChannel is set

* feedback review

* feedback review
2022-02-10 11:46:35 -03:00
Daniel Espino García
210a2f2d8a [Gekidou] [MM-39717] Add Channel Browser screen (#5868)
* Add Channel Browser screen

* Fix tests

* Fix lint

* Address feedback

* Fix test

* Remove cancel and fix bottom sheet size

* Address feedback

* Address feedback

* Keep loading when not many items are visible.

* Separate search_handler from browse channels

* Search channels directly instead of filtering from the loaded

* Address feeback

* Reduce the size of search_handler.tsx

* Add title and closeButtonId to bottomSheet

* Let the default value be public and set it before the if

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-02-10 12:45:07 +01:00