Daniel Espino García
5a610f1620
Fix post priority bottom sheet ( #7350 )
...
* Fix post priority bottom sheet
* Remove unneeded tablet handling
2023-05-16 19:13:06 +02:00
Daniel Espino García
162cdfb21d
Handle currentUser not available throught the app and refetch it ( #7333 )
...
* Handle currentUser not available throught the app and refetch it
* Address feedback
2023-05-05 15:40:59 -04:00
Christopher Poile
c90ace706c
MM-49970 - Calls: Call quality status banner ( #7304 )
...
* use mean opinion score detection; add call quality alert bar; tests
* rename MessageBar's file to message_bar
* i18n
* use mosThreshold from calls-common; upgrade calls-common
* use callsBg for text and icon
2023-05-04 15:28:15 -04:00
Christopher Poile
f8f6839945
MM-51228 - Calls: UX redesign & theming support ( #7283 )
...
* UX redesign
* fix call bar profile on Android
* update @mattermost/calls; use common color utils
* collapseIcon and time colour fixes (not correct yet on Onyx or Quartz)
* fix time and collapseIcon colors; fix unavailable wrapper
* center users, scroll when full; statusBar bg and styling
* better spacing; better screenshare; no reaction bar when no reactions
* remove margins from bottom; speaker/react buttonOn colour is now callsBg
* update calls-common; update raised hand button colors
* i18n
* cleaning up style sheets
* fix package-lock
* fix vertical alignment of phone icon
* add a noBorder prop to UserAvatarsStack
* typography, icon sizing, spacing changes
* add rounded header; UI improvements; refactor observables
* updating phone icon, join call margins
* join call text; color theming
* remove unneeded container
* phone-outline -> phone
* split CallsChannelState into boolean components
* use sidebar bg to generate calls bg
* fix hand icon, button texts
2023-05-04 14:17:17 -04:00
Christopher Poile
c1430757b8
MM-51776 - Calls: Audio device selections, & fix bluetooth ( #7286 )
...
* ask for bluetooth permissions on Android
* new "switch audio device button" for Android
* i18n strings
* split audio_device_button into platform-specific files; PR comments
* earpiece -> phone
* add comments to clarify speakerphone logic
* update snapshots
* add new compass-icons; use tablet and bluetooth icons; add tablet mode
* fix lint
2023-04-27 11:44:14 -04:00
Elias Nahum
784b05fe97
Upgrade Dependencies ( #7299 )
...
* upgrade reanimated
* update devDependencies
* upgrade react-intl
* update react-native and some dependencies
* update react-native-permissions
* update RN
* use Share sheet for Report a problem
* update Sentry
* remove step to downloadWebRTC
* update detox deps
* feedback review
2023-04-21 12:16:54 -04:00
Christopher Poile
77f8eedb0a
MM-51227 - Calls: Landscape mode optimizations for screensharing ( #7226 )
...
* allow landscape for ios; optimize screensharing view; fix reactions
* UX changes
* UX changes - top bar
2023-03-28 18:00:11 -03:00
Christopher Poile
c0cb14e927
MM-50010 - Share common calls code between web and mobile ( #7211 )
...
* use calls/common rtcpeer; @calls -> @mmcalls
* gitpkg -> standalone github calls-common package
* use new mattermost/calls-common repo; add types to WebSocketMessages
* mmcalls/common -> mattermost/calls; use a version tag
2023-03-21 09:18:45 -04:00
Christopher Poile
bdaba41df1
MM-51226 - Calls: Emojis not showing in reaction stream ( #7198 )
2023-03-10 14:07:34 -05:00
Christopher Poile
03fe46f229
MM-48605: Calls - Fix for start time in join call banner is incorrect ( #7095 )
...
* "fix" the wrong start time
* cleanup unused field
2023-02-08 09:25:41 -05:00
Claudio Costa
ab50164d34
[MM-49996] Add /call recording slash command ( #7062 )
...
* Add slash command
* Fix alert
* Implement alert for recording errors
* Default locked
2023-02-06 21:14:22 -06:00
Elias Nahum
64a59aad55
Filter unused preferences ( #7015 )
...
* small preferences refactor
* filter unused preferences and fix removal of preferences in the db
* Feedback review
2023-01-30 21:00:19 +02:00
Elias Nahum
c1fbaffd3e
Support for Android Tablets & Foldable ( #7025 )
...
* Add Support for Android tablets & foldables
* add tablet and book posture
* Regenerate disposed observable on WindowInfoTracker
2023-01-26 20:31:18 +02:00
Elias Nahum
7aa5bd0611
Update Dependencies and bug fixes ( #7000 )
...
* update dependencies
* update dependencies
* feedback review
* update @mattermost/react-native-turbo-mailer
2023-01-24 09:14:23 +02:00
Christopher Poile
9a89259e96
MM-48836 - Calls: handle slash commands ( #6980 )
2023-01-23 20:08:33 +02:00
Christopher Poile
6c9c025d25
MM-49746 - Calls: Show call thread title in root calls post ( #6992 )
...
* add thread title to calls custom posts
* PR comments
2023-01-23 09:38:07 -05:00
Joseph Baylon
56d2d57291
Detox/E2E Maintenance: Fix broken iOS e2e tests
2022-12-15 14:47:33 -08:00
Christopher Poile
d34ff1c991
MM-48949 - Calls: Displayname not showing correctly in call screen ( #6850 )
2022-12-08 13:42:39 -05:00
Christopher Poile
73d91301e4
MM-48753 - Calls: New GA cloud limits ( #6819 )
...
* new GA cloud limits
* Update assets/base/i18n/en.json
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-12-02 16:14:14 -05:00
Christopher Poile
0f8798ca55
MM-48611 - Calls: Calls recording host controls and UI ( #6787 )
...
* implement recording permissions and UI
* fix bug when refusing recording while in call thread from call screen
* host controls and UI for recording
* button tweak, and fixing a i18n string issue
* PR comment
* backwards compat & don't show rec controls if not enabled
2022-11-30 11:20:00 -05:00
Christopher Poile
6660c134f5
MM-48072 - Calls: Implement recording permissions and UI for participants ( #6784 )
...
* implement recording permissions and UI
* fix bug when refusing recording while in call thread from call screen
* merge conflicts
2022-11-30 10:15:20 -05:00
Christopher Poile
89b94d0188
MM-48287 - Calls: Select and send emoji reactions ( #6781 )
...
* add emoji reactions in mobile
* use StyleSheet.create
* PR comment
* prefer no inline functions
* Revert "prefer no inline functions"
This reverts commit b3c4627daca631e50bccf41b4a9e538f902c82ee.
2022-11-25 12:17:06 -05:00
Christopher Poile
a300cc651e
MM-48286 - Calls: Emoji reactions, display incoming reactions ( #6780 )
2022-11-25 12:21:45 +01:00
Daniel Espino García
5fae120826
Add support for review app ( #6772 )
...
* Add app review
* Use overlay instead of modal
* Add fixes for ios
* i18n-extract
* Add to milliseconds function
* Address review feedback
* Add try to queryGlobalValue
* added app review illustration
* add feedback illustration
* Add animations and feedback bot message
* Restrict reviews to build environment variable
* Fix bug with "dont ask anymore"
* Add check for only supported servers
* Add missing change
* Use for await
Co-authored-by: Daniel Espino <danielespino@MacBook-Pro-de-Daniel.local>
Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
2022-11-24 18:52:15 +01: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
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
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
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
Christopher Poile
38b68733d0
MM-45755 - Calls: Unmute automatically in DM or GM channels ( #6627 )
...
* unmute in dm or gm channels
* refactor leave_and_join
* waitForReady -> waitForPeerConnection; 10ms -> 200ms check frequency
2022-09-08 13:40:55 -04:00
Christopher Poile
d30b97ba99
MM-45747 - Cloud freemium limits & Max participants limits ( #6578 )
2022-08-20 08:57:14 -04:00
Christopher Poile
7da253e310
MM-45945 - Calls: finish i18n of calls components and messages ( #6547 )
...
* finish i18n for calls components
* fix formatted time style bug
* prefer FormattedText
* more FormattedText
* merge conflicts
* PR comments on copy
2022-08-11 16:10:28 -04:00
Daniel Espino García
f4e6917185
Ensure no unresolved types in the definition files ( #6521 )
...
* Ensure no unresolved types in the definition files
* Address feedback and general cleanup
* Move import from @constants/x to @constants where relevant
* Remove unneeded "import as"
2022-08-05 14:36:19 +02:00
Christopher Poile
f61ea842af
MM-45746 - Handle call_end ws event and '/call end' slash command ( #6542 )
2022-08-05 07:39:10 -04:00
Christopher Poile
17dbfdcb99
MM-45745 - Calls channel info screen options ( #6502 )
...
* implement calls_channel_info; joinCall refactoring
* i18n
* Start/Join call as top button; movable copy channel link button
* MM-45971 - Calls v2 PR comments (#6514 )
* don't clobber config if api req failed
* combine two loops into one
* update dependencies
* fetch user model on user connected
* fix state exports; spacing; unneeded field in ServerConfig type
* remove useless return in websocket handler
* constant sorting
* move microphone permission request to leave_and_join_alert
* ServerConfig -> ServerCallsConfig
* console.log -> logError
* ternary -> Platform.select
* merge conflicts
* add destructive options to OptionBox; require DismissChannelInfo fn
* add CopyLink option to quick actions list
* showSnackBar on link copied
* adjust quick_options_height
* Screens.Call
* fix CopyLink spacing
* fix observeUsersById, observe needed columns; fix JoinCallBanner mount
* optimized observables; bug fixes
* remove unneeded `return null`
* PR comments
* readable-stream -> 3.6.0
* merge conflicts
* PR comments
2022-07-29 11:10:32 -04:00
Christopher Poile
6c5043d598
MM-45744 - Calls mobile: Implement banner spacing ( #6490 )
...
* adjust more_messages banner with props
2022-07-29 10:26:31 -04:00
Christopher Poile
5bb240dec8
MM-43300: Calls v2 first cut ( #6475 )
...
* Android and iOS requirements
* external types
* babel config for calls, package.json for calls dependencies
* state in rxJS; tests
* actions, client/rest, websocket events, constants
* webrtc connection logic
* calls components / screens
* handle peer destroyed gracefully
* PR comments
* remove ViewPropTypes from mocks; no need to ignore error in LogBox
* calls.d.ts -> calls.ts; i18-extract
* @app/products/calls -> @calls
* PR comments; test cleanup
* Revert "remove ViewPropTypes from mocks; no need to ignore error in LogBox"
This reverts commit f9bd171a544de9c02da8387455f904b3840fc5dc.
* working on typing withServerUrl
* added exportedForInternalUse instead of commenting "internal export"
* better switchToThread in call_screen
* i18n
* typed withServerUrl
2022-07-22 15:57:12 -04:00