OfficeDev / teams-toolkit

Developer tools for building Teams apps
Other
466 stars 192 forks source link

feat: list tenant when user clicks switch tenant button #12580

Closed HuihuiWu-Microsoft closed 3 weeks ago

HuihuiWu-Microsoft commented 3 weeks ago
  1. Add switch tenant context button
  2. List tenant when user switch tenant
  3. Logic will be implemented in later PR ADO: https://msazure.visualstudio.com/Microsoft%20Teams%20Extensibility/_workitems/edit/29860142 Screenshot:

https://github.com/user-attachments/assets/2529dc32-d746-4410-981d-0347dcffdc31

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 90.19608% with 5 lines in your changes missing coverage. Please review.

Project coverage is 89.94%. Comparing base (0b83296) to head (56a5219). Report is 7 commits behind head on dev.

Files with missing lines Patch % Lines
...nsion/src/handlers/accounts/switchTenantHandler.ts 89.79% 1 Missing and 4 partials :warning:
Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/OfficeDev/teams-toolkit/pull/12580/graphs/tree.svg?width=650&height=150&src=pr&token=QQX8WVOEC3&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OfficeDev)](https://app.codecov.io/gh/OfficeDev/teams-toolkit/pull/12580?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OfficeDev) ```diff @@ Coverage Diff @@ ## dev #12580 +/- ## ========================================== - Coverage 89.94% 89.94% -0.01% ========================================== Files 571 572 +1 Lines 33794 33838 +44 Branches 6552 6605 +53 ========================================== + Hits 30397 30436 +39 - Misses 1495 1496 +1 - Partials 1902 1906 +4 ``` | [Files with missing lines](https://app.codecov.io/gh/OfficeDev/teams-toolkit/pull/12580?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OfficeDev) | Coverage Δ | | |---|---|---| | [...code-extension/src/telemetry/extTelemetryEvents.ts](https://app.codecov.io/gh/OfficeDev/teams-toolkit/pull/12580?src=pr&el=tree&filepath=packages%2Fvscode-extension%2Fsrc%2Ftelemetry%2FextTelemetryEvents.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OfficeDev#diff-cGFja2FnZXMvdnNjb2RlLWV4dGVuc2lvbi9zcmMvdGVsZW1ldHJ5L2V4dFRlbGVtZXRyeUV2ZW50cy50cw==) | `100.00% <100.00%> (ø)` | | | [...nsion/src/handlers/accounts/switchTenantHandler.ts](https://app.codecov.io/gh/OfficeDev/teams-toolkit/pull/12580?src=pr&el=tree&filepath=packages%2Fvscode-extension%2Fsrc%2Fhandlers%2Faccounts%2FswitchTenantHandler.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OfficeDev#diff-cGFja2FnZXMvdnNjb2RlLWV4dGVuc2lvbi9zcmMvaGFuZGxlcnMvYWNjb3VudHMvc3dpdGNoVGVuYW50SGFuZGxlci50cw==) | `89.79% <89.79%> (ø)` | | ... and [3 files with indirect coverage changes](https://app.codecov.io/gh/OfficeDev/teams-toolkit/pull/12580/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OfficeDev)