* Chore: Migrate i18n to Typescript and fix the Left and Right actions in RoomItem
* remove fix to roomItem
* update storyshot
* Chore: Migrate i18n to Typescript and fix the Left and Right actions in RoomItem
* remove fix to roomItem
* update storyshot
* fix removed itens
* fix changes requested
* interface for i18n, added resolveJsonModule to tsconfig.json
* tweak at error alert
* fix storyshot
* refactor comments
* create function isTranslated
* fix accessibilityLabel
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Upgrade @types/react-native to 0.64.2
* minor tweak in comment
* minor tweak
* Chore: Upgrade @types/react-native to 0.64.2
* minor tweak in comment
* minor tweak
* fix accessibility within bordelessbutton
* change Navigation to appNavigation and move to navigation folder
* change ShareNavigation to shareNavigation and move to navigation folder
* fix navigation import
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* create TSubscription type
* move logoutOtherLocations to restApis
* mvoe getUserInfo to restApi
* move constants to lib folder
* change Rocketchat methods to sdk methods
* move toggleFavorite to restApis
* move functions to rocketchat folder
* delete old rocketchat file :)
* fix imports
* fix lint and return types
* Fix subscribe to rooms not getting called
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* add: @react-native-clipboard/clipboard
* create jest.setup.js file and centralizes all mocks on these folder for jest
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
* Chore: Migrate containers: List to Typescript
* minor tweak
* fix storyshot List - item flatlist
* fix IListContainer
* fix type of childrens
* minor tweak
* [FIX] Display added user to team
* tweak when remove members from team too
* update storyshot
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
* update: `BackgroundContainer` and `ActivityIndicator`
* update: return type for `RCActivityIndicator`
* update: return type for `BackgroundContainer`
* Chore: Migrate methods/actions to Typescript
* tweak in actions
* Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
* refactor sdk.current
* interface and uikit done
* refactor interface, index and utils from UiKit
* minor tweak
* minor tweak
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
* [FIX] Mention suggestion concatenate to query string
* Add function to get regexp and its tests in separate files
* Update getRegexp.ts
* Update file names
* Try new regex
* One regex for all mention types
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
* chore: updating mmkv library
* feat: updating android ejson to use the getSecureKey new version
* feat: updating IOS files to use the getSecureKey new version
* feat: changing all mmkv methods to use sync calls
* feat: changing mmkv methods from Screen lock
* feat: changing all mmkv methods from login, ssl certificate and change/add server
* feat: changing all mmkv methods from login, ssl certificate and change/add server
* feat: changing all mmkv methods from logout
* feat: changing all mmkv methods from e2e
* fix: small fix at encryption and server drop down
* feat: changing all mmkv methods from set theme
* feat: changing all mmkv methods from openLink
* fix: setting up mmkv to works property on Android
* fix: fix an error to set the theme when open the app
* refactor: change the react-native branch (temporary)
* refactor: removing all `Async` from mmkv functions name
* refactor: removing await from unnecessary functions, removing console.log and update cocoapods
* refactor: removing unnecessary undefined from methods
* feat: creating a custom hook for mmkv
* refactor: changing the fetchPasscode to use the useUserPreferences hook
* refactor: changing setTheme from app/index
* refactor: small fix on setTheme
* chore: update mmkv to 0.6.11
* chore: update mmkv to 0.6.11
* chore: minor tweak
* chore: update mmkv to 0.6.12
* chore: mock NativeModules
* chore: fix test mmkv
* chore: removing custom MMKV JSI module, since is no more necessary after 0.6.11 version
* feat: removing some async calls from mmkv after update from develop
* feat: creating a function to get the initialTheme
* feat: removing unnecessary try/catch
* fix: fixing the blink white when open the app
* feat: changing useMMKVStorage to create from mmkv lib
* test: creating a mock for mmkv create function
* chore: fix errors on tablet
* minor tweak
* Chore: Migrate methods/loadSurroundingMessages to Typescript
* tweaks
* tweak
* tweak
* tweaks to make ts happy
* instead as IMessage is optional u
* enum to MessageTypeLoad
* minor tweaks
* chore: start the migration
* chore: update sendFileMessage to ts
* chore: removing an `any` from uploadQueue
* chore: minor tweak
* chore: minor tweak
* chore: minor tweaks after merge with developer
* chore: minor tweak after merge develop into current
* Chore: Migrate Markdown to TS
* Chore: Migrate Markdown to TS
* minor tweak
* added preview where markdown was preview and fixed params within markdown
* removed ts-ignore
* fix lint
* removed numbersofline={0} and default value to numberOfLines=1
* change how to import markdown preview and remove numberOfLines
* using useTheme inside markdownPreview and remove theme from components
* minor tweak on interfaces
* isNewMarkdown return as boolean
* minor tweaks
* minor tweaks
* removed unused component
* fixed markdown stories
* updated snapshot because removed numberOfLines={0} from message/content
* create IEmoji.ts in definitions and refactor all places where getCustomEmoji was called
* onLinkPress typed
* todo: refactor navtoroominfo
* formatText.test.ts
* markdown stories to typescript too
* minor tweak
* IMessage definition
* refactor: update new types and interfaces for use ISubscription
* refactor: update threadItem for use new MarkdownPreview
* refactor: rollback wrong file commited
* formatHyperlink
* fix lint
* updated item story shot
* refactor and refactor some types
* Remove non-null assertion
* Minor change on useRealName
* tweak
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [FIX] Regression: Prevent duplicated .jpg on file upload
* refactor to all files typed as image/jpeg
* isolate regexp to function
* refactor forceJpgExtension
* clean
* minor tweak
* [FIX] Regression: Prevent duplicated .jpg on file upload
* refactor to all files typed as image/jpeg
* isolate regexp to function
* refactor forceJpgExtension
* clean
* minor tweak
* refactored comment
* Chore: Migrate LivechatEditView to Typescript
* refactor: minor tweak
* refactor: fix the interfaces for input
* refactor: fix lint erros
* minor tweak with new navigation types
* function
* iroom tweak
* livechateditview tweak
* TextInput tweak
* refactor: update new types and interfaces for use ISubscription
* refactor to default useState type
* change the component name in SearchBox
* changed state type
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Gerzon Z <gerzonc@icloud.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate CannedResponsesListView to TS
* Moved IcannedResponse to definitions and fixed the index
* Chore: Migrate CannedResponseDetail to TS
* minor tweaks
* refactor: update new types and interfaces for use ISubscription
* fix lint error and canned responses's dropdown
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>