vn-verdnaturachat/app/lib/methods
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
..
helpers [NEW] Call to Action buttons for Omnichannel (#4060) 2022-06-09 11:42:12 -03:00
subscriptions Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
actions.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
callJitsi.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
canOpenRoom.ts Chore: remove lib/rocketchat step 2 (#4035) 2022-04-28 17:37:25 -03:00
clearCache.ts Chore: remove lib/rocketchat step 2 (#4035) 2022-04-28 17:37:25 -03:00
crashReport.ts Chore: remove lib/rocketchat step 2 (#4035) 2022-04-28 17:37:25 -03:00
enterpriseModules.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
getCustomEmojis.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
getPermalinks.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
getPermissions.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
getRoles.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
getRoom.ts Chore: remove lib/rocketchat step 2 (#4035) 2022-04-28 17:37:25 -03:00
getRoomInfo.ts Chore: remove lib/rocketchat step 2 (#4035) 2022-04-28 17:37:25 -03:00
getRooms.ts Chore: remove lib/rocketchat step 2 (#4035) 2022-04-28 17:37:25 -03:00
getSettings.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
getSingleMessage.ts Chore: remove lib/rocketchat step 2 (#4035) 2022-04-28 17:37:25 -03:00
getSlashCommands.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
getThreadName.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
getUsersPresence.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
index.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
loadMessagesForRoom.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
loadMissedMessages.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
loadNextMessages.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
loadSurroundingMessages.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
loadThreadMessages.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
logout.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
parseSettings.ts Chore: remove lib/rocketchat step 2 (#4035) 2022-04-28 17:37:25 -03:00
readMessages.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
roomTypeToApiType.ts Chore: remove lib/rocketchat step 2 (#4035) 2022-04-28 17:37:25 -03:00
search.ts Chore: Move services and methods away from rocketchat folder (#4033) 2022-04-07 13:53:07 -03:00
sendFileMessage.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
sendMessage.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
setUser.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
shareExtension.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
subscribeRooms.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
triggerActions.ts Chore: remove lib/rocketchat step 2 (#4035) 2022-04-28 17:37:25 -03:00
updateMessages.ts Chore: Move constants away from rocketchat folder - Typescript (#4022) 2022-04-07 11:10:03 -03:00
useServer.ts Chore: Create useAppSelector hook (#4189) 2022-05-13 12:01:34 -03:00
userPreferences.ts Chore: Evaluate helpers and methods - Typescript (#4030) 2022-04-07 10:13:19 -03:00
userPreferencesMethods.ts Chore: Move services and methods away from rocketchat folder (#4033) 2022-04-07 13:53:07 -03:00