chatwoot/app/javascript
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
..
dashboard feat: new re-authorization flow for Microsoft (#9510) 2024-05-23 16:03:40 +05:30
packs fix: widget does not load when navigating on pages with view transition [CW-3249] (#9443) 2024-05-15 10:45:03 +05:30
portal fix: Fix typo in the font for portals (#9515) 2024-05-21 13:35:35 -07:00
sdk fix: widget does not load when navigating on pages with view transition [CW-3249] (#9443) 2024-05-15 10:45:03 +05:30
shared feat: Linear front end (#9491) 2024-05-23 11:58:24 +05:30
superadmin_pages refactor: handling keyboard shortcuts (#9242) 2024-04-26 15:41:02 +05:30
survey chore(i18n): Update the latest translations (#9340) 2024-05-02 08:18:17 -07:00
v3 feat: Adds support for all snooze option in bulk actions (#9361) 2024-05-09 19:27:31 +05:30
widget chore: Update translations (#9439) 2024-05-15 21:52:30 -07:00