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
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
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
Daniel Espino García
d28ee34aa3
Make androidBackHandler to update if the handler changes ( #7519 )
2023-08-31 10:31:55 +02: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
Harshal sanghvi
b94eb1d4d8
added Remember last viewed channel or thread on cold start feature ( #7434 )
...
* added last viewed feature
* added constants
* storing data in global table and added server col
* fixed stack screen"
* fixed values for crt
* fixed threadid store logic
2023-07-21 10:09:26 +02:00
Elias Nahum
5e9de9f4a2
Thread crash fix and other UI fixes ( #7342 )
...
* center align channel name in intro
* align custom status in channel header
* wrap long custom status on profile bottom sheet
* Fix LaTex render clipped on Android
* Add margin for users displayed in a list
* show user profile when tapping on self on channel members
* Fix Thread screen when rootId prop is undefined
* update snapshots
* fix server / login screen on small devices
2023-05-11 09:35:11 -04:00
Elias Nahum
3a416dc511
Fix Thread button crash ( #7330 )
...
* remove the right button component id
* do not render thread follow button
* use lodash uniqueId instead of uuid
2023-05-05 09:17:47 -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
Elias Nahum
4292c61a5c
small refactor to include thread follow button ( #7314 )
2023-04-27 11:49:46 -04:00
Elias Nahum
58d1b02d3a
Fix the query undefined comparison when threadId prop is not set by the navigation library ( #7302 )
2023-04-21 12:27:51 -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
Tanmay Vardhaman Thole
265c4fe8a6
[MM-42565] Toast - Follow/Unfollow thread with undo functionality ( #7267 )
2023-04-14 12:28:03 -04:00
Elias Nahum
6def5d9610
Process notifications when the app is in the background and other perf improvements ( #7129 )
2023-02-15 17:08:19 +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
Anurag Shivarathri
724d72d98a
[MM-47483] Activity Indicator while loading thread posts ( #6865 )
...
* Fix
* Addressing feedback
* Disabled pull to refresh when thread is being fetched
* Test fail fix
* Feedback changes
2022-12-17 01:15:22 +05:30
Daniel Espino García
28526034d4
Refactor makeStylesFromTheme to use the correct types ( #6801 )
...
* Refactor makeStylesFromTheme to use the correct types
* Address feedback
2022-12-12 10:53:54 +01:00
Elias Nahum
da5b877297
Refactor how keyboard tracking is resumed & paused ( #6822 )
...
* Refactor how keyboard tracking is resumed & paused
* Rector as a hook
2022-12-05 12:02:15 +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
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
afd818996e
Improve autocomplete behaviour ( #6559 )
...
* Fix positioning issues with Autocomplete
* Fix positioning for iOS and iPad
* Adapt search to new autocomplete approach
* Adapt for android
* Fix lint
* Fix calculations on channel edit
* Address feedback
* Address feedback
Co-authored-by: Daniel Espino <danielespino@MacBook-Pro-de-Daniel.local>
2022-08-13 08:34:26 -04:00
Anurag Shivarathri
690dd1e66e
[Gekidou MM-42242 MM-46043] Paginating Threads ( #6535 )
...
* Pagination and bug
* Feedback and version update
* Making the args optional
* Code refactor
2022-08-04 17:19:55 +05:30
Anurag Shivarathri
102789bbd9
[Gekidou MM-40089 MM-39318] CRT New Messages Line ( #6489 )
...
* New Messages Line + More Messages
* Misc
* Update app/actions/local/thread.ts
Co-authored-by: Avinash Lingaloo <avinashlng1080@gmail.com>
Co-authored-by: Avinash Lingaloo <avinashlng1080@gmail.com>
2022-07-22 17:28:14 +05:30
Anurag Shivarathri
247c515b01
[Gekidou] Thread auto follow on receiving new post when user is in a NOT-FOLLOWING thread ( #6448 )
...
* Fix
* Using queries
* Made thread optional
2022-06-30 20:34:28 +05:30
Joseph Baylon
558d83719c
Detox/E2E: Global threads e2e tests in Gekidou ( #6300 )
...
* Detox/E2E: Global threads e2e tests in Gekidou
* Revert update deps
2022-05-20 15:51:15 -07: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
Elias Nahum
591cfa1ae4
[Gekidou] Update DM and thread title/subtitle as well as navbar rounded corners ( #6247 )
...
* Update DM and thread title/subtitle as well as navbar rounded corners
* Fix rounded corners
* ux review
2022-05-09 12:45:44 -04:00
Elias Nahum
a5d85890dd
go back when root post is deleted in thread view ( #6246 )
2022-05-09 18:45:14 +05:30
Joseph Baylon
9d3c7c9496
Detox/E2E: Messaging e2e tests in Gekidou ( #6228 )
2022-05-05 13:04:33 -04:00
Elias Nahum
43c43e50d4
Do not set new line message indicator on own posts ( #6206 )
2022-05-03 14:43:55 -04:00
Anurag Shivarathri
313fe9c469
In-Channel experience ( #6141 )
...
* User avatar stack
* In-Channel experience
* Misc Fixes
* Fixed fetchPostThread & added observer
* Reusing the user component
* Refactor fix
* Moved some post options to common post options
* Combined follow/unfollow functions
* Feedback fixes
* Feedback fixes
* teamId fix
* Fixed teamId again
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-04-19 11:42:20 -04:00
Malik
1996224a4c
Merge pull request #6173 from mattermost/detox-channel-create-post-list
2022-04-19 08:47:51 +05:00
Elias Nahum
d547bddc2b
[Gekidou] optimizations, fix & moved files ( #6177 )
...
* Freeze unfocused tabs
* Fix syntax_highlight when multiple code blocks present in the same post
* Move @components/channel_list to @screens/home/channels_list/categories_list
* Update app/screens/channel/channel.tsx
Co-authored-by: Avinash Lingaloo <avinashlng1080@gmail.com>
* Add support for Freeze on Android
* Fix render on tablets
Co-authored-by: Avinash Lingaloo <avinashlng1080@gmail.com>
2022-04-18 08:49:17 -04:00
Joseph Baylon
2e2f49f8c3
Detox/E2E: Create Channel and Channel Post List e2e in Gekidou
2022-04-12 11:50:05 -07:00
Elias Nahum
ae3c9e2ef2
[Gekidou] bug fixes found with e2e tests ( #6130 )
...
* Fix Search users in Create Direct Message
* Fix UserListRow style for onPress
* Prevent create direct message & browse channels from being dismissed with a swipe
* Only display Edit header option when tapping in the channel intro
* Fix localization for ThreadFollowButton
* Prevent New channel screen from being dismiss with a swipe
2022-04-07 09:57:43 -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
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
fbdaff34c6
Fix thread_post_list to display first post completely
2022-03-22 23:41:30 -03:00
Elias Nahum
25022bb779
Move Thread screen from a modal to a pushed screen ( #6060 )
2022-03-18 12:44:55 -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
Anurag Shivarathri
5b44676985
[MM-39708] Gekidou Thread Screen ( #6015 )
...
* Thread screen
* misc
* Added snapshot for ThreadOverview
* Updated snapshot
* Misc
* Updated snapshot and ts fixes
* Made thread as a modal, fixes post list not closing on tablet
* Removed unsued variables
* Putting back the empty space before the root post (inverse list footer)
* Changed input text
* Removed empty footer space
* Misc fixes
* Disables new messages line for thread
* Loading threads before opening modal & BottomSheet componentId fix
* Moved merge navigation options to switchToThread
* Moved LeftButton to switch to thread
* Removed Q.and
* Misc fixes
* Added task id for pagination
* Removed useMemo, Q.and
* move thread close button as a prop
* Remove title font styles to use default
* Misc changes
* Misc fix
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-03-10 10:45:30 -03:00