iachat/app/views
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
..
android_app chore: Universal Linking for Android (#2324) 2021-06-02 08:46:45 -07:00
api feat: new re-authorization flow for Microsoft (#9510) 2024-05-23 16:03:40 +05:30
apple_app Chore: Apple site association file for deep linking (#805) 2020-05-03 12:16:11 +05:30
dashboard Initial Commit 2019-08-14 15:18:44 +05:30
devise fix: Fixes wrong copy being sent to users via email invite [cw-1290] (#7159) 2023-05-23 09:37:40 +05:30
fields chore: Reorganize the installation config settings (#8794) 2024-01-31 16:48:42 +04:00
icons feat: Updates branding logo and name in public portal footer (#8745) 2024-01-19 13:37:24 +04:00
installation/onboarding feat: Super admin design improvements (#8517) 2023-12-08 19:40:35 -08:00
layouts feat: allow setting dashboard scripts from super_admin (#9514) 2024-05-23 14:30:41 +05:30
mailers feat: Add push/email notification support for SLA (#9140) 2024-03-29 20:27:21 +11:00
microsoft fix: Identity JSON response header (#6326) 2023-02-02 11:01:18 +05:30
platform/api/v1 chore: Adds API for agent bot avatar upload (#8533) 2023-12-11 19:02:11 -08:00
public/api/v1 feat: add sitemap for help center (#9280) 2024-04-26 21:36:39 +05:30
super_admin feat: allow setting dashboard scripts from super_admin (#9514) 2024-05-23 14:30:41 +05:30
survey/responses feat: CSAT response collection public page (#2685) 2021-08-03 18:22:50 +05:30
widget_tests chore: Adds hasConversation flag in chatwoot:on-start-conversation event (#8132) 2023-10-17 16:24:00 -07:00
widgets feat: remove feature flag checks for message reply to (#8352) 2023-11-15 13:05:58 +05:30