iachat/app
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
..
actions feat: Add additional attributes in setUser method (#3958) 2022-02-28 12:10:55 +05:30
assets feat: Fixes #1940 WCAG support for website widget (#2071) 2021-09-02 12:13:53 +05:30
builders feat: Add live agent load report api (#4297) 2022-03-29 10:31:52 +05:30
channels fix: NoMethodError: undefined method `id' for nil:NilClass (#4172) 2022-03-15 14:30:33 +05:30
controllers feat: Add an option to disable endConversation button (#4352) 2022-04-06 13:54:55 +05:30
dashboards feat: Add the ability for a super admin to define account limits (#3946) 2022-02-14 15:55:08 +05:30
dispatchers Chore: clean up Reporting Events (#4044) 2022-02-28 18:16:12 +05:30
drops fix: Add fixes for sentry errors (#3522) 2021-12-09 11:50:28 +05:30
fields feat: Add the ability for a super admin to define account limits (#3946) 2022-02-14 15:55:08 +05:30
finders Fix: Conversation filter permissions (#3908) 2022-02-03 18:25:28 -08:00
helpers feat: Add live agent load report api (#4297) 2022-03-29 10:31:52 +05:30
javascript feat: Adds support for draft in conversation reply box (#4205) 2022-04-07 22:16:45 +05:30
jobs feat: fix logging levels (#4314) 2022-03-28 18:14:30 +05:30
listeners fix: Unread notification count in multiple accounts (#4373) 2022-04-04 14:34:01 +05:30
mailboxes chore: Disable fetching new emails after mailbox error (#4176) 2022-03-22 12:14:17 +05:30
mailers feat: fix logging levels (#4314) 2022-03-28 18:14:30 +05:30
models chore: Remove unnecessary fields from notification payload (#4403) 2022-04-07 00:07:53 +05:30
policies feat: Clone and update automation rules (#3782) 2022-01-20 15:30:21 -08:00
presenters Fix: handling UTF encoded mail (#4384) 2022-04-06 12:36:32 +05:30
services Feat: attachments automation (#4266) 2022-03-30 08:08:58 +05:30
views chore: Add Swagger Doc for Team Members (#4390) 2022-04-05 16:05:49 +05:30
workers fix: Update auto reply and hide reply time for email inbox (#3985) 2022-02-15 17:11:28 +05:30
test-matchers.js Initial testing with jest (#133) 2019-10-15 00:18:46 +05:30