Alex Junior
4fd0084bc1
Chore: Migration to Hooks - Markdown ( #4264 )
...
* chore: migrate TextInput from class to functional
* changing from themes[theme] to colors
* removing markdown theme props from other files
* adding a force update and fix a stories
* adding testID and tests for markdown
* fixing some interfaces
* minor tweak
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-06-27 18:27:22 -03:00
Gleidson Daniel Silva
58a15b23b5
[NEW] Basic support for Video Conf ( #4307 )
...
* create livechat video conf feature
* add handler to call url
* remove webview and change to openUrl
* Checking settings
* stash
* add action sheet on click init and ad more handlers
* fix logic and call to create a video conf
* change JitsiMeetView from InsideStack to ChatStack to remove modal animation
* fix error logic
* fix stack
* fix comma
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-06-27 15:04:20 -03:00
Gleidson Daniel Silva
303d127949
[FIX] Change password not working on some cases ( #4312 )
...
* create iTotp enum
* migrate change user profile to method
* Fix minor i18n issues
* Use saveUserProfileMethod from Services
* Catch cancel event from TwoFactor modal
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-06-23 16:59:57 -03:00
Gleidson Daniel Silva
5f248ebeb5
[NEW] Delete my account ( #4219 )
...
* create new delete account button
Co-Authored-By: Danish Ahmed Mirza <danishmirza30602@gmail.com>
* change modal to action sheet
* better naming
* remove ? from translation
* update translations
* change to new figma layout
* fix export
* remove unused state
* add new text input to base input
* clean up
* update bottom sheet and create a mock
* remove unecessary bracket and fix type
* fix header
* migrate buttons to action sheet
* fix imports
* update yarn.lock
* add separator to styles
* add ternary verification
* minor tweaks: keyboard for landscape android tablet, interface IactionSheetProvider and remove navigation options to get ismasterdetail from redux, fix jest setup
* fix colors
* disconnect from sdk when delete the account
* update snapshot
Co-authored-by: Danish Ahmed Mirza <danishmirza30602@gmail.com>
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
2022-06-22 09:24:25 -03:00
Reinaldo Neto
79cd150231
[NEW] Option to show mentions badge ( #4265 )
...
* [IMPROVE] Option to show mentions badge
* fix the local database and mergeSubscriptions, missing the state in notificationPrefView
* finished the hideMentions
* fix the string version
2022-06-13 10:24:54 -03:00
Gerzon Z
20a03611a7
[NEW] Call to Action buttons for Omnichannel ( #4060 )
...
* add: kebab and bottom sheet for omnichannel
* update: `RoomActionsView`
* chore: add canned responses to MessageBox
* chore: add omnichannel permissions to RightButtons
chore: missing changes to previous commit on RoomView
* chore: make icon available on first re-render after joining the room
* refactor: omnichannel permissions logic outside RightButtons
* refactor: extract omnichannel permissions' logic from RoomActionsView
* fix: omnichannel permissions on RightButton component
* add: omnichannelPermissions to RoomActions route props
* update: RoomView
* remove: setOmnichannelPermissions function
* refactor: `omnichannelPermissions` to object
* refactor: extract `on-hold` Omnichannel to `RoomView`
* add: `canPlaceLivechatOnHold` to `Omnichannel`s actions
* update: type for `showActionSheet`
* update: canned responses permission on
* fix: place on-hold permission not updating properly
* update: validation for on-hold
remove: unused variable
* remove: unnecessary param
* update: MessageBox
* fix: Omnichannel permissions on taking chat
* undo: comment on Reactotron
* Fix place chat on-hold
* fix setOptions in messageBox
* resolve lint
* change return to return to waiting line
* remove joined
* fix console.log
* fix kebab button
* fix subscription to room outside of db
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
2022-06-09 11:42:12 -03:00
Gleidson Daniel Silva
c85fd0ba99
Chore: Update react-native-fast-image from 8.2.0 to 8.5.11 ( #4210 )
...
* upgrade react-native-fast-image
* change import to react-native-fast-image
* bump version
* update path from lib
* fix import
2022-05-31 13:08:18 -03:00
Reinaldo Neto
a527b320e9
[FIX] Migrate autoTranslate.translateMessage to REST API ( #4029 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-05-27 14:33:21 -03:00
Gleidson Daniel Silva
0a7082e2fe
Chore: Evaluate RocketChat v3 ( #4155 )
...
* remove roomSub from rocketchat
* remove _setUser
* remove this.activeUsersSubTimeout and IRocketChat imports
* remove this from connect
* remove rocketchat and comment abort controler
* fix lint
Co-authored-by: Alex Junior <alexalexandrejr@gmail.com>
2022-05-13 11:52:37 -03:00
Reinaldo Neto
81c6ffce40
Chore: Evaluate RoomInfoView - TypeScript ( #4107 )
...
* Chore: Evaluate RoomInfoView - TypeScript
* refactor interfaces
2022-05-11 15:20:59 -03:00
Reinaldo Neto
fe84090703
Chore: Evaluate ShareView - TypeScript ( #4087 )
2022-05-11 14:59:29 -03:00
Reinaldo Neto
fb11932d0b
Chore: Evaluate AuthenticationWebView - TypeScript ( #4158 )
2022-05-11 13:59:57 -03:00
Alex Junior
1d452ed9e6
Chore: Evaluate MessagesView - TypeScript ( #4113 )
2022-05-10 23:22:17 -03:00
Gerzon Z
e233058e22
Chore: evaluate `RoomInfoEditView` ( #4095 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-05-10 18:26:06 -03:00
Alex Junior
55d66c85db
Chore: Evaluate ProfileView - Typescript ( #4091 )
2022-05-06 23:11:07 -03:00
Alex Junior
8ca73e273a
Chore: Evaluate emoji picker - TypeScript ( #4069 )
2022-05-06 22:06:08 -03:00
Reinaldo Neto
82bca54575
Chore: Evaluate WorkspaceView - TypeScript ( #4077 )
2022-05-02 22:27:33 -03:00
Reinaldo Neto
10c4fddd61
Chore: Evaluate ShareListView - TypeScript ( #4117 )
2022-05-02 22:06:19 -03:00
Reinaldo Neto
fe1b8b75bd
Chore: Evaluate CannedResponsesListView - TypeScript ( #4149 )
2022-05-02 21:30:20 -03:00
Reinaldo Neto
93c3c5f3a9
Chore: Evaluate RoomActionsView - TypeScript ( #4148 )
2022-05-02 20:13:39 -03:00
Reinaldo Neto
cb1dabbc16
Chore: Evaluate CreateDiscussionView - TypeScript ( #4133 )
2022-05-02 19:48:29 -03:00
Alex Junior
b63f514df7
Chore: Evaluate NotificationPreferencesView - Typescript ( #4099 )
2022-05-02 15:24:17 -03:00
Reinaldo Neto
e5f140e231
Chore: Evaluate SelectListView - TypeScript ( #4119 )
...
* Chore: Evaluate SelectListView - TypeScript
* minor tweak
2022-05-02 09:40:19 -03:00
Reinaldo Neto
a27d63c22e
Chore: Evaluate DirectoryView - TypeScript ( #4130 )
2022-05-02 08:53:47 -03:00
Gerzon Z
8a75dcf87b
Chore: evaluate `RoomItem` ( #4023 )
...
* chore: evaluate `RoomItem`
* update: `RoomItem.storyshot`
* update: interfaces for RoomItem components
* update: UnreadBadge import and RoomItem interfaces
* remove: `avatarSize` from interfaces
* update: `RoomItem.storyshot`
2022-04-20 17:37:54 -04:00
Reinaldo Neto
8012031cd3
[NEW] On-Hold chats for Omnichannel ( #4051 )
...
* [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
2022-04-20 17:53:11 -03:00
Reinaldo Neto
b75ac1de8b
[IMPROVE] Support Omnichannel icons ( #3959 )
...
* [IMPROVE] Support Channel Icons for Omnichannel
* Prop drilling sourceType
* create a column for source in WatermelonDB
* Add sms icon
* start of fetching
* removed usefetch
* custom icon to RoomHeader, RoomActions, RoomInfo
* minor tweak in interface
* fix margin
* add connected to sourceType
* make ts happy
* minor tweak
* fix storyshot
* refactor omnichannel source interface
* minor tweak roomActionsview
* Added storyshot
* minor tweak
* fix storyshot
* fix display extended without avatar
* fix connected object
* wip android build
Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-04-14 23:27:36 -03:00
Gerzon Z
b9651493d2
Chore: update `theme` type ( #4025 )
...
* chore: update `theme` type
* update: components
* update: storyshots
* add: `theme` type to `DirectoryItem`
* chore: update theme type on `message/index.tsx`
* update: `RoomTypeIcon`'s useTheme
2022-04-12 12:27:05 -04:00
Gleidson Daniel Silva
5494037f78
Chore: Upgrade react-native-notifications to 4.2.4 ( #3958 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-04-07 16:14:04 -03:00
Gerzon Z
cd0c8abced
Chore: evaluate ServerItem - TypeScript Migration ( #4015 )
...
* chore: evaluate ServerItem
* update: IServerInfo interface
* chore: move `ServerItem` to `containers` folder
* update: `ServerItem` import on Storybook
* update: `themes` import
2022-04-07 13:07:16 -04:00
Gerzon Z
13a2962fa2
Chore: evaluate getUserSelector ( #4013 )
...
* update: type for user
* update: LanguageView's user type
* update: UserNotificationPreferencesView's user
* chore: set `enableMessageParserEarlyAdoption` as non-optional
2022-04-07 12:27:45 -04:00
Gleidson Daniel Silva
bdf83e546e
Chore: Move constants away from rocketchat folder - Typescript ( #4022 )
...
* create keys file and export all consts
* fix import E2E_MESSAGE_TYPE
* fix constants import
* fix constants import
* fix E2E_BANNER_TYPE import
* fix E2E_ROOM_TYPES import
* fix THEME_PREFERENCES_KEY import
* fix CRASH_REPORT_KEY and ANALYTICS_EVENTS_KEY import
* fix MIN_ROCKETCHAT_VERSION import
* fix constantDisplayMode import
* fix environment imports
* fix links imports
* fix localAuthentication imports
* fix localPath imports
* fix messagesStatus imports
* fix messageTypeLoad imports
* fix defaultSettings imports
* fix tablet imports
* update with todo for colors
* move to lib folder
* change constant/colors to constant
2022-04-07 11:10:03 -03:00
Gleidson Daniel Silva
2eba327396
Chore: Evaluate lib/rocketchat structure and files ( #3986 )
...
* 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>
2022-04-04 16:15:29 -03:00
Alex Junior
488074b4ae
Chore: Evaluate Message - TypeScript ( #3944 )
...
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-04-01 18:52:38 -03:00
Gleidson Daniel Silva
5bd060b7b2
Chore: Add `colors` prop to useTheme hook ( #3993 )
...
* create react-native-appearance mock
* create base for colors theme
* mend
* export TColors prop
* update snapshot
2022-03-31 20:04:29 -03:00
Diego Mello
4416f82665
Chore: Properly type MessageActions ( #3930 )
2022-03-31 09:38:20 -03:00
Reinaldo Neto
40cb3b1ae7
Chore: Evaluate UiKit - TypeScript ( #3939 )
...
* Chore: Evaluate UiKit - TypeScript
* minor tweak
2022-03-29 17:06:50 -03:00
Diego Mello
902827422b
Chore: Properly type Status ( #3911 )
...
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-03-25 17:05:49 -03:00
Alex Junior
cbe2b23e27
Chore: Clean LoginServices - TypeScript ( #3935 )
2022-03-22 19:14:42 -03:00
Alex Junior
f90f1a326f
Chore: Clean MessageErrorActions - TypeScript ( #3928 )
2022-03-22 11:29:45 -03:00
Gerzon Z
b0580bf547
[NEW] Redesign quoted messages ( #3883 )
2022-03-21 17:44:06 -03:00
Reinaldo Neto
0582cdfa61
Chore: Migrate REST API - e2eFetchMyKeys to Typescript ( #3942 )
2022-03-21 13:56:38 -03:00
Gleidson Daniel Silva
75f3f90913
[NEW] Collapsible Message ( #3879 )
...
* create new collapsible component
* create collapsible tests and update snapshot
* fix quote :)
* update snapshot
* add support to color
* add collapsed prop
* fix some styles
* fix tests
* wip
* clean
* add CollapsibleQuote story
* better style
* update snapshots
* add better tests
* remove testID
* update storyshot
2022-03-18 07:01:30 -03:00
Alex Junior
11a809a065
Chore: Migrate REST API - getThreadsList to Typescript ( #3895 )
...
* chore: add rest api return
* chore: removing sort param
2022-03-16 23:24:22 -03:00
Gerzon Z
a754983ac8
Chore: Dehydrate share extension from rocketchat.js ( #3753 )
...
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-03-16 17:40:32 -03:00
Reinaldo Neto
e792f2a49b
Chore: Migrate REST API - registerPushToken to Typescript ( #3902 )
2022-03-16 17:04:16 -03:00
Alex Junior
f98f2a46d9
Chore: Migrate REST API - getRoomMembers to Typescript ( #3899 )
2022-03-15 22:37:49 -03:00
Alex Junior
4cfadbc97b
Chore: Migrate REST API - getSyncThreadsList to Typescript ( #3896 )
2022-03-15 22:25:48 -03:00
Alex Junior
9650c98b4f
Chore: Migrate REST API - runSlashCommand to Typescript ( #3893 )
2022-03-15 22:14:50 -03:00
Reinaldo Neto
ee336a84a3
Chore: Migrate REST API - getDirectory to Typescript ( #3898 )
2022-03-15 13:47:40 -03:00