Shivam Mishra
08516e6c43
feat: Enable gmail channel ( #9622 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-06-13 13:01:05 +05:30
Shivam Mishra
da4b75a3af
feat: add Google login flow and inbox creation ( #9580 )
...
This PR adds the following changes
1. Refactor `microsoft/callbacks_controller` to move common logic to
`oauth_callback_controller`, most of the logic is re-used for Google
2. Add UI components, `googleClient` and I18n entries for Google login
3. Add Google callback and inbox creation
4. Add a `joinUrl` utility along with specs (need to move it to utils)
5. Add `GoogleConcern`, `Google::AuthorizationsController` and
`Google::CallbacksController`
> Note: The UI is hidden for now, so we can merge this without any
hiccups, to enable it just revert the commit `05c18de`
### Preview
https://github.com/chatwoot/chatwoot/assets/18097732/1606d150-4561-49dc-838d-e0b00fe49ce3
### Linear Tickers
[CW-3370](https://linear.app/chatwoot/issue/CW-3370 )
[CW-3371](https://linear.app/chatwoot/issue/CW-3371 )
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-06-07 16:37:46 +05:30
Sivin Varghese
af90f21cfd
feat: Reconnect logic ( #9453 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-06-03 15:54:19 +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
Shivam Mishra
6c682a6869
feat: add reauthorization banner for Facebook ( #9553 )
2024-05-30 09:41:04 +05:30
Muhsin Keloth
a55fffab3a
chore: Linear integration fixes ( #9538 )
2024-05-29 11:28:13 +05:30
Fernando Verdugo
4a3376e912
fix(typo): Update bulkActions.json ( #9540 )
2024-05-24 08:51:36 -07:00
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
f83af33b87
feat: Add title while linking the linear issue ( #9529 )
2024-05-23 13:32:41 +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
Sivin Varghese
0d13c11c44
fix: Right click Snooze is not working ( #9498 )
2024-05-22 13:03:49 +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
Chatwoot Bot
b0b4668d23
chore: Update translations ( #9439 )
...
- update translations from crowdin
2024-05-15 21:52: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
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
Muhsin Keloth
0914d4d2c8
feat: Revamp browser alert permission in profile settings ( #9350 )
2024-05-06 12:45:59 +05:30
Chatwoot Bot
94e1d55543
chore(i18n): Update the latest translations ( #9340 )
2024-05-02 08:18:17 -07:00
Vishnu Narayanan
0856d76332
chore: Fix typos in inboxmgmt.json ( #9326 )
2024-04-30 07:49:23 -07:00
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
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
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
Chatwoot Bot
f71f43e54a
chore: Update translations ( #9236 )
...
- update translations
------------------
Co-authored-by: Sojan <sojan@pepalo.com >
2024-04-15 18:49:04 -07:00
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
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
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
Muhsin Keloth
1038d1500e
feat: SLA reports view ( #9189 )
...
* feat: SLA report table
* feat: Add SLA popover card
* feat: Update popover position
* feat: Add loader
* Update SLACardLabel.vue
* feat: Update column order
* chore: fix conditions
* Update SLATable.vue
* chore: enable reports in ui
* chore: Revamp report SLA apis
* chore: revert download method
* chore: improve the code
* Update enterprise/app/views/api/v1/accounts/applied_slas/download.csv.erb
Co-authored-by: Vishnu Narayanan <iamwishnu@gmail.com >
* chore: style fixes
* chore: fix specs
* feat: Add number of conversations
* chore: review comments
* fix: translation
* Update app/javascript/dashboard/i18n/locale/en/report.json
Co-authored-by: Vishnu Narayanan <iamwishnu@gmail.com >
* Update app/javascript/dashboard/i18n/locale/en/report.json
Co-authored-by: Vishnu Narayanan <iamwishnu@gmail.com >
* Update app/javascript/dashboard/i18n/locale/en/report.json
Co-authored-by: Vishnu Narayanan <iamwishnu@gmail.com >
* Update SLAReportItem.vue
* Update report.json
* Update package.json
* chore: review comments
* chore: remove unused translation
* feat: Add TableHeaderCell component
* chore: more review fixes
* Update app/javascript/dashboard/components/widgets/TableHeaderCell.vue
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
* Update TableHeaderCell.vue
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Vishnu Narayanan <iamwishnu@gmail.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-04-09 10:14:36 +10:00
Shivam Mishra
69ebdc63e3
feat: better empty state for SLA ( #9198 )
...
* feat: better empty state
* feat: better create CTA
* feat: use text-sm
2024-04-05 11:45:05 +05:30
Sivin Varghese
e49ef773d8
feat: UI to show the SLA threshold in chat screen ( #9146 )
...
- UI will show the breach in the conversation list.
- UI will show the breach in the conversation header.
Fixes: https://linear.app/chatwoot/issue/CW-3146/update-the-ui-to-show-the-breach-in-the-conversation-list
Fixes: https://linear.app/chatwoot/issue/CW-3144/ui-update-to-show-the-breachgoing-to-breach
2024-04-04 15:46:46 +05:30
Muhsin Keloth
fc25f43448
feat: Add SLA reports overview component ( #9167 )
2024-04-02 15:08:19 -07:00
Vishnu Narayanan
16282f6a66
feat: Add push/email notification support for SLA ( #9140 )
...
* feat: update SLA evaluation logic
* Update enterprise/app/services/sla/evaluate_applied_sla_service.rb
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
* chore: refactor spec to bring down expecations in a single block
* chore: fix process_account_applied_sla spec
* chore: add spec to test multiple nrt misses
* feat: persist sla notifications
* feat: revert persist sla notifications
* feat: add SLA push/email notification support
* chore: refactor sla_status to include active_with_misses
* chore: add support for sla push/email notifications
* chore: refactor
* chore: add liquid templates
* chore: add spec for liquid templates
* chore: add spec for sla email notifications
* chore: add spec for SlaPolicyDrop
* chore: refactor to ee namespace
* chore: set enterprise test type to mailer
* feat: enable sla notification settings only if SLA enabled
* chore: refactor
* chore: fix spec
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-03-29 20:27:21 +11:00
Sivin Varghese
3e07320d22
feat: SLA threshold card component ( #9163 )
...
- Component to display SLA timer in the conversation card and header
2024-03-27 13:19:51 +05:30
Sivin Varghese
6d4551bca2
feat: Update the design for SLA policy management pages ( #9136 )
...
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-03-22 14:39:09 -07:00
Sivin Varghese
c51492c674
feat: SLA List Item component ( #9135 )
...
- Base settings list and list item components.
- SLA list item component.
Fixes: https://linear.app/chatwoot/issue/CW-3126/create-a-sla-list-item-component-with-the-new-design
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-03-21 19:30:11 +05:30
Sivin Varghese
44956176a1
feat: Add SLA header component ( #9129 )
...
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-03-20 21:04:44 -07:00
Sojan Jose
1303469087
feat: Ability filter blocked contacts ( #9048 )
...
- This PR introduces the ability to filter blocked contacts from the contacts filter UI
2024-03-20 18:11:50 +05:30
Vishnu Narayanan
29e44ac6d0
feat: add option to delete and disable edits for SLA ( #9108 )
...
* feat: add delete button for SLA
* chore: remove edit SLA
* chore: remove update related texts from i18n
2024-03-15 12:21:32 +05:30
Sojan Jose
89d0b2cb6e
feat: Add the bot performance reports UI ( #9036 )
...
Co-authored-by: Pranav <pranav@chatwoot.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-03-14 23:04:14 -07:00
Vishnu Narayanan
aaf70cf1cf
feat: add push notification when SLA missed ( #9078 )
...
* feat: add push notification when SLA missed
* chore: sent notification only for inbox members
* feat: add conv particpants+admins to SLA notification list
* chore: add spec to ensure notification is created
* chore: refactor to multiple alerts for SLA conditions
* chore: add sla_policy as secondary_actor in notification
2024-03-11 21:49:41 +05:30
Sivin Varghese
0685e04aae
feat: Add inbox view under feature flag on the sidebar ( #9049 )
...
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-03-07 18:27:39 -08:00
Chatwoot Bot
56bf543f7e
chore: Update translations ( #9052 )
2024-03-06 23:30:32 +05:30
Pranav
b4d37fa16b
fix: Update help center styles, fix routing issues ( #9061 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-03-04 09:57:14 -08:00
Sojan Jose
881d4bf644
feat: Add backend APIs for the bot metrics ( #9031 )
...
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-03-01 08:20:20 -08:00
Sojan Jose
cb8f6f1a39
fix: Update the reply time tooltip to avoid confusion ( #9037 )
2024-02-28 12:22:09 -08:00