Shivam Mishra
00da2ac847
fix: locales settings on portal ( #9583 )
...
The previous changes made on Portal locales introduced a bug where users
were not able to set the default locale, this PR fixes that
2024-06-03 14:56:53 +05:30
Pavel Kuzmin
803471e42f
fix: browser info ( #9569 )
...
# Pull Request Template
## Description
fixed getting browser data
In Vue, without computed properties, the data doesn't update, and
because of this, it doesn't display information about the browser.
## Type of change
Please delete options that are not relevant.
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality not to work as expected)
- [ ] This change requires a documentation update
## Checklist:
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [ ] I have commented on my code, particularly in hard-to-understand
areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream
modules
2024-06-02 19:06:10 +05:30
Shivam Mishra
ae35b47ae3
fix: Add the translation for Sign in with Microsoft button ( #9567 )
...
The sign in button for Microsoft inbox was not translated, this PR fixes it
2024-05-31 09:01:50 -07:00
Fayaz Ahmed
b474929f5e
chore: Replace eventBus with mitt.js [CW-3275] ( #9539 )
...
# Replace the deprecated `eventBus` with mitt.js
## Description
Since eventBus and it's respective methods are deprecated and removed
from all future releases of vue, this was blocking us from migrating.
This PR replaces eventBus with
[mitt](https://github.com/developit/mitt ). I have created a wrapper
mitt.js to simulate the same old event names so it's backwards
compatible, without making a lot of changes.
Fixes # (issue)
## Type of change
Please delete options that are not relevant.
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality not to work as expected)
- [ ] This change requires a documentation update
## How Has This Been Tested?
1. Made sure all the places we're listening to bus events are working as
expected.
2. Respective specsf or the events from mitt.
## Checklist:
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [x] I have commented on my code, particularly in hard-to-understand
areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [x] Any dependent changes have been merged and published in downstream
modules
2024-05-31 15:50:36 +05:30
Sivin Varghese
e3eca47c31
feat: Split reconnect logic PR (store) ( #9520 )
...
# Pull Request Template
## Description
This PR includes store filter parts split from this [Reconnect
PR](https://github.com/chatwoot/chatwoot/pull/9453 )
2024-05-30 12:29:55 +05:30
Shivam Mishra
6c682a6869
feat: add reauthorization banner for Facebook ( #9553 )
2024-05-30 09:41:04 +05:30
Sivin Varghese
41e27e95b4
fix: TypeError cannot read properties of undefined (reading 'name') ( #9562 )
2024-05-29 22:04:30 +05:30
Sivin Varghese
b31be37dc2
fix: TypeError undefined is not an object (evaluating 'this.features.inbound_emails') ( #9563 )
2024-05-29 21:31:37 +05:30
Shivam Mishra
eafd3ae44d
feat: new re-authorization flow for Microsoft ( #9510 )
...
This PR adds a cleaner re-authorization flow to Microsoft. This PR has
the following changes
1. Use `reauthorization_required` value for Microsoft Channel
2. Refactor `InboxReconnectionRequired` to reuse the `banner` component
3. Refactor `microsoft/Reauthorize.vue` to reuse
`InboxReconnectionRequired` component
4. Update `reauthorizable.rb` to update cache keys if the model has an
inbox
5. Update `microsoft/callbacks_controller.rb` to handle the
reauthorization case with a redirect to the inbox settings page if the
inbox already exists at the time of authorization.
## How Has This Been Tested?
- [x] Local Instance
- [ ] Staging Instance
- [x] Unit tests
## Pending Tasks
- [ ] ~Success Toast~ will do this in a follow-up PR with the screen
## Demo
The following video shows the whole process of creation and
re-authorization of the Microsoft channel
https://www.loom.com/share/e5cd9bd4439c4741b0dcfe66d67f88b3?sid=100f3642-43e4-46b3-8123-88a5dd9d8509
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-05-23 16:03:40 +05:30
Muhsin Keloth
35508feaae
feat: Linear front end ( #9491 )
...
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
Co-authored-by: iamsivin <iamsivin@gmail.com >
2024-05-23 11:58:24 +05:30
Muhsin Keloth
023b3ad507
feat: Add APIs for linear integration ( #9346 )
2024-05-22 13:37:58 +05:30
Sivin Varghese
0d13c11c44
fix: Right click Snooze is not working ( #9498 )
2024-05-22 13:03:49 +05:30
Sivin Varghese
00dca9466a
feat: Move the SLA filter dropdown to UI folder ( #9502 )
...
# Pull Request Template
## Description
I moved the newly created SLA filter dropdown to the UI folder to use in
adding the Linear issue modal.
2024-05-20 16:23:42 +05:30
Shivam Mishra
e9831b8855
feat: add inbox reconnection banner ( #9441 )
...


---------
Co-authored-by: Fayaz Ahmed <fayazara@gmail.com >
2024-05-20 11:57:03 +05:30
Sojan Jose
7ed375f6f5
chore: Show valid error messages on Inbox creation ( #9474 )
...
At the moment, when creating an inbox for Whatsapp, Telegram, etc., we show a generic error message saying that inbox creation failed. This PR will show the error messages directly from the API call, which is more helpful as it says if the error is due to the provided credentials.
2024-05-15 15:53:41 -07:00
Shivam Mishra
05f0398b86
fix: Update message signature default value ( #9446 )
2024-05-09 10:55:30 -07:00
Sivin Varghese
5138a0ad32
feat: Adds support for all snooze option in bulk actions ( #9361 )
...
* feat: Add support for bulk snooze until
* feat: Adds support for all snooze option in bulk actions
* chore: Adds comment
* chore: Review fixes
* chore: Minor fix
* chore: Minor fix
* chore: Review fixes
* chore: yarn changes
* fix: terminal waring
* chore: Adds spec
* Update conversationHotKeys.js
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-05-09 19:27:31 +05:30
Shivam Mishra
73f373913f
fix: Add fallback for created_by and updated_by attributes in Macro ( #9436 )
2024-05-08 13:40:07 -07:00
Shivam Mishra
2ef767d60f
feat: exporting contacts takes the filters into account ( #9347 )
...
- This PR allows contacts to be exported using the current filter in CRM view
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2024-05-07 20:18:36 -07:00
Sojan Jose
892e1fd333
chore:Remove the official support for 360Dialog APIs ( #9356 )
2024-05-07 11:37:28 -07:00
Muhsin Keloth
2af0d58deb
feat: Revamp profile settings screen ( #9352 )
...
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
Co-authored-by: iamsivin <iamsivin@gmail.com >
2024-05-06 22:33:39 +05:30
Muhsin Keloth
0914d4d2c8
feat: Revamp browser alert permission in profile settings ( #9350 )
2024-05-06 12:45:59 +05:30
MJRT
5693a91fd3
feat: Gray out Microsoft email option when Azure App ID is not configured ( #9087 )
...
Fixes #9083
Co-authored-by: Pranav <pranavrajs@gmail.com >
2024-05-02 15:05:08 -07:00
Jeffrey Otano
2769b03cc8
feat: Add ability to sort canned responses ( #9330 )
...
Co-authored-by: jeffOtano <jeff@rinsed.com >
2024-05-02 14:11:52 -07:00
Muhsin Keloth
3488a315d0
fix: Add an option to view the masked information in the profile settings UI ( #9343 )
2024-05-02 13:55:40 -07:00
Muhsin Keloth
c9a575c310
feat: Revamp access token section in profile settings ( #9328 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-04-30 22:02:01 +05:30
Muhsin Keloth
c92ea11eee
feat: Revamp notification and audio preferences ( #9312 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-04-30 16:50:00 +05:30
Shivam Mishra
6917ea2dbd
fix: portal settings layout ( #9324 )
...
* fix: padding
* fix: max width
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-04-30 10:57:22 +05:30
Sivin Varghese
12af2fe026
feat: Remove the usage of clickAway mixin with directive ( #9323 )
2024-04-30 10:35:14 +05:30
Shivam Mishra
705f8ef948
feat: add composables for migration and update portal settings ( #9299 )
...
* feat: setup vuelitdate for vue 2.7
* feat: add all composables
* fix: portal settings layout
* feat: remove styles
* feat: use setup API for ListAllCategories
* chore: format ListAllCategories
* refactor: add useAlert
* feat: add track composable
* feat: update map getters
* fix: import
* feat: update edit portal locales page [wip]
* feat: migrate locales page
* feat: remove alert message ref
* chore: format EditPortalLocales
* refactor: use composiiton api for PortalCustomization
* refactor: remove color
* feat: update PortalSettingsCustomizationForm to use setup syntax
* refactor: no need to import defineEmits
* refactor: format component
* fix: update logic
* feat: migrate PortalSettingsBasicForm
* refactor: format PortalSettingsBasicForm
* refactor: migrate EditPortalCustomization to Vue 2.7
* feat: migrate EditPortalBasic to vue 2.7
* chore: revert changes to EditPortal
* fix: portal layout
* fix: width
* feat: use setup syntax
* fix: double border
* feat: return track method
* refactor: track usage
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-04-30 10:13:50 +05:30
Muhsin Keloth
43b79aba9e
feat: Revamp hotkeys and change password in profile settings ( #9311 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-04-29 17:58:29 +05:30
Sivin Varghese
47b1f610f1
feat: Adds helper text for custom fields in contact sidebars ( #9317 )
...
* feat: Adds helper text for custom fields in contact sidebars
* Update app/javascript/dashboard/components/ui/HelperTextPopup.vue
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
* chore: Review fix
---------
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-04-29 17:32:44 +05:30
Muhsin Keloth
c4eadd12ed
feat: Revamp basic profile, avatar and message signature ( #9310 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-04-29 16:41:55 +05:30
Sivin Varghese
28728635c9
feat: Custom date picker ( #9247 )
...
* feat: Custom date picker
* chore: Calender footer
* chore: Minor fix
* chore: Reset date picker
* chore: Minor fix
* feat: Toggle button
* chore: Clean up
* chore: Use font inter
* chore: Cleanup and fix bugs
* fix: custom date range reset the calendar
* chore: fix logic bug
* feat: Add manual date range
* fix: styles in rtl
* chore: Helper specs
* chore: Clean up
* chore: Review fixes
* chore: remove magic strings
* chore: Add comments
* chore: Review fixes
* chore: Clean up
* chore: remove magic strings
* fix: Use outline instead of border
* chore: Minor style fix
* chore: disable pointer events for the disabled dates
* chore: Fix code climate
---------
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-04-29 14:43:57 +05:30
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
Shivam Mishra
9086650fe2
fix: heatmap colors for dark mode [CW-3241] ( #9278 )
...
* feat: add new heatmap colors
* fix: loader
* fix: move new styles to tailwind
* feat: update tw classes
* refactor: update styles
* feat: add useI18n composable
* feat: use composition api
* fix: empty div
* chore: don't import defineProps
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-04-25 10:23:15 +05:30
Shivam Mishra
8c813097db
feat: update SLA upgrade banner ( #9291 )
...
feat: add cancel anytime notice
2024-04-24 17:19:35 +05:30
Sivin Varghese
ca2fa5ff06
fix: Clicking on contact attributes doesn't do anything if contact attributes list is empty ( #9257 )
...
* fix: Clicking on contact attributes doesn't do anything if contact attributes list is empty
* Update app/javascript/dashboard/i18n/locale/en/conversation.json
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
* Update app/javascript/dashboard/i18n/locale/en/contact.json
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-04-18 12:31:32 +05:30
Shivam Mishra
2cde42c7ec
feat: add upgrade banner for SLA feature ( #9240 )
...
- Add an upgrade CTA for the SLA feature
-------------------
Co-authored-by: Sojan Jose <sojan@pepalo.com >
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-04-16 16:59:39 -07:00
Sivin Varghese
5cc41c9ed5
fix: Reports filter style issue ( #9241 )
2024-04-16 11:12:04 +05:30
Muhsin Keloth
c05a79cf61
fix: Add more filters for SLA download reports ( #9231 )
...
Co-authored-by: iamsivin <iamsivin@gmail.com >
2024-04-16 09:00:52 +05:30
Sivin Varghese
dc757598f1
fix: Disable clear filter button in add filter dropdown ( #9226 )
2024-04-12 13:38:51 +05:30
Sivin Varghese
3b6ae772bf
feat: SLA report filter ( #9218 )
...
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-04-12 11:03:18 +05:30
Muhsin Keloth
aed156f359
feat: Better SLA missed events popover ( #9215 )
...
* feat: SLA events component
* feat: Add SLA event item component
* Update SLAPopoverCard.vue
* Update SLAPopoverCard.vue
* fix: Translation
* Update SLAEventItem.vue
* feat: complete sticky nrt
* chore: code cleanup
* Update SLACardLabel.vue
* chore: code cleanup
* chore: away click fixes
* feat: use tabular nums
---------
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-04-10 12:49:38 +05:30
Muhsin Keloth
455a05481c
fix: Remove background color from table footer ( #9213 )
...
* fix: remove bg from footer
* Update SLATable.vue
* Update app/javascript/dashboard/routes/dashboard/settings/reports/components/SLA/SLATable.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-04-09 15:29:05 +10:00
Shivam Mishra
626f487232
feat: update create SLA modal design ( #9182 )
...
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-04-08 21:02:01 -07:00
Sivin Varghese
8fe3c91813
feat: Custom attribute sidebar list UX improvements ( #9070 )
...
---------
Co-authored-by: Pranav <pranav@chatwoot.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-04-08 21:00:49 -07:00
Muhsin Keloth
c4e111b554
feat: Download SLA reports ( #9201 )
2024-04-08 20:51:34 -07:00
Sivin Varghese
12c5739287
fix: Adds background color for skelton loader in dark mode ( #9211 )
2024-04-08 20:28:56 -07:00
Muhsin Keloth
78724f7459
feat: Table footer design updates ( #9194 )
...
* feat: table footer component cleanup
* Update TableFooter.vue
* feat: Update design
* chore: remove RTL mixin
* chore: Make component in composable format
* chore: review fixes
2024-04-09 10:50:41 +10:00