Commit Graph

655 Commits

Author SHA1 Message Date
Jason Frerich
afa446da59 organize constants
nit-refactors
2022-11-11 09:11:45 -06:00
Jason Frerich
0f0880bffc simplify 2022-11-11 09:06:55 -06:00
Jason Frerich
fdeac9001d nit refactor to remove else blocks 2022-11-11 09:03:42 -06:00
Jason Frerich
ef2537be07 pass max allowed selectable users to members modal 2022-11-11 08:54:00 -06:00
Jason Frerich
1ecfac0823 sort dependencies
reorganize functions order
2022-11-11 08:48:57 -06:00
Jason Frerich
5fdb1f05da pass button text to the members modal 2022-11-11 08:44:09 -06:00
Jason Frerich
2acbc13a6d rename startConversation to onButtonTap to be more intention revealing 2022-11-11 08:35:57 -06:00
Jason Frerich
68da5abfc1 rename function and props 2022-11-11 08:28:49 -06:00
Jason Frerich
09c40aaa74 refactor - move all but the functions from CreateDirectMessage to
MembersModal
2022-11-11 08:10:23 -06:00
Jason Frerich
1328902814 refactor - move code from CreateDirectMessage to MembersModal 2022-11-10 19:43:07 -06:00
Jason Frerich
391bd85d9d get data inside members_modal 2022-11-10 14:59:24 -06:00
Jason Frerich
c212f014ec move loading component to members_modal 2022-11-10 13:21:36 -06:00
Jason Frerich
1fbd1f43fe nit: use better prop name 2022-11-10 12:56:20 -06:00
Jason Frerich
9ce8144a50 remove empty lines 2022-11-10 12:38:58 -06:00
Jason Frerich
fae02306c8 add members_modal and reference it in createDirectChannel component 2022-11-10 12:26:27 -06:00
Jason Frerich
461f49cf6c move members components to the members_modal folder and reference from
createDirectChannel component
2022-11-10 09:28:49 -06:00
Elias Nahum
57ae3bbc7b fix pods 2022-11-09 00:36:57 +02:00
Elias Nahum
ae0eb43793 [Gekidou] EMM fixes (#6730) 2022-11-08 22:49:39 +02:00
Christopher Poile
7038a17ef4 MM-48000: Call started in another client creates a CurrentCall on mobile client (#6708)
* move creating/leaving currentCall into the connection; refactoring

* refactoring; two-stage connecting so existing screen stream can be saved

* better separation of concerns

* change warning to debug

* use getServerDatabase instead of getActiveServerDatabase

* fix bugs

* PR comments
2022-11-08 14:45:10 -05:00
Jason Frerich
23194034da [Gekidou MM-47765] Add horizontal padding to empty results (#6745) 2022-11-08 12:54:57 -06:00
Daniel Espino García
579eb2d4cd Remove no longer needed todos (#6748) 2022-11-08 20:33:22 +02:00
Julian Mondragon
00914016b8 Merge branch 'gekidou' of https://github.com/mattermost/mattermost-mobile into MM-39720 2022-11-08 11:09:15 -05:00
Christopher Poile
8374d7e87f MM-47004 - Calls: Client-side errors for microphone permissions (#6669)
* call error bar for microphone permissions; global permissions state

* i18n

* refactor permissionErrorBar component, PR comments

* add module dependency's mocks for tests

* fix error bar height

* change permissions error text

* working on 46999 redo audio handling -- will revert

* Revert "working on 46999 redo audio handling -- will revert"

This reverts commit 87bafc452c6ad6e1d7ae79ce78a0f2b461c2f150.

* only get voice track when we have mic permissions

* Android: enable mic when permissions are granted
2022-11-08 10:52:52 -05:00
Javier Aguirre
cc5331f2ba The value wasn't unique (#6731) 2022-11-08 10:27:52 +02:00
Christopher Poile
7f5dc3c718 MM-47763 - Calls: "who is speaking" state (#6721)
* move voiceOn to the currentCall state

* simplify

* prefer no inline fns
2022-11-07 17:11:40 -05:00
Christopher Poile
e38e547ce2 MM-45972 - Calls: test ws messages when app is in background (#6720)
* update current call on reconnect

* move loadConfigAndCalls above deferredAppEntryActions
2022-11-07 16:29:59 -05:00
Matthew Birtch
1d4806d7b0 udpated theme color and position of unread dot and adjusted border radius on selected team (#6738) 2022-11-07 05:09:17 +02:00
Matthew Birtch
8e6c452256 change generic file icon to paperclip icon (#6739) 2022-11-07 05:09:03 +02:00
Elias Nahum
d8504b822c Update denim theme link color (#6733) 2022-11-04 20:57:12 +04:00
Julian Mondragon
46b4d46e56 MM-39720_Invite People - phase 1
intl character
2022-11-03 12:16:20 -05:00
Mylon Suren
684bbb4aef Remove down arrow next to team name and make team name unclickable (#6715) 2022-11-03 17:37:58 +02:00
Julian Mondragon
51329fb36c MM-39720_Invite People - phase 1
address feedback
2022-11-03 10:15:28 -05:00
Jason Frerich
88ff8fac30 [Bug] Emit boolean with "of" operator (#6729) 2022-11-02 19:35:23 -05:00
Julian Mondragon
eef43619fc MM-39720_Invite People - phase 1
Plus menu separator
2022-11-02 13:51:17 -05:00
Jason Frerich
debcc99480 [Gekidou MM-48006] Show keyboard when select a modifier (#6714) 2022-11-02 12:15:54 -05:00
Julian Mondragon
647cd4c9c2 MM-39720_Invite People - phase 1 2022-10-31 18:12:03 -05:00
Daniel Espino García
f033a28eb2 Make so Autocomplete opens when we use the at quick action (#6613)
* Make so Autocomplete opens when we use the at quick action

* Open keyboard when the quick action is pressed
2022-10-31 18:02:44 +01:00
Jason Frerich
b58b425909 [Gekidou - MM-47656] Members List UI Changes (#6698) 2022-10-31 09:44:04 -05:00
Daniel Espino García
bb0322321e Fetch and store bindings (#6660)
* Fetch and store bindings

* Fix navigate and form opening
2022-10-28 17:08:28 -04:00
Guillermo Vayá
fd7ab546e0 don't bold muted channels (#6713) 2022-10-28 10:53:29 -03:00
Anurag Shivarathri
04c3533b95 [Gekidou MM-47224] Don’t show in app notifications for the active thread (#6704)
* Conditions fix

* Comments fix
2022-10-28 10:04:58 -03:00
Jason Frerich
d26d000ce3 [Gekidou MM-47999, MM-48005] Remove unusable modifiers, default team picker to current team (#6709)
* add showMore component only when exceeding 4 modifier elements

* rename variable

* When the user switches teams, default search screen to to that team
2022-10-28 10:04:30 -03:00
Elias Nahum
2eb52990ca apply heading style to hashtags (#6710) 2022-10-28 10:02:32 -03:00
Matthew Birtch
14cc74fdb9 update team sidebar's background color to match with the theme color used in the webapp (#6711) 2022-10-28 10:01:51 -03:00
Jason Frerich
c627fb8df9 [Gekidou MM-46229] Add hideAndLock, showAndUnlock callbacks for Search (#6677)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-10-27 22:04:26 -05:00
Christopher Poile
67342246eb MM-45754 - Calls: Add current call bar to thread screen (#6628)
* remove isCallsPluginEnabled; add current call bar to thread screen

* popTo thread/call screen; updateProps in dismissAllModalsAndPopToScreen

* remove unneeded withServerUrl; only updateProps if needed
2022-10-25 21:34:51 -04:00
Daniel Espino García
bb051b83b9 Use always first the local channels (#6594)
* Use always first the local channels

* Fix several race condition related issues

* Remove clean after cursor change

* Address feedback

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Daniel Espino <danielespino@MacBook-Pro-de-Daniel.local>
2022-10-24 10:55:31 +02:00
Daniel Espino García
c82c634523 Hide autocomplete when the input is blurred. (#6692) 2022-10-21 10:35:59 +02:00
Elias Nahum
0be105e8fb Fix gallery header & footer as well as download video toast (#6695) 2022-10-20 10:19:04 -03:00
Elias Nahum
e5d2e1d364 auto update timezone when device changes its location (#6691) 2022-10-20 10:18:41 -03:00