Commit graph

56 commits

Author SHA1 Message Date
Daniel Espino García
cff12f7182
Enable exhaustive deps in the repo (#9508)
* Enable exhaustive deps in the repo

* Add tests for the new hooks

* Update claude.md

* Remove pre-commit overwrite
2026-02-18 11:56:16 +01:00
Matthew Birtch
4ba3099d69
MM-62240 illustration updates (#9308)
* update onboarding illustrations and background

* update forgot password illustration

* updated mfa illustration

* updated text style on forgot password

* Update background.tsx

* optimize background svg
2025-12-05 08:31:59 -05:00
Lucas Reis
d38bf60050
Disable Animations when Accessibility configuration is to remove it (#8743)
* feat: add support for reduced motion in BottomSheet and TabBar components

* fix: remove reduceMotion option from animation timing in login, onboarding, and server screens

* feat: integrate reduced motion support to the entire app and switch accordingly

* feat: positions the Login screen differently if animations are disabled

* fix: remove mock implementation of useReducedMotion in react-native-reanimated

* revert login screen

* fix: remove unused effect that resets translateX value in LoginOptions

* feat: add reduced motion support to ForgotPassword screen and reset translateX on LoginOptions mount

* feat: integrate reduced motion support in Onboarding and Slide components

* feat: add reduced motion support to MFA and SSO screens

* feat: update ReducedMotionConfig to use system preference in withServerDatabase

* refactor: remove ReducedMotionConfig from withServerDatabase component

* feat: remove reduced motion configuration from screens and adjust animations accordingly

* feat: integrate reduced motion handling in Server component animations

* feat: enhance BottomSheet animation with reduced motion support and update test setup for react-native-reanimated

* fix: update channel list row snapshots with collapsable and animated props

* test: update react-native-reanimated mock setup for improved testing

* fix: enhance react-native-reanimated mock to support reduced motion and prevent default call

* fix: refactor animationConfigs to use useMemo for improved performance and clarity

* feat: implement screen transition animation hook and integrate it into ForgotPassword screen

* fix: refactor LoginOptions to utilize useScreenTransitionAnimation for improved animation handling

* refactor: streamline MFA component by removing unused imports and integrating useScreenTransitionAnimation for enhanced transitions

* refactor: simplify Onboarding component by removing unused imports and integrating useScreenTransitionAnimation for smoother transitions

* refactor: enhance useScreenTransitionAnimation hook to support animated transitions and integrate it into Server component

* refactor: replace custom animation logic with useScreenTransitionAnimation in SSO component for improved transition handling
2025-06-26 11:25:48 +02:00
Daniel Espino García
2ad6fec90f
Unify buttons (#8865)
* Unity buttons

* Fix texts and use defineMessages

* Update snapshots

* Fix disabled style
2025-05-30 15:59:15 +02:00
Daniel Espino García
5c2153f83b
Add Report a Problem functionality (#8605)
* Add Report a Problem functionality

* update cache pinned SHA version from 4.0.2 to 4.2.0

* Address feedback

* Fix tests

* Fix some issues and update kotlin coroutines version

* Fix delete file for iOS

* Bump 1 more version for coroutines

* Use rxjava instead of kotlin coroutines to avoid security issue

* Move path prefix to avoid test error

* Address feedback

* Address feedback

* Address feedback

* Use mailto on iOS

* Fix tests related to button changes

* Address feedback

* Update icon and fix onboarding buttons

* Fix test

---------

Co-authored-by: Angelos Kyratzakos <angelos.kyratzakos@mattermost.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-04-24 11:12:55 +02:00
Elias Nahum
a5a1e53827
Biometric prompt, Jailbreak / Root detection and screenshot prevention (#8645)
* Handle biometric authentication

* jailbreak/root detection and biometric small fixes

* remove server from initializeSecurityManager and fix loginEntry

* Add screen capture prevention and other small fixes

* added unit tests to SecurityManager

* added shielded nativeID to protect views

* use MobilePreventScreenCapture instead of MobileAllowScreenshots in config type definition

* Apply Swizzle for screen capture on iOS

* Apply patch to bottom sheet to prevent screen captures

* fix ios sendReply

* Fix SDWebImage swizzle to use the correct session

* Fix potential crash on Android when using hardware keyboard

* rename patch for network library to remove warning

* add temp emm reference

* fix initializeSecurityManager tests

* fix translations

* use siteName for jailbreak detection when connecting to a new server

* fix i18n typo

* do not query the entire config from the db only the required fields

* migrate manage_apps to use defineMessages

* use TestHelper.wait in tests

* use defineMessages for security manager

* fix missing else statement for gm_to_channel

* created a TestHelper function to mockQuery and replace as jest.Mock with jest.mocked

* fix unit tests

* fix unit tests (again) and include setting the test environment to UTC

* Fix keyboard disappearing on iOS

* update react-native-emm
2025-03-13 14:07:41 -04:00
Daniel Espino García
780f623274
Remove motion reducer from critical animations (#7786)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-29 17:35:58 +01:00
Pablo Andrés Vélez Vidal
a576f7c97e
MM-53586 - small fixes in onboarding screens (#7444)
* MM-53586 - small fixes in onboarding screens

* remove the min-width and set the fixed button width
2023-07-18 10:01:31 +02: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
Elias Nahum
37bc95cf1e
Fix the animation that occurs in login flow (#7054) 2023-01-30 11:58:44 +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
Elias Nahum
e294b07418
Add DeepLink support (#6869) 2022-12-16 18:57:15 +02:00
Pablo Velez Vidal
7039f8b508 remove nnecessary slidesRef dependency 2022-11-29 16:15:16 +01:00
Pablo Velez Vidal
f6d4fe2e75 PR feedback refactor 2022-11-29 13:21:44 +01:00
Matthew Birtch
b7f6596265 added non-breaking hyphen to ensure real-time doesn't break 2022-11-25 17:02:23 -05:00
Matthew Birtch
3bea41041f updated styles to accommadate for max-width on tablet and minor spacing adjustments 2022-11-25 16:44:19 -05:00
Matthew Birtch
ed743a5414 updated styles to accommadate for max-width on tablet and minor spacing adjustments 2022-11-25 16:42:23 -05:00
Pablo Velez Vidal
b152dd7b64 fix linter 2022-11-25 19:08:31 +01:00
Pablo Velez Vidal
812bb61e3b fix blank screen animation 2022-11-25 16:00:40 +01:00
Pablo Velez Vidal
0aabcb9918 animate onboarding screen appear from screen to onboarding by clicking back button 2022-11-24 09:58:32 +01:00
Pablo Velez Vidal
fa7a605c8f fix dark theme dynamic change 2022-11-23 18:36:17 +01:00
Matthew Birtch
002c2c95eb fixed issue with masks in chat illustration 2022-11-18 09:32:10 -05:00
Pablo Velez Vidal
5b3d95c913 dark mode improvements, aligh icon vertically in next button 2022-11-18 15:14:34 +01:00
Matthew Birtch
2295ab46b5 updating illustrations 2022-11-17 17:33:05 -05:00
Pablo Velez Vidal
b8535c09bd modify animation times so it looks better and make slighter animation for ios 2022-11-17 19:36:16 +01:00
Pablo Velez Vidal
595238e9c1 fix some design pr feedback 2022-11-17 15:32:08 +01:00
Pablo Velez Vidal
0d5f86b0ab pr feedback, reorganize styles, move types to correct folder, remove unnecesary values 2022-11-16 18:07:05 +01:00
Pablo Velez Vidal
bdbbd2cb36 pr feedback: rename svg; remove unnecessary go to login screen logic; refactor save/getOnboardingViewed value function 2022-11-16 15:01:06 +01:00
Pablo Velez Vidal
6e3ed08163 remove unnecessarys console.log 2022-11-15 17:36:36 +01:00
Pablo Velez Vidal
9c1fd176f9 redirect to onboarding after deleting server; fix styles for server screen in IOS 2022-11-15 14:37:09 +01:00
Pablo Velez Vidal
375d64c35e Add logic to don't show the onboarding once it has been shown once 2022-11-15 00:11:24 +01:00
Pablo Velez Vidal
ca053ed9c4 more advances on initial launch 2022-11-12 17:06:07 +01:00
Pablo Velez Vidal
5b09f03ac1 make the redirect to login work 2022-11-11 22:30:36 +01:00
Pablo Velez Vidal
46b66a5baf initial logic for showing/not showing the onboarding 2022-11-10 15:27:35 +01:00
Pablo Velez Vidal
d11662508e make scroll to easing and depending on how many items to move, fix SVG 2022-11-09 13:03:31 +01:00
Pablo Velez Vidal
d9239f3996 remove the need for rerender the footer buttons when last slide 2022-11-08 16:39:50 +01:00
Pablo Velez Vidal
c9ae29f010 use svg correctly in react native style 2022-11-07 22:35:16 +01:00
Pablo Velez Vidal
564c8f2f8e fix animations for texts and buttons in footer 2022-11-07 18:44:11 +01:00
Pablo Velez Vidal
954d28e71e fix image opacity 2022-11-07 18:44:11 +01:00
Pablo Velez Vidal
63cc3e7413 add initial animation on load for first slide 2022-11-07 18:44:11 +01:00
Pablo Velez Vidal
d921da0e9d add types and translate to texts 2022-11-07 18:44:11 +01:00
Pablo Velez Vidal
3c64f308f1 fix all remaining animations using reanimate 2022-11-07 18:44:11 +01:00
Pablo Velez Vidal
d4547f3e7a fix the dots animation 2022-11-07 18:44:11 +01:00
Pablo Velez Vidal
5522b20084 animate final buttons and modify paginator animation 2022-11-07 18:44:11 +01:00
Pablo Velez Vidal
12ce554491 initial migration of everything using reanimated 2022-11-07 18:44:11 +01:00
Pablo Velez Vidal
88ef4fa9ed start the buttons animation 2022-11-07 18:44:11 +01:00
Pablo Velez Vidal
2a5237c024 add the outer dot style 2022-11-07 18:44:11 +01:00
Pablo Velez Vidal
90cac692b4 improve the animations for image and text 2022-11-07 18:44:11 +01:00
Pablo Velez Vidal
9f4207ddcf add initial animations to ttitle and text 2022-11-07 18:44:11 +01:00
Pablo Velez Vidal
f4abc5a20f extract the button to its own component; start text animations 2022-11-07 18:44:10 +01:00