* [IMPROVE] Remove show message in main thread preference
* default settings
* created the get
* fix compare server version
* fix E2E tests
* settings to logged user
* remove constant and get alsosendtochannel from user
* fix send to channel first message
* fix when the alsoSendThreadToChannel is checked
* added list picker user preference
* tweaks in messagebox tmid and detox
* added pt-br and deleted expectToBeVisible id
* reactive alsoSendThreadTOChannel
* fix the behavior when press or long press threads messages
* remove reply in thread from threads
* clean helpers detox
* tweak onMessageLongPress and onSubmit
* Remove unnecessary calculations inside ListPicker
* Fix long press logic
* Fix onReplyInit logic
* fix data_setup at detox for servers greater than 5.0
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [IMPROVE] Add emoji picker to iOS
* clean left and right buttons
* fix the redux in emojipicker
* fix behavior when emoji keyboard is openning
* added isIOS
* fix show reactions when emoji is open
* minor tweak
* add provider
* fix baseurl
* minor tweak
* create closeEmojiAndAction and added to record
* fix actionsheet for omnichannel
* fix action sheet
* fix close emoji when navigate to other screen
* added iactionsheetprovider to roomview
* clean variables
* fix theme
* close the emojikeyboard when click on message
* apoint package.json to new pr
* fix branch
* fix package.json
* chore: migrate TextInput from class to functional
* removing the theme props
* adding tests for the FormTextInput
* minor tweak
* applying changes requested
* changing the way we import/export the FormTextInput and TextInput
* removing left comments
* minor tweak
* fix import
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
* changing from `containers/TextInput` to `containers/TexInput/FormTextInput`
* changing from `presentation/TextInput` to `containers/TexInput/index`
* update storybook
* update status view after merge with develop
* removing `app/containers/__snapshots__/TextInput.stories.storyshot` in favor from `app/containers/TextInput/__snapshots`
* Chore: Evaluate RoomView - TypeScript
* fix messagebox and list refs
* fix the refs
* refactor other refs
* remove any from privates
* storyshot tweak
* 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>
* update: `BackgroundContainer` and `ActivityIndicator`
* update: return type for `RCActivityIndicator`
* update: return type for `BackgroundContainer`
* [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: 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
* Updated detox and 5 tests
* Update e2e cases for Detox v18, update setUserStatus and added SET_STATUS_FAIL
* Downgrade mocha
* Exclude arm64 from building and update tests cases
* Update more tests cases, add registeringUser4
* Update more test files and add room-actions-scrollview testID
* Update package.json
* Remove unused username from test file and update 08-roominfo test file
* Fixing
* Mark as unread
* Fixing flaky tests
* Minor fixes
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [Improvement] Improve mentions
This PR focuses on improving command, emoji, channel and user mentions.
* [Tests] Added e2e tests for mention improvement
* [Improvement] Modify slash command mention logic.
Added slash command with argument preview
Slash command should show only if the message bigins with /
* Return data on search for empty text
* Minor fixes
* Update e2e tests
* Minor fix
* [FIX] allow command mentioning in between text
Co-authored-by: Diego Mello <diegolmello@gmail.com>