Reinaldo Neto
d6c37bf4a2
feat: capability to enable/disable writing in rooms read only ( #5298 )
...
* feat: capability to enable writing in rooms read only
* minor tweak
* add shallowEqual
* change the message box properly when the user is enable to write
2023-11-17 15:48:32 -03:00
Gleidson Daniel Silva
41dbbf4d4b
Chore: Migrate NotificationPreferencesView to hooks ( #4327 )
...
* add none option
* create showErrorAlertWithEMessage function
* migrate NotificationPreferencesView to hooks and improves overall
* change icon to right
* fix navigation options
* remove none
* fix types
* remove memo
* cleaning
* switching to destructuring
* add observe for hideUnreadStatus
* fix desktop options
* remove unused options
Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
2022-08-01 13:35:05 -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
Gerzon Z
e233058e22
Chore: evaluate `RoomInfoEditView` ( #4095 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-05-10 18:26:06 -03:00
Reinaldo Neto
93c3c5f3a9
Chore: Evaluate RoomActionsView - TypeScript ( #4148 )
2022-05-02 20:13:39 -03:00
Alex Junior
b63f514df7
Chore: Evaluate NotificationPreferencesView - Typescript ( #4099 )
2022-05-02 15:24:17 -03:00
Reinaldo Neto
a27d63c22e
Chore: Evaluate DirectoryView - TypeScript ( #4130 )
2022-05-02 08:53:47 -03: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
Alex Junior
b962925121
chore: add rest api return ( #3865 )
2022-03-09 14:04:25 -03:00
Diego Mello
09f73aee3d
Chore: Create IServerRoom and IServerSubscription ( #3782 )
2022-03-08 13:25:27 -03:00
Reinaldo Neto
b7e523a267
Chore: Migrate ee/omnichannel folder to Typescript ( #3749 )
...
* Chore: Migrate ee/omnichannel folder to Typescript
* omnichannelstatus and queue list
* boolean searching and react.ref
* test initi
* test and refactor interfaces
* minor tweak
* minor tweaks
2022-03-07 18:16:20 -03:00
Alex Junior
765e526bbf
Chore: Migrate subscriptions/rooms to TS ( #3748 )
...
* chore: migrate subscriptions rooms to ts
* chore: adding a TODO to remember this problem
* chore: removing unnecessary todos
* chore: minor tweak after develop updates
* chore: migrate message service to ts
* chore: minor tweaks
* chore: minor tweak
* chore: minor tweak after merge develop into this branch
* chore: minor tweak after merge with dev
* minor tweak
2022-03-03 21:23:11 -03:00
Gleidson Daniel Silva
88131e3bfb
Chore: Migrate RoomMembersView to Typescript ( #3769 )
...
* chore: migrate RoomMembersView to ts
* fix goRoom item interface
2022-02-25 13:43:42 -03:00
Gleidson Daniel Silva
753dec9e27
Chore: Migrate to Typescript mergeSubscriptionRooms and findSubscriptionsRooms ( #3747 )
...
* fix fromJSONValue type
* migrate findSubscription and mergeSubscription to typescript
* chore: fix subscription param returning null
2022-02-21 16:41:49 -03:00
Alex Junior
a3a4b66810
Chore: Migrate methods/loadMessagesForRoom to Typescript ( #3701 )
...
* chore: change loadMessagesForRoom to typescript
* minor tweak
* chore: minor tweaks after merge with developer
* chore: minor tweaks after merge with developer
* chore: minor tweak
* chore: minor tweaks
* Fix return
Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-02-21 11:40:57 -03:00
Gleidson Daniel Silva
7866ec3f33
Chore: Add REST API definitions from server ( #3721 )
...
* create first definitions
* chore: implements get and post types
* fix lint
* add ts-ignore
* add teams.removeRoom method
* Remove unused endpoints
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-14 13:20:29 -03:00
Gerzon Z
2946c4724e
[FIX] TypeScript's errors raised by HOCs ( #3535 )
...
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-01-17 13:10:39 -03:00
Reinaldo Neto
13af9d80ed
Chore: Migrate Model's folder to Typescript ( #3564 )
2022-01-11 10:51:48 -03:00
Gerzon Z
691bf1ef17
Chore: Migrate react-navigation to TypeScript ( #3480 )
...
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2021-12-03 16:27:57 -03:00