Chatwoot/app/javascript/dashboard/store/modules
Nithin David Thomas 5ea0436051
feat: Adds support for draft in conversation reply box (#4205)
* Add draft support

* Fixes issue with draft loading

* Adds draft for private notes

* Use localstorage helper

* .remove instead of .clear

* Remove timestamp

* clearLocalStorageOnLogout

* Fix draft save on refresh

* Remove usage of delete operator

* Adds autosave for draft messages

* Remove setinterval and add debounce

* Removes draft redundancy check

* Adds test cases for debouncer

* Update app/javascript/shared/helpers/specs/TimeHelpers.spec.js

Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>

* Update app/javascript/shared/helpers/specs/TimeHelpers.spec.js

Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>

* Review fixes

* Fixes issue with debouncer

* FIxes debouncer issue

* Fixes issue with draft empty message

* Removes empty keys from local storage drafts

* Fixes error with empty draft

Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com>
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Co-authored-by: iamsivin <iamsivin@gmail.com>
2022-04-07 22:16:45 +05:30
..
contacts Fix: Update contact validation messages (#3500) 2021-12-03 13:19:11 +05:30
conversations feat: Adds support for draft in conversation reply box (#4205) 2022-04-07 22:16:45 +05:30
notifications feat: Update notifications and unread count in real time (#4261) 2022-03-28 20:01:23 +05:30
specs feat: Adds support for draft in conversation reply box (#4205) 2022-04-07 22:16:45 +05:30
teams feat: Set up store for teams (#1689) 2021-03-15 18:35:56 +05:30
accounts.js feat: Ability for the logged in user to create a new account (#985) 2020-07-26 12:54:50 +05:30
agents.js Feature: Availability Statuses (#874) 2020-07-04 11:42:47 +05:30
attributes.js chore: Add the option to edit custom attribute display name (#3382) 2021-11-15 12:45:47 +05:30
auth.js feat: Adds support for draft in conversation reply box (#4205) 2022-04-07 22:16:45 +05:30
automations.js fix: Automation Bugs and minor enhancements (#3936) 2022-02-15 23:36:29 +05:30
campaigns.js feat: Add Advanced Conversation Filters (#3239) 2021-11-18 19:15:02 +05:30
cannedResponse.js [Refactor] Cleanup agent store and actions (#373) 2019-12-21 22:54:35 +05:30
contactConversations.js fix: Contact conversations are showing in the chat list (#4078) 2022-03-21 11:46:43 +05:30
contactLabels.js feat: Ability to add label for contact page (#2350) 2021-06-14 10:36:00 +05:30
contactNotes.js feat: Add notes for Contacts (#3273) 2021-10-25 18:35:58 +05:30
conversationLabels.js Feature: Improve label experience (#975) 2020-06-25 21:04:03 +05:30
conversationMetadata.js Feature: Contact Panel with conversation details (#397) 2020-01-01 22:30:43 +05:30
conversationPage.js feat: Add Advanced Conversation Filters (#3239) 2021-11-18 19:15:02 +05:30
conversationSearch.js feat: Add global message search (#1385) 2020-11-08 01:46:45 +05:30
conversationStats.js Chore: Move conversationStats to a seperate module (#962) 2020-06-14 14:07:52 +05:30
conversationTypingStatus.js fix: Disable typing indicator for user when agent is typing a private note (#3303) 2021-11-01 12:20:07 +04:00
csat.js feat: Add agents filter in CSAT reports (#4106) 2022-03-04 03:49:26 -08:00
customViews.js feat: Adds the ability to delete a segment (#3836) 2022-01-24 17:37:43 +05:30
inboxAssignableAgents.js Enhancement: Ability to assign administrators as conversation assignees (#2142) 2021-04-22 23:17:29 +05:30
inboxes.js chore: Provider APIs for SMS Channel - Bandwidth (#3889) 2022-02-03 15:22:13 -08:00
inboxMembers.js Chore: Inbox Members API improvements (#3008) 2021-09-14 11:55:02 +05:30
integrations.js feat: Add Integration hooks UI (#2301) 2021-06-06 16:59:05 +05:30
labels.js fix: Could not able to create label (#4161) 2022-03-14 20:43:56 +05:30
reports.js feat: Display trends in report metrics (#4144) 2022-03-14 18:15:27 +05:30
teamMembers.js feat: Set up store for teams (#1689) 2021-03-15 18:35:56 +05:30
userNotificationSettings.js Feature: Add web push notification permission in frontend (#766) 2020-05-06 00:10:56 +05:30
webhooks.js feat: Add an option to edit webhook URL (#2316) 2021-06-06 16:59:47 +05:30