OfficeDev / TeamsFx

Developer tools for building Teams apps
Other
425 stars 163 forks source link

feat: add flag for controlling chat participant and disable it when release rc/beta #11209

Closed Alive-Fish closed 1 month ago

Alive-Fish commented 1 month ago

https://msazure.visualstudio.com/Microsoft%20Teams%20Extensibility/_workitems/edit/26624499

Add TEAMSFX_CHAT_PARTICIPANT flag and set it to true in the code. When releasing rc/stable, change it to false for hiding other entries of chat participant.

Set contributes.chatParticipants to [] to hide chat participant when releasing rc/stable.

Use fx-extension.isChatParticipantEnabled in package.json to control the welcome page content and webview content.

Test in https://github.com/OfficeDev/TeamsFx/actions/runs/8462480742.