iachat/app/javascript/dashboard
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
..
api feat: Add title while linking the linear issue (#9529) 2024-05-23 13:32:41 +05:30
assets chore: Remove word spacing from p (#9353) 2024-05-06 18:27:56 -07:00
components feat: Add title while linking the linear issue (#9529) 2024-05-23 13:32:41 +05:30
composables feat: setup composables for vue 2.7 (#9305) 2024-04-29 17:00:49 +05:30
constants feat: Better SLA missed events popover (#9215) 2024-04-10 12:49:38 +05:30
helper fix: Right click Snooze is not working (#9498) 2024-05-22 13:03:49 +05:30
i18n feat: new re-authorization flow for Microsoft (#9510) 2024-05-23 16:03:40 +05:30
mixins fix: Cannot read properties of undefined (reading 'toLowerCase') (#9511) 2024-05-23 12:08:04 +05:30
modules feat: Remove the usage of clickAway mixin with directive (#9323) 2024-04-30 10:35:14 +05:30
routes feat: new re-authorization flow for Microsoft (#9510) 2024-05-23 16:03:40 +05:30
store feat: Add APIs for linear integration (#9346) 2024-05-22 13:37:58 +05:30
App.vue chore: Hide banners on onboarding view (#8934) 2024-02-20 16:12:51 -08:00
App.Vue.spec.js Move src to dashboard (#152) 2019-10-16 14:36:17 +05:30
featureFlags.js feat: Linear front end (#9491) 2024-05-23 11:58:24 +05:30