Chatwoot/app/javascript/dashboard/components/widgets
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
..
chart feat: Display how many conversations are considered for the metric calculation (#4273) 2022-03-28 00:38:23 -07:00
conversation feat: Adds support for draft in conversation reply box (#4205) 2022-04-07 22:16:45 +05:30
FilterInput feat: Added support for Created At, Last Activity At filters in the UI (#4031) 2022-03-14 20:24:53 +05:30
forms chore: Fix pre-commit hooks (#3525) 2021-12-08 17:32:00 -08:00
mentions chore: Move Canned Responses list to a separate component (#1681) 2021-01-23 14:07:01 +05:30
modal feat: Toggle automation status (#3991) 2022-03-01 14:14:23 +05:30
WootWriter feat: Adds support for draft in conversation reply box (#4205) 2022-04-07 22:16:45 +05:30
AttachmentsPreview.vue fix: Add multiple file paste support and fix for bugs (#4066) 2022-03-23 18:25:57 +05:30
AutomationActionInput.vue fix: Update validations in automation edit actions (#4370) 2022-04-05 15:22:56 +05:30
Avatar.vue feat: Use vue-router on widget route management (#3415) 2022-01-12 16:25:27 +05:30
BackButton.vue feat: Use Fluent SVG icons on the dashboard (#3482) 2021-11-30 21:03:18 -08:00
ChannelItem.vue feat: Add Instagram Channel (#2955) 2021-10-05 14:35:32 +05:30
ChatTypeTabs.vue feat: Adds keyboard shortcuts for conversation actions (#2672) 2021-08-09 00:38:52 -07:00
ColorPicker.vue Feature: Ability to customise widget color (#903) 2020-05-30 17:28:00 +05:30
EmptyState.vue chore: Fix Eslint warnings (#3654) 2021-12-27 13:49:31 +05:30
InboxName.vue feat: Use Fluent SVG icons on the dashboard (#3482) 2021-11-30 21:03:18 -08:00
LabelSelector.stories.js feat: Ability to add label for contact page (#2350) 2021-06-14 10:36:00 +05:30
LabelSelector.vue chore: Update contact sidebar with accordion (#3002) 2021-09-13 18:08:58 +05:30
LoadingState.vue chore: Fix Eslint warnings (#3654) 2021-12-27 13:49:31 +05:30
ReportStatsCard.vue feat: Display how many conversations are considered for the metric calculation (#4273) 2022-03-28 00:38:23 -07:00
SettingIntroBanner.stories.js chore: Cleanup page-top-bar style conflicts (#2407) 2021-06-10 09:35:15 +05:30
SettingIntroBanner.vue chore: Cleanup page-top-bar style conflicts (#2407) 2021-06-10 09:35:15 +05:30
TableFooter.vue feat: Use Fluent SVG icons on the dashboard (#3482) 2021-11-30 21:03:18 -08:00
Thumbnail.spec.js chore: Add missing frontend specs (#2329) 2021-05-25 01:30:21 -07:00
Thumbnail.vue fix: Changes thumbnail colors to new color scheme (#3483) 2021-12-01 15:18:41 +05:30
UserAvatarWithName.vue feat: Add CSAT reports (#2608) 2021-07-14 10:20:06 +05:30