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
Sivin Varghese
d4a046a21e
fix: Audio notification would not work without action on the dashboard ( #4303 )
...
* fixes: Audio notification would not work without an action on dashboard
* fixes spec
* Minor fixes
* Minor fixes
* Review fixes
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2022-04-07 10:23:18 +05:30
Sivin Varghese
3cd1616df6
fix: Fix agent name in Twitter channel private note acting as a link ( #4326 )
2022-03-31 20:22:52 +05:30
Fayaz Ahmed
dd1fe4f93a
fix: Handle unsanitized markup in DOM ( #4110 )
2022-03-14 18:13:21 +05:30
Nithin David Thomas
3c3b6f90c7
fix: Add base_url to the audio notification file ( #4116 )
2022-03-10 20:40:47 +05:30
giquieu
96b719017b
feat: Ability to send voice message to channel ( #4064 )
...
Created the possibility to send audio as an attachment via the dashboard.
The channels that can send audio are the same channels that can send any type of attachment.
Used RecordRTC (https://github.com/muaz-khan/RecordRTC ) to capture the audio and Wavesurfer (https://github.com/katspaugh/wavesurfer.js ) to display the audio waves.
RecordRTC can be used to record videos if necessary.
Fixes #1973
2022-03-04 19:43:07 +05:30
dependabot[bot]
c76b588850
chore(deps): bump marked from 2.0.3 to 4.0.10 ( #3771 )
...
* chore(deps): bump marked from 2.0.3 to 4.0.10
Bumps [marked](https://github.com/markedjs/marked ) from 2.0.3 to 4.0.10.
- [Release notes](https://github.com/markedjs/marked/releases )
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json )
- [Commits](https://github.com/markedjs/marked/compare/v2.0.3...v4.0.10 )
---
updated-dependencies:
- dependency-name: marked
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* use {marked}
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2022-03-04 14:53:40 +05:30
Sivin Varghese
a3cb26a317
fix: AudioContext warning when loading widget on Chrome ( #3956 )
...
* fix: AudioContext warning when loading widget on Chrome
* minor fixes
* Minor fixes
* adds event on document
* Play audio from parent window through SDK
* Adds notification to dashboard
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com>
2022-02-28 21:43:24 +05:30
Muhsin Keloth
7ba24b90c4
feat: Add chatwoot:error
sdk event ( #3998 )
2022-02-21 09:40:11 +05:30
Muhsin Keloth
80d83b401c
feat: Show refresh modal on action cable disconnect ( #4010 )
2022-02-18 11:09:43 +05:30
Fayaz Ahmed
13eaff156a
Added keybindings for commandbar ( #3854 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2022-01-27 17:57:33 +05:30
thedev105
6d378eb206
Fix: Update contact validation messages ( #3500 )
...
Fixes #3476
2021-12-03 13:19:11 +05:30
wsuff
26f36548c2
chore: Update message limit to Twilio recommended 320 characters ( #3333 )
2021-11-08 10:27:00 +04:00
Pranav Raj S
8e6ce3a813
feat: Add notes for Contacts ( #3273 )
...
Fixes #2275
2021-10-25 18:35:58 +05:30
Sivin Varghese
050df43789
feat: Adds sound alert notification for new messages on the widget ( #3181 )
...
* feat: Adds sound alert notification for new messages on the widget
* Review fixes
* uses absolute path
* Minor fixes
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2021-10-18 06:09:04 -07:00
Sojan Jose
c54aae21ff
chore: Move agent availability to Account level ( #3074 )
...
- Move agent availability to the account level
2021-10-07 13:21:46 +05:30
Sivin Varghese
1761bec615
feat: Adds ability to edit out webhook URL of API Channel ( #3013 )
2021-09-28 12:33:08 +05:30
Sivin Varghese
c3314dd186
feat: Creates a modal showing all the available keyboard shortcuts ( #2728 )
...
* feat: Adds modal showing all the available keyboard shortcuts
* Minor fixes
* Minor fixes
* Spacing fixes
* fix translations
* Adds i18n
* Review fixes
* Review fixes
* spacing fixes
* Review fixes
* Minor fixes
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2021-08-09 21:23:40 -07:00
Sivin Varghese
c523a953f7
feat: Adds keyboard shortcuts for conversation actions ( #2672 )
...
* feat: Adds keyboard shortcuts for conversation actions
* Minor fixes
* Minor fixes
* Minor fixes and add new shortcut
* MInor fixes
* Review fixes
* Minor fixes
* Code cleanup
* Minor fixes
* Uses Alt or Option key instead of shift-key
* Review fixes
* Review fixes
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2021-08-09 00:38:52 -07:00
Pranav Raj S
5b3339cd33
fix: Render line-breaks properly in messages ( #2699 )
2021-08-02 08:24:08 +05:30
Sivin Varghese
0bd48129b9
feat: Add settings for audio alert notifications ( #2415 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2021-07-05 12:01:54 +05:30
Pranav Raj S
25ba852b68
chore: Adjust Chatwoot Config to deploy frontend as a separate app ( #2347 )
2021-05-28 19:21:16 +05:30
Muhsin Keloth
62d19911be
chore: Add chatwoot utils package ( #2307 )
...
* add chatwoot utils package
* remove color helper
* replace contrasting text color with chatwoot util
2021-05-24 00:13:03 -07:00
Pranav Raj S
35f0fba51d
fix: Add validation on the message length in Vue ( #2209 )
...
Co-authored-by: Nithin David Thomas <webofnithin@gmail.com>
2021-05-04 19:31:00 +05:30
Nithin David Thomas
98bfef026e
Chore: Add validation for contact phone field ( #2105 )
2021-04-16 06:18:13 -07:00
Muhsin Keloth
ce4ce3c86c
fix: Check uploaded file size in widget and dashboard ( #1975 )
...
* File size check logic in widget
* set maxium file size
* update locale texts
* file size check in dashboard
* dynamincally set file size limit error message
* code climate review fixes
* add alert mixin
* move attahcment bus event to constants
* Move file size check logic to helper
* add specs for file size limit check helper
* changes as per review
2021-04-15 22:28:19 +05:30
Sivin Varghese
a14e8ba250
Fix: Adds favicon badge for notification alert. ( #2079 )
...
* Adds favicon badge for notification alert.
2021-04-13 19:25:19 +05:30
Nithin David Thomas
33b73451b7
Fix: Update offline message in widget by availability ( #1879 )
...
Feat: Display out of office message based on business hours
Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
2021-03-13 14:06:25 +05:30
Nithin David Thomas
6c87001a0e
Feat: Show working hours on widget ( #1823 )
...
Feat: Display out of office message based on business hours
Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2021-03-13 11:44:28 +05:30
Nithin David Thomas
d70208a0a8
Fix: apply alert conditions while document is hidden ( #1859 )
2021-03-08 13:13:13 +05:30
Nithin David Thomas
9e8a943ec7
feat: Add audio alert for incoming messages on dashboard ( #1738 )
...
Fixes : #1345
2021-03-04 19:24:03 +05:30
Nithin David Thomas
c17380d48a
Feat: Create contact from contacts page ( #1806 )
...
* Add contact create modal to contacts page
* Test cases
* Review fixes
2021-02-19 20:22:58 +05:30
Pranav Raj S
7748e0c56e
fix: Update flaky notification tests ( #1728 )
2021-02-03 17:55:27 +05:30
Pranav Raj S
b93388b330
feat: Tag agents in a private note ( #1688 )
...
Co-authored-by: Sojan <sojan@pepalo.com>
2021-01-27 00:04:11 +05:30
Nithin David Thomas
a5c3c4301c
feat: Add support for markdown in messages ( #1642 )
...
Co-authored-by: Pranav <pranav@chatwoot.com>
2021-01-15 14:40:50 +05:30
Nithin David Thomas
764c90174e
feat: Improve sidebar UI, add emoji icons instead of ionicons ( #1605 )
...
Co-authored-by: Pranav <pranav@chatwoot.com>
2021-01-12 14:45:10 +05:30
Muhsin Keloth
3e61ea5cfa
feat: Change the date format display in widget ( #1528 )
...
Co-authored-by: Pranav <pranav@chatwoot.com>
2020-12-24 18:53:47 +05:30
Pranav Raj S
85514cae8d
feat: Display reply time in widget ( #1349 )
...
Fixes #1132
2020-10-18 23:32:22 +05:30
Pranav Raj S
1312d07aa2
chore: Remove momentjs
, use date-fns
( #1233 )
2020-09-14 15:14:26 +05:30
Pranav Raj S
8cf05f1d9f
feat: Ability to edit a contact ( #1092 )
...
Ability to edit contact information in conversation sidebar
Co-authored-by: Sojan <sojan@pepalo.com>
2020-08-23 00:05:07 +05:30
Sojan Jose
4216d63311
feat: Ability to reply to specific tweets ( #1117 )
...
Ability to choose a specific tweet to reply to
Fixes #982
Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com>
2020-08-11 09:57:42 +05:30
Pranav Raj S
12ee7e5d82
feat: Add chatwoot:ready
event listener on window ( #1091 )
...
* feat: Add `chatwoot:ready` event listener on window
* Add specs
* Rename customEventHelper.js -> CustomEventHelper.js
2020-07-25 21:54:58 +05:30
Sojan Jose
a18d54b706
Chore: Cleanup attachment handling for Facebook & Whatsapp ( #1051 )
...
* Chore: Enable file upload for facebook messenger
* Chore: Fix attachments
* Chore: Fix Specs
* Fix ReplyBox file attachment logic
* Set default value for message
Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
2020-07-17 00:32:32 +05:30
Sojan Jose
c98907db49
Feature: Availability Statuses ( #874 )
...
Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com>
2020-07-04 11:42:47 +05:30
Sojan Jose
1ef8d03e18
Feature: Slack - receive messages, create threads, send replies ( #974 )
...
Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com>
2020-06-22 13:19:26 +05:30
Pranav Raj S
f78df91dd2
Chore: Contact Sidebar, conversation cleanup ( #908 )
...
- Update sidebar design
- Move every contact data to contacts module
- Revert go to next conversation feature
- Fix issues with new conversation in action cable
- Escape HTML content
- Broadcast event when conversation.contact changes.
Co-authored-by: Sojan <sojan@pepalo.com>
2020-06-02 22:59:02 +05:30
Pranav Raj S
47ec7ad7c9
Feature: Ability to customise widget color ( #903 )
...
- Use Chrome style color-picker
2020-05-30 17:28:00 +05:30
Sojan Jose
b7a583b2c4
Feature: Ability to switch between multiple accounts ( #881 )
...
* Feature: Ability to switch between multiple accounts
* Fix rubocop
* Fix assigned inboxes
* fix auth json
* Add account switcher in UI
* fix ordering on administrate
* Add switch accounts to sidebar
* add account id
* Fix schema.rb timestamp
* Revert "add account id"
This reverts commit 27570f50ef584cb9a5f69454f43f630b318c8807.
* Add a check for account
Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
2020-05-26 22:38:48 +05:30
Pranav Raj S
b7129785c6
Chore: View form responses as user messages ( #876 )
...
* Chore: View form responses as user messages
2020-05-17 22:49:45 +05:30
Nithin David Thomas
a951fb20cb
Chore: UI fixes and enhancements ( #796 )
...
Co-authored-by: Pranav Raj S <pranavrajs@gmail.com>
2020-05-02 09:47:36 +05:30