verdnatura-chat/app/sagas
Djorkaeff Alexandre ac708dd32b
[NEW] Omnichannel inquiry queue (#2352)
* [WIP] Omnichannel queue

* Request inquiry when login

* Show take inquiry queued room

* Queue List as a Screen

* Poc using unread badge

* Prevent navigation to empty list

* Remove chat from queue when taked

* Fix header status on omnichannel preview room

* Fix room actions view to preview queued chat

* Use isOmnichannelPreview and dont show actions when is preview

* Filter queue chats taken by other people

* Fix room info to omnichannel preview room

* Handle show Queue

* Reset inquiry store when change server

* Improve queue logic

* Disable swipe on RoomItem when is a Queue Item

* Add unreadBadge style

* Move unread badge to presentation folder

* Cleanup inquiry reducers

* Move take saga to rocketchat function

* Remove comments

* Add relevant comments

* Subscribe to public stream if is livechat manager or doesnt have departments

* Add pt-br and improve queue empty message

* Fix take when dont have view-livechat-manager permission

* Add missing events

* Create selector for inquiry queue

* Minor fixes

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-31 15:22:30 -03:00
..
createChannel.js [NEW] Log events from RoomsList, SideDrawer and Profile (#2190) 2020-07-30 10:26:17 -03:00
createDiscussion.js [NEW] Log events from RoomsList, SideDrawer and Profile (#2190) 2020-07-30 10:26:17 -03:00
deepLinking.js [FIX] App hanging on splash screen when deep link params are wrong (#2359) 2020-07-30 16:41:23 -03:00
index.js [NEW] Omnichannel inquiry queue (#2352) 2020-07-31 15:22:30 -03:00
init.js [CHORE] Update react-navigation to v5 (#2154) 2020-06-15 11:00:46 -03:00
inquiry.js [NEW] Omnichannel inquiry queue (#2352) 2020-07-31 15:22:30 -03:00
inviteLinks.js [NEW] Invite links (#1534) 2020-01-28 10:22:35 -03:00
login.js [NEW] Omnichannel inquiry queue (#2352) 2020-07-31 15:22:30 -03:00
messages.js [CHORE] Update react-navigation to v5 (#2154) 2020-06-15 11:00:46 -03:00
room.js [NEW] Omnichannel Status Toggle (#2217) 2020-06-26 17:45:21 -03:00
rooms.js [FIX] Delete Subs (#2091) 2020-05-08 14:36:55 -03:00
selectServer.js [NEW] Omnichannel inquiry queue (#2352) 2020-07-31 15:22:30 -03:00
state.js [CHORE] Update react-navigation to v5 (#2154) 2020-06-15 11:00:46 -03:00