Christopher Poile
53b011068e
[MM-58561] Calls: Add stop recording confirmation; update call screen ( #8007 )
...
* add rec confirmation; update call screen
* add EnableTranscriptions to dep array
* remove unneeded asyncs
* properly center title; fix horizontal spacing for title buttons
* cleanup
2024-06-19 17:01:49 -04:00
Elias Nahum
b8c088cc70
Upgrade RN as well as update or replace other dependencies ( #8011 )
...
* start upgrade to RN 74
* migrate react-native-fs to expo-file-system
* exclude expo-asset module
* fix database manager remove directory
* fix: android network helper
* include expo on android
* temporarily disable android dep lock
* replace react-native-create-thumbnail with expo-video-thumnails
* update patches file version
* fix android build on 74
* create local library to replace MattermostManaged, Notifications and SplitView modules with new arch support
* migrate app to use new mattermost-rnutils library
* remove unused flipper class for android unsigned
* fix mattermost-rnutils android foldedObserver lifecycle
* use mattermost-rnutils on Android
* use mattermost-rnutils on iOS
* path react-native-navigation to not crash when activity is not NavigationActivity
* create local library for android share extension with new arch support
* Replace ShareModule with @mattermost/rnshare library
* remove ShareModule from android native code
* update react-intl
* update nodejs to 20.x.x npm to 10.x.x and dev deps
* update @gorhom/bottom-sheet
* use MattermostShare conditionally based on the platform
* update @react-native-camera-roll/camera-roll
* remove unused react-native-calendars
* fix metro config
* fix terminate session race condition
* remove unused analytics
* replace react-native-device-info with expo-application and expo-device
* update @react-native-clipboard/clipboard
* update @react-native-community/datetimepicker
* update @react-native-community/netinfo
* update @sentry/react-native
* update react-native-document-picker
* update react-native-gesture-handler
* update react-native-share
* update react-native-svg and react-native-svg-transformer
* update react-native-vector-icons
* update babel
* update react-native-shadow-2
* update semver
* remove react-native-svg-transformer and convert svg files to svg components
* fix @mattermost/rnshare new-arch build on android
* remove react-native-create-thumbnail resolution in build.gradle
* create @mattermost/hardware-keyboard library to replace hw-keyboard-events
* fix hardware-keyboard library
* fix rnutils library
* create @mattermost/keyboard-tracker library
* replace react-native-keyboard-tracking-view with @mattermost/keyboard-tracker
* fix: rnutils to not crash on lateinit context
* fix: rnutils delete database
* revert changes to session_manager
* Removed react-native-webview and added expo-web-browser instead
With expo-web-browser we no longer need the webview for SSO login
the SSO login is now done by using "custom Chrome tabs" on Android
and ASWebAuthenticationSession on iOS
* remove patch for react-native-keyboard-tracking-view
* replace react-native-linear-gradient with expo-linear-gradient
* replace react-native-in-app-review with expo-store-review
* fix: shared group database directory on ios
* replace react-native-fast-image with expo-image
* remove unusued type def for react-native-keyboard-tracking-view
* replace react-native-elements and react-native-button with @rneui
* node version
* update sizzling methods
* fix tests using jest-expo
* replace jail-monkey with expo-device
* update babel deps
* update typescript eslint
* update rn and expo
* react-native-document-picker @react-native-camera-roll/camera-roll @react-native-community/datetimepicker react-native-reanimated react-native-safe-area-context
* update patches
* update @sentry/react-native
* upgrade react-native-navigation
* update expo & expo-image
* upgrade to working version of @sentry/react-native
* update node, cocoapods, bundler, fastlane versions
* @testing-library/react-native and eslint-plugin-jest
* fix: FloatingTextInput causing a crash with reanimated
* update sentry, localize, @types/lodash and uuid
* fix floating text input label
* update react-native-video
* fix: cannot calculate shadow efficiently on some components
* fix: reduce motion warning for bottomSheet
* fix: shadow on YouTube component
* update react-native-webrtc expo and @typescript-eslint
* audit fix
* fix swizzling bad merge
* temp use of github dependency for @mattermost libraries
* feedback review
* feedback review
* npm audit fix
* update bundle deps
* update @mattermost/react-native-turbo-log
* update deps
2024-06-19 09:33:45 +08:00
Christopher Poile
1f2a71c499
[MM-58581] Calls: End call confirmations ( #8004 )
...
* end call confirmations
* i18n
* remove unneeded asyncs
* better alert for android
2024-06-18 10:02:24 -04:00
Christopher Poile
c93e16218a
[MM-57250] Calls: Provide feedback after user clicks Start call ( #7967 )
...
* make joinCall async; adding loading spinner to join/start button
* always close channelInfo
* i18n
* change how we compute active text
* use isPreferred for leave & join call button
* add joiningChannelId to calls state to track when joining a call
2024-06-06 15:39:15 -04:00
Christopher Poile
3f7fa8b1a1
[MM-57267] Calls: Update post UI ( #7965 )
...
* MM-58259 - allow current host to run /end call; fix deprecated test fns
* update call card UI
* update call ended icon
* make joinCall async; adding loading spinner to join/start button
* Revert "make joinCall async; adding loading spinner to join/start button"
This reverts commit bbb136690702c46ce2d4430a6b49aa96f143fb5e.
* shadowRadius 3 -> 1
2024-05-24 14:16:28 -04:00
Christopher Poile
4e68662899
[MM-57019] Calls: Live captions support for mobile ( #7854 )
...
* mobile support for live captions
* add the 'Live captions turned on' ephemeral notice
* PR comments
* message should be translatable
* run i18n-extract
* call_recording_state -> call_job_state; ccAvailable is now dynamic
* backwards compatibility with pre calls v0.26.0
* correct mobile version in deprecation comments
---------
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2024-03-20 09:10:05 -04:00
Elias Nahum
3653df354d
Revert "Channel Bookmarks ( #7750 )" ( #7816 )
...
* Revert "Channel Bookmarks (#7750 )"
This reverts commit 2c5c878829 .
2024-02-07 07:52:55 +08:00
Elias Nahum
2c5c878829
Channel Bookmarks ( #7750 )
2024-02-05 17:07:01 +08:00
Christopher Poile
d6566b591a
MM-54866 - Calls: Transcription notifications ( #7704 )
2023-12-21 17:19:28 -05:00
Elias Nahum
de57c343f0
MM-55621 fix layout for tablets and foldables ( #7697 )
...
* MM-55621 fix layout for tablets and foldables
* feedback review
2023-12-05 11:08:43 +08:00
Elias Nahum
edef4ec4a3
Update libraries and dependencies ( #7678 )
...
* update js dependencies
* update react-native libraries
* update watermelonDB
* update RN to 0.72.7
* update fastlane
* fix remove_markdown/at_mention import
* update mattermost libraries
* update fastlane deps
* remove haptic-feedback patch
* update okhttp to 4.12.0 and patch netinfo to accurately identify VPN connections
* create ImaegStyles intersection type
2023-11-25 07:46:13 +08:00
Christopher Poile
6baa850d36
MM-54277 - Calls: Add incoming banners to channel_list screen ( #7673 )
2023-11-22 16:56:27 -05:00
Christopher Poile
c9fe72460b
MM-54865 - Calls: Multisession support ( #7647 )
...
* add multisession support for calls mobile
* ensure backwards compatibility
* remove extra line
2023-11-16 14:30:49 -05:00
Christopher Poile
f0334d8c0e
MM-54323 - Calls: Incoming call from different server ( #7646 )
...
* refactor; tried to clarify more_messages; new design
* adjust more_messages text spacing
* small fix for height with incoming call on current channel
* move calls-specific code in the calls product behind a hook
* show servername for notifications from other servers
* if >1 active servers, always show server name, otherwise don't
* add height of notification bar in measurements
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-14 17:03:55 -05:00
Christopher Poile
332aab134e
MM-55010 - Calls: more messages bar adjustments ( #7620 )
...
* refactor; tried to clarify more_messages; new design
* adjust more_messages text spacing
* small fix for height with incoming call on current channel
* move calls-specific code in the calls product behind a hook
2023-11-03 17:51:32 -04:00
Christopher Poile
a0b1367fd3
MM-54278 - Calls banners redesign ( #7611 )
...
* join call banner
* same style of voice-on indicator; avatar & emoji sizing spacing polish
* refactor all calls bars; new calls bars UI designs
* i18n changes
* fix for warning bar's close icon color
* refactor banners to normalize UI; new 'noone is talking' design
* fix for avatar in current call bar
* change design for incoming call on calls screen
* remove commented out code
2023-11-03 16:23:12 -04:00
Christopher Poile
0ec2b09fd5
MM-54117 - Calls: Support wiredHeadsets; generalize panel_item ( #7545 )
...
* generalize panel_item; support wiredHeadsets
* i18n
2023-09-25 08:45:14 -04:00
Christopher Poile
83f81985cd
MM-53486 - Incoming calls notification banner ( #7477 )
...
* upgrade calls-common
* incoming call notifications
* tests
* i18n
* PR comments
* PR comments
* PR comment
2023-08-30 13:58:54 -04:00
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