Shivam Mishra
47f8b2cd0c
refactor: handling keyboard shortcuts ( #9242 )
...
* fix: Resolve and go next keyboard shortcuts doesn't work
* refactor: use buildHotKeys instead of hasPressedCommandPlusAltAndEKey
* feat: install tinykeys
* refactor: use tinykeys
* test: update buildKeyEvents
* fix: remove stray import
* feat: handle action list globally
* feat: allow configuring `allowOnFocusedInput`
* chore: Navigate chat list item
* chore: Navigate dashboard
* feat: Navigate editor top panel
* feat: Toggle file upload
* chore: More keyboard shortcuts
* chore: Update mention selection mixin
* chore: Phone input
* chore: Clean up
* chore: Clean up
* chore: Dropdown and editor
* chore: Enter key to send and clean up
* chore: Rename mixin
* chore: Review fixes
* chore: Removed unused shortcut from modal
* fix: Specs
---------
Co-authored-by: iamsivin <iamsivin@gmail.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-04-26 15:41:02 +05:30
Sivin Varghese
3adaa2d602
fix: Retry message not working if the conversation has an external issue ( #8529 )
2023-12-13 15:46:10 +05:30
Sivin Varghese
2d1f70eb79
feat: Update public portal colors with new design ( #8230 )
2023-11-23 08:16:52 +05:30
Sivin Varghese
e0f33e62af
feat: Adds support for image resize in the message bubble ( #8182 )
2023-11-08 14:11:47 +05:30
Shivam Mishra
cbae95422d
feat: Implement reply to for reply editor ( #8063 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-10-10 19:13:12 +05:30
Shivam Mishra
081c845c56
chore: Remove twitter actions ( #8079 )
2023-10-10 16:48:58 +05:30
Shivam Mishra
a88d155dd7
feat: update tool-chain to latest ( #7975 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-09-27 14:02:34 +05:30
Shivam Mishra
c83105ce4f
feat: dismiss label suggestions only for 24 hours ( #7579 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-07-24 17:51:09 +05:30
Sivin Varghese
1176e5eb8a
feat: Custom phone input in pre-chat form ( #7275 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-06-26 10:26:06 +05:30
Shivam Mishra
996325f35b
feat: multiple UX improvements to labels ( #7358 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-06-25 18:49:49 +05:30
Muhsin Keloth
2c34dca347
fix: NS_ERROR_STORAGE_BUSY warnings in firefox ( #7319 )
...
Fixes: https://linear.app/chatwoot/issue/CW-2075/ns-error-storage-busy-no-error-message
2023-06-15 17:53:26 +05:30
Sivin Varghese
b333d0c986
feat: Attachments view ( #7156 )
...
* feat: Attachments view with key shortcuts and dynamically updates when user delete or sent new attachments
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-06-05 19:21:47 +05:30
Sojan
1f4d096804
Merge branch 'hotfix/2.17.1' into develop
2023-05-19 20:56:16 +05:30
Sivin Varghese
1bcc438b21
fix: Problem when using Brazilian Portuguese ( #7135 )
...
Fixes: #7127
2023-05-19 20:55:01 +05:30
Shivam Mishra
105f9a27d2
feat: more CSAT filters ( #7038 )
...
* refactor: use grid instead of flex
* refactor: let the parent layout decide the spacing
* feat: add a separate date-range component
* refactor: use new date-range component
* fix: destructure all options
* refactor: separate group by component
* refactor: better handle group by data
* fix: defaul group by
* refactor: variable naming
* refactor: use DATE_RANGE_OPTIONS directly
* chore: update platform in gemfile.lock
* refactor: trigger fetch on filter change
* refactor: remove redundant method
* refactor: simplify methods and emitting
* refactor: simplify filter logic
* refactor: simplify fetching
* refactor: imports
* refactor: prop name
* refactor: CSAT response to use new APIs
* refactor: use common filter event
* refactor: use computed value for validGroupBy
* refactor: better function names
* refactor: rename prop
* refactor: remove redundant props
* refactor: separate agents filter component
* feat: add labels filter
* feat: add inboxes filter
* fix: event
* refactor: send label and inbox along with request payload
* feat: add inbox filter
* feat: add inbox to download
* refactor: use request payload from computed property
* refactor: params
* feat: add team to csat filters
* feat: add team to csat filters
* feat: add filter for rating
* feat: reverse options
* feat: add labels for ratings and translations
* feat: update translation
* fix: margin and spacing
* fix: trailing whitespace
* feat: add tests for filters
* chore: move files
* feat: add try catch with alerts
* feat: update import
* fix: imports
* Updates broken imports
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-05-18 22:50:46 +05:30
Sivin Varghese
198cd9b28d
feat: Show next available day/hour and minutes on widget ( #6902 )
...
* feat: Show next available hour and minutes on widget
* chore: Adds spec
* chore: Show days
* chore: Code clean up
* chore: Review fixes
* chore: Minor fixes
* chore: Review suggestion fixes
* chore: Minor fixes
* Added timezone to widget payload
* chore: Adds time zone
* chore: Review fixes
* chore: Adds comments
* chore: Rounded up min with nearest multiple of 5
* chore: Review fixes
* chore: Review fixes
* chore: Review fixes
* chore: Review fixes
* chore: Fix specs
* chore: Review fixes
* chore: Fix specs
* chore: Review fixes
* chore: Moved day names to i18n
* chore: Review fixes
* chore: Fix specs
---------
Co-authored-by: Tejaswini Chile <tejaswini@chatwoot.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2023-05-12 19:25:51 +05:30
Muhsin Keloth
13fe439d9f
Move the reconnect logic from the update presence ( #6992 )
2023-04-28 14:02:30 +05:30
Muhsin Keloth
815322b27a
feat: Refetch the active conversation messages on action cable reconnect ( #6790 )
2023-04-24 10:17:12 +05:30
Sivin Varghese
c9ce9e5b8f
feat: Improved country code in contact form view. ( #6801 )
...
* feat: Improved country code in contact.
* chore: Minor fixes
* chore: Minor fixes
* chore: Adds arrow key navigation and cursor pointer
* chore: Minor fix
* chore: Code clean up
* chore: Handle outside click
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >, Nithin David
2023-04-17 20:32:09 +05:30
Nithin David Thomas
09ce85b30d
Chore: moves localstorage helper as a shared utility ( #6838 )
...
* Chore: moves localstorage helper as a shared utility and refactors constants
* Refactors constants file
* Fixes merge conflicts
* Delete constants.js
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-04-11 15:50:46 +05:30
balawa
2ca8726005
feat: Extend the message limit for the Facebook Channels ( #6816 )
2023-04-04 12:07:13 -07:00
Shivam Mishra
c88792f4a3
feat: add Conversation traffic heatmap ( #6508 )
...
* feat: add heatmap component
* feat: add heatmap component
* feat: add dummy heatmap
* refactor: compact tiles
* feat: allow hour
* feat: wire up heatmap query
* feat: allow arbritrary number of weeks
* feat: update position of the widget
* chore: update heatmap title
* refactor: move traffic heatmap to overview
* chore: add comment for perf
* feat: add reconcile logic for heatmap fetching
Fetching the data for the last 6 days all the time is wasteful
So we fetch only the data for today and reconcile it with the data we already have
* refactor: re-org code for new utils
* feat: add translations
* feat: translate days of the week
* chore: update chatwoot utils
* feat: add markers to heatmap
* refactor: update class names
* refactor: move flatten as a separate method
* test: Heatmap Helpers
* chore: add comments
* refactor: method naming
* refactor: use heatmap-level mixin
* refactor: cleanup css
* chore: remove log
* refactor: reports.js to use object instead of separate params
* refactor: report store to use new API design
* refactor: rename HeatmapHelper -> ReportsDataHelper
* refactor: separate clampDataBetweenTimeline
* feat: add tests
* fix: group by hour
* feat: add scroll for smaller screens
* refactor: add base data to reconcile with
* fix: tests
* fix: overflow only on smaller screens
* feat: translate tooltip
* refactor: simplify reconcile
* chore: add docs
* chore: remoev heatmap from account report
* feat: let Heatmap handle loading state
* chore: Apply suggestions from code review
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* feat: update css
* refactor: color assignment to range
* feat: add short circuit
* Update app/javascript/dashboard/routes/dashboard/settings/reports/components/Heatmap.vue
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-03-07 09:01:58 +05:30
Pranav Raj S
2a385f377c
chore: Use markdown-it instead of marked ( #6123 )
...
* chore: Use markdown-it instead of marked
* Adds styling for markdown rendered content
* fixes codeclimate issue
* Fixes blockquote styles for widget in darkmode
* fix: issue block quote color issue in light mode
* fix: issue block quote color issue in light mode
* Fixes blockquote color in dark mode
* Remove usage of dark mode mixin in user bubble
* chore: code clean up
---------
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: iamsivin <iamsivin@gmail.com >
2023-03-03 13:26:54 +05:30
Sivin Varghese
14382ad881
fix: Not able to create a portal if the custom domain is empty ( #6224 )
2023-01-10 20:50:35 +05:30
Pranav Raj S
ffb4bd0109
feat: Add the support for video calls with Dyte in the live-chat widget ( #6208 )
...
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: iamsivin <iamsivin@gmail.com >
2023-01-09 11:52:31 -08:00
Sivin Varghese
0a65a233d7
fix: Invalid portal domain validation ( #6166 )
...
* fix: Invalid portal domain validation
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-01-09 13:42:19 +05:30
Pranav Raj S
6ffb7fe34e
chore: Refactor audio notification helper ( #6148 )
2022-12-30 13:54:37 -08:00
Sivin Varghese
02a687b226
feat: Add new audio alert options ( #6141 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-12-30 13:54:37 -08:00
Sivin Varghese
2972319026
fix: Update colors in widget buttons to fix invalid colors ( #6033 )
...
Co-authored-by: nithindavid <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-12-14 15:21:20 -08:00
Sivin Varghese
9d78f0d6c6
feat: Adds number validation for WhatsApp inbox at the creation step ( #6043 )
...
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2022-12-12 19:52:37 -08:00
Sivin Varghese
89cfc5bbf3
fix: Send message with "enter" also do new line ( #5961 )
...
* fix: Send message with "enter" also do new line
* chore: Review fixes
* chore: Naming fixes
* chore: Minor fixes
* chore: Fix line break issue when cmd plus enter enabled
2022-12-06 11:25:49 +05:30
David Kubeš
bcde84b5b5
feat: Add ability to paste file/image from clipboard ( #5627 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2022-10-25 13:35:11 +05:30
Pranav Raj S
95cc55d043
fix: Update pagination logic in the help center ( #5693 )
2022-10-20 20:05:17 -07:00
Chad Burggraf
4d0b302802
Avoid crashing when AudioContext is not available. ( #5641 )
...
#4942 . We've also had a number of crash reports show up in our logs related to this. Typically we see "undefined is not a constructor" because of the `window.AudioContext || window.webkitAudioContext` returns `undefined`.
2022-10-20 19:13:20 -07:00
Sivin Varghese
beedfc47bf
feat: Allow users to select Cmd+Enter as a hotkey ( #4401 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-10-03 15:27:34 -07:00
Fayaz Ahmed
e585b227f1
chore: Check for empty strings in name formatter ( #5434 )
2022-09-14 07:15:04 -07:00
Pranav Raj S
8af27d861b
chore: Default to rich content editor in website and email channel ( #5357 )
2022-09-13 05:41:42 -07:00
Pranav Raj S
657bd44418
fix: Update the relevant agent presence only ( #5220 )
2022-08-09 12:32:09 +05:30
David Kubeš
a18c0a97f3
chore: Replace packages with native functions ( #5140 )
2022-08-03 17:08:21 +05:30
Sivin Varghese
f7d4f39b5c
fix: Avatar renders an incorrect symbol if it has emoji ( #5184 )
2022-08-03 14:11:33 +05:30
Chad Burggraf
558e3c7499
fix: Catch audio context errors ( #5051 )
...
Prevent errors in decoding and playing sounds from propagating
by catching them in the promise chain.
Fixes #4281 .
2022-07-19 08:59:50 +05:30
Pranav Raj S
dcbca173ac
chore: Revert the migration for inbox name changes ( #4919 )
2022-06-23 20:36:46 +05:30
Aswin Dev P.S
d5ddc9d76c
chore: Fix SMTP sentry issue ( #4883 )
...
* Fix SMTP sentry issue
2022-06-22 14:09:04 -07:00
Pranav Raj S
45e2cd4903
fix: Render links with target attribute ( #4685 )
2022-05-16 11:29:05 +05:30
Pranav Raj S
2e0d43c093
chore: Use different files for widget and dashboard audio alert ( #4637 )
2022-05-06 20:19:36 +05:30
Aswin Dev P.S
676796ddc7
feat: Add reports about live agent load ( #4537 )
...
* feat: Add reports about live agent load
2022-04-25 07:34:41 -07:00
Pranav Raj S
17fb6b8d55
fix: Update business hour calculation ( #4496 )
2022-04-18 18:15:20 +05:30
Sivin Varghese
14503b5fe0
feat: Add missing password validation at signup ( #4441 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-04-12 11:08:12 +05:30
Pranav Raj S
bc7bcc20b8
Revert "feat: Adds support for draft in conversation reply box ( #4205 )" ( #4425 )
...
This reverts commit 5ea0436051 .
2022-04-08 15:52:39 +05:30
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