Chatwoot/app/javascript/dashboard
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
..
api feat: Add agents filter in CSAT reports (#4106) 2022-03-04 03:49:26 -08:00
assets design: Changes yellow color palette for better contrast ratio (#4334) 2022-03-30 18:53:24 +05:30
components feat: Adds support for draft in conversation reply box (#4205) 2022-04-07 22:16:45 +05:30
helper feat: Adds support for draft in conversation reply box (#4205) 2022-04-07 22:16:45 +05:30
i18n chore: Fix typo in en localisation file (#4405) 2022-04-06 20:21:19 +05:30
mixins feat: Display how many conversations are considered for the metric calculation (#4273) 2022-03-28 00:38:23 -07:00
modules feat: Add a confirmation note before deleting a note about a contact (#4294) 2022-03-28 14:19:12 +05:30
routes feat: Add an option to disable endConversation button (#4352) 2022-04-06 13:54:55 +05:30
store feat: Adds support for draft in conversation reply box (#4205) 2022-04-07 22:16:45 +05:30
App.vue feat: Show banner message if Chatwoot update available (#3999) 2022-03-15 21:09:14 +05:30
App.Vue.spec.js Move src to dashboard (#152) 2019-10-16 14:36:17 +05:30
constants.js feat: Add all filter for conversations (#3102) 2021-09-29 16:23:39 +05:30