Commit Graph

1001 Commits

Author SHA1 Message Date
Danish Ahmed Mirza 2077671761
Chore: Migrate containers/Loading to `reanimated` v2 and Hooks (#4073)
* 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>
2022-05-03 17:15:16 -03:00
Samay Kothari 9d0b659097
[FIX] Messages showing URL preview on Room Actions (#4065)
* using database query instead of Rocketchat search api to get message search results

* getting search data from server then converting it into the format as required for message rendering

* fixing some redundant changes

* remove ts-ignore

* removing redundant statements

* url preview is visible when we see messages in pinned, mentions and starred messages

Co-authored-by: Gerzon Z <gerzonzcanario@gmail.com>
2022-05-03 15:52:56 -04:00
Gerzon Z b006fc4358
Chore: evaluate `JitsiMeetView` (#4103) 2022-05-03 14:17:00 -04:00
Gerzon Z d720b5aca9
Chore: evaluate `ForgotPasswordView` (#4106) 2022-05-03 12:33:35 -04:00
Gerzon Z d277788dc4
Chore: evaluate `AuthLoadingView` (#4102)
* chore: evaluate `AuthLoadingView`

* remove: `mapStateToProps`, `connect` and interface
2022-05-03 12:25:18 -04:00
Gerzon Z 0dc34f1eca
Chore: evaluate `DefaultBrowserView` (#4105) 2022-05-03 12:12:43 -04:00
Gerzon Z 784b016736
chore: evaluate `LoginView` (#4098) 2022-05-03 12:05:01 -04:00
Gerzon Z 99409d1af4
chore: evaluate `NewServerView` (#4101) 2022-05-03 11:48:02 -04:00
Gerzon Z 5dea514751
chore: evaluate `PickerView` (#4096) 2022-05-03 11:13:53 -04:00
Gerzon Z ed63f69a2d
chore: evaluate `SendEmailConfirmationView` (#4093) 2022-05-03 11:06:02 -04:00
Gerzon Z edfeeb80d3
Chore: Unsupported system messages (#4047)
* 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`
2022-05-03 10:27:20 -04:00
Reinaldo Neto bd55fe44ba
Chore: Evaluate NewMessageView - TypeScript (#4115)
* Chore: Evaluate NewMessageView - TypeScript

* minor tweak
2022-05-02 23:43:30 -03:00
Reinaldo Neto 5d29fcad53
Chore: Evaluate RegisterView - TypeScript (#4114) 2022-05-02 23:21:43 -03:00
Reinaldo Neto d24e59669a
Chore: Evaluate ScreenLockConfigView - TypeScript (#4094) 2022-05-02 23:14:49 -03:00
Reinaldo Neto 57154101bd
Chore: Evaluate SecurityPrivacyView - TypeScript (#4092) 2022-05-02 23:06:37 -03:00
Reinaldo Neto 5f1ac0b523
Chore: Evaluate SetUsernameView - TypeScript (#4082) 2022-05-02 22:53:19 -03:00
Reinaldo Neto 1118ae6fae
Chore: Evaluate UserNotificationPreferencesView - TypeScript (#4079) 2022-05-02 22:45:31 -03:00
Reinaldo Neto 3ce32bbfd8
Chore: Evaluate UserPreferencesView - TypeScript (#4078) 2022-05-02 22:34:56 -03:00
Reinaldo Neto 82bca54575
Chore: Evaluate WorkspaceView - TypeScript (#4077) 2022-05-02 22:27:33 -03:00
Reinaldo Neto 83fb5ce7fb
Chore: Evaluate LivechatEditView - TypeScript (#4125) 2022-05-02 22:19:28 -03:00
Reinaldo Neto 21a6fcee87
Chore: Evaluate SelectServerView - TypeScript (#4118) 2022-05-02 22:13:03 -03:00
Reinaldo Neto 10c4fddd61
Chore: Evaluate ShareListView - TypeScript (#4117) 2022-05-02 22:06:19 -03:00
Reinaldo Neto 888bcae48e
Chore: Evaluate RoomMembersView - TypeScript (#4116)
* Chore: Evaluate RoomMembersView - TypeScript

* evaluate show action sheet

* fix tsubscriptionmodel
2022-05-02 21:48:08 -03:00
Reinaldo Neto fe1b8b75bd
Chore: Evaluate CannedResponsesListView - TypeScript (#4149) 2022-05-02 21:30:20 -03:00
Reinaldo Neto 243d016bf1
Chore: Evaluate CannedResponseDetail - TypeScript (#4150) 2022-05-02 21:23:03 -03:00
Reinaldo Neto 93c3c5f3a9
Chore: Evaluate RoomActionsView - TypeScript (#4148) 2022-05-02 20:13:39 -03:00
Reinaldo Neto a84d4e9534
Chore: Evaluate RoomView - TypeScript (#4134)
* Chore: Evaluate RoomView - TypeScript

* fix messagebox and list refs

* fix the refs

* refactor other refs

* remove any from privates

* storyshot tweak
2022-05-02 19:58:23 -03:00
Reinaldo Neto cb1dabbc16
Chore: Evaluate CreateDiscussionView - TypeScript (#4133) 2022-05-02 19:48:29 -03:00
Alex Junior d99b31849a
Chore: Evaluate Icon - Typescript (#3982)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-05-02 16:21:15 -03:00
Alex Junior b63f514df7
Chore: Evaluate NotificationPreferencesView - Typescript (#4099) 2022-05-02 15:24:17 -03:00
Alex Junior 43e9964b7b
Chore: Evaluate Create Channel - TypeScript (#4144) 2022-05-02 15:11:41 -03:00
Alex Junior 1efd6a9a65
Chore: Evaluate AutoTranslate- TypeScript (#4145) 2022-05-02 14:59:49 -03:00
Reinaldo Neto ee3e569512
Chore: Evaluate ReadReceiptView - TypeScript (#4123) 2022-05-02 11:17:55 -03:00
Reinaldo Neto 8ac38a2e04
Chore: Evaluate SelectedUsersView - TypeScript (#4121) 2022-05-02 10:09:10 -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 8896370a6c
Chore: Evaluate DiscussionsView - TypeScript (#4129) 2022-05-02 09:23:57 -03:00
Reinaldo Neto a1e672df0e
Chore: Evaluate DisplayPrefsView - TypeScript (#4127)
* Chore: Evaluate DisplayPrefsView - TypeScript

* minor tweak
2022-05-02 09:12:41 -03:00
Reinaldo Neto f04b15a432
Chore: Evaluate ForwardLivechatView - TypeScript (#4126)
* Chore: Evaluate ForwardLivechatView - TypeScript

* minor tweaks
2022-05-02 09:03:55 -03:00
Reinaldo Neto a27d63c22e
Chore: Evaluate DirectoryView - TypeScript (#4130) 2022-05-02 08:53:47 -03:00
Gleidson Daniel Silva 89e0a40d95
Chore: remove lib/rocketchat step 2 (#4035)
* create index file

* remove roomTypeToApiType from rocketchat and fix imports

* move TOKEN_KEY to const file

* move CURRENT_SERVER to const file

* move CERTIFICATE_KEY to const file

* getRoom

* rename getSlashCommands

* getSlashCommands

* readMessages

* getRooms

* loadThreadMessages

* loadNextMessages

* loadSurroundingMessages

* loadMessagesForRoom

* loadMissedMessages

* clearCache

* canOpenRoom

* setUser

* userPreferencesMethods

* getCustomEmojis

* callJtisi

* triggerActions

* getPermissions

* getRoles

* getSettings

* getUsersPresence

* logout

* sendFileMessage

* shareExtension

* sendMessage

* enterpriseModules

* getPermalinks

* search

* change RocketChat.metodo to direct call

* fix types

* Fix login

* Fix createChannel

* migrate service methods to Service.method call

* change call directly to RocketChat because the use of this

* rollback

* rollback

* fix create discussion

* fix import

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-04-28 17:37:25 -03:00
Gerzon Z 08271f6114
Regression: Users search on `CreateDiscussionView` (#4112)
* fix: users search on `CreateDiscussionView`

* chore: increased readability for `getUsers` function
2022-04-26 14:15:29 -04: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 3c53d48a3e
[FIX] Omnichannel chat is broken the first time is taken (#4037)
* [FIX] Omnichannel chat is broken the first time is taken

* refactor how to get a room from db
2022-04-18 16:35:50 -03:00
Reinaldo Neto 0a67cb8096
[IMPROVE] Visibility of the “incoming chats” in queue (#4039)
* [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
2022-04-15 00:11:36 -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
Reinaldo Neto 25c37c1a60
Chore: Migrate i18n to Typescript (#3988)
* 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>
2022-04-14 17:30:41 -03:00
Alex Junior ef81796cd3
Chore: Evaluate KeyboardView - TypeScript (#4014)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-04-13 17:43:56 -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
Gerzon Z 4aeb21148d
[FIX] Searching for users when creating discussions not returning data correctly (#4034) 2022-04-12 10:48:28 -03:00