* [IMPROVE] Option to show mentions badge
* fix the local database and mergeSubscriptions, missing the state in notificationPrefView
* finished the hideMentions
* fix the string version
* [NEW] Go to RoomView if the mentioned #channel is already joined
* Update stories and fix lint errors
* Use getSubscriptionByRoomId
* Fix channel name issue
* Use goRoom
* add jest-expo to jest preset
* update snapshot
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
* Migrate containers/Avatar to hooks
* Migrate to `useSelector` hook and `useRef`
* Change user object prop to primitive type
* fix re-render and update snapshot
* fix lint
* update pods
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
* [FIX] Navigate to MarkdownTableView using tablets
* [FIX] Navigate to MarkdownTableView using tablets
* fix lint
* update yarn.lock
Co-authored-by: Alex Junior <alexalexandrejr@gmail.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 : Clean `Loading` component and migrate to reanimated v2
* Remove theme prop
* Use colors from useTheme and PixelRatio for image
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
* chore: unsupported system messages
* add: Livechat's ignored system messages
* add: `IGNORED_LIVECHAT_SYSTEM_MESSAGES`
* add: support for Livechat's system messages
* remove: `console.log`
* Chore: Evaluate RoomView - TypeScript
* fix messagebox and list refs
* fix the refs
* refactor other refs
* remove any from privates
* storyshot tweak
* [NEW] Implementing On-Hold Livechat for Omnichannel
* added onHold to database
* list header title open livechats
* update rooms list view
* remove placeOnHold after clicked
* fix mesasgebox reactive to on hold
* navigate to roomslistview
* minor tweaks
* for grouping too
* fix chat on-hold when the agent is fully
* show on hold system messages
* [IMPROVE] Visibility of the “incoming chats” in queue
* fix the custom icon for rtl
* fix thumb colors
* clean queue empty
* added alert to confirm enable omnichannel
* switch to normal
* fix storyshot because was added a new props to list item
* fix height container
* minor tweak
* minor tweak
* fix title
* 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>
* Chore: Migrate SearchMessagesView to Typescript
* feat: minor tweak
* minor tweaks
* minor tweak
* minor tweak scrollPersist
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
* Initial commit
* Fix module import
* Improve TextInput and KeyboardView interfaces and migrate scrollPersistTaps to TS
* update interfaces
* add new interfaces and extract them to their own file
* chore: migrate style.js to ts
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
* Chore: Migrate NewServerView to Typescript
* fix one alert lgtm
* Item.tsx
* export interface and try to rewrite write instead action
* minor tweak
* minor tweak
* refactor: change the type of username to connectServer
* refactor scaling
* minor tweak
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
* Add message parser to profile view and db
* Add md to db
* Remove changes to Xcode project
* Remove message-parser lib and add enable message parser field to User model
* Fix message parser
* Remove admin enableMessageParserEarlyAdoption
* Add NewMarkdown component
* Remove NewMarkdown component and add specific components for new message parser
* Add new parser components
* Fix BigEmoji
* Updated components and added more Code components
* update components and add storybooks
* Update Code component and add it to storybooks
* Update Mention component
* Minor tweaks
* Add server message parser validation
* Renamed folder, add @rocket.chat/message-parser, migrate some files to TypeScript
* Migrate components to TypeScript and fix styling
* Change interfaces and add TaskListComponent and styles
* Fix new markdown and styles
* Fix inlinecode
* Stop using server setting
* Use enableMessageParserEarlyAdoption on mapStateToProps
* Remove React.FC
* add link to bold, italic and strike
* Update parser components
* Fix missing components
* Minor tweak
* Fix lint and add getCustomEmojis
* Fix customEmojis
* Update emojis
* Minor tweak
* disconnect markdown from store
* Use @rocket.chat/message-parser@0.30.0
* Fix link style
* Unify lists and styles
* Remove style prop
* Use big emoji as a normal token
* Remove unnecessary memo
* Fix code styles
* Update tests
* Conditionally create renderer
* Use Context instead of prop drill
* Fix Link component
* Fix plain text regression and update tests
Co-authored-by: Diego Mello <diegolmello@gmail.com>
- Change the first screen of the app
- Minor changes on NewServerView and make it the first screen of the app
- Add "Create workspace" to ServerDropdown
Co-authored-by: Diego Mello <diegolmello@gmail.com>