Skip to content

Commit

Permalink
feat: Release MS Teams integration (#9527)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dschoordsch committed Mar 13, 2024
1 parent fc4429c commit 1ed2796
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 10 deletions.
3 changes: 1 addition & 2 deletions packages/client/modules/demo/DemoUser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ export default class DemoUser {
createdAt = new Date().toJSON()
email: string
featureFlags = {
azureDevOps: false,
msTeams: false
azureDevOps: false
}
facilitatorUserId: string
facilitatorName: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ const query = graphql`
}
featureFlags {
azureDevOps
msTeams
}
}
}
Expand All @@ -120,7 +119,7 @@ const ProviderList = (props: Props) => {
const data = usePreloadedQuery<ProviderListQuery>(query, queryRef)
const {viewer} = data
const {
featureFlags: {azureDevOps: allowAzureDevOps, msTeams: allowMSTeams}
featureFlags: {azureDevOps: allowAzureDevOps}
} = viewer

const integrations = viewer.teamMember?.integrations
Expand Down Expand Up @@ -166,8 +165,7 @@ const ProviderList = (props: Props) => {
{
name: 'MS Teams',
connected: !!integrations?.msTeams.auth,
component: <MSTeamsProviderRow teamId={teamId} viewerRef={viewer} />,
hidden: !allowMSTeams
component: <MSTeamsProviderRow teamId={teamId} viewerRef={viewer} />
},
{
name: 'Gcal Integration',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ A flag to give an individual user super powers
enum UserFlagEnum {
standups
azureDevOps
msTeams
insights
recurrence
noAISummary
Expand All @@ -21,7 +20,6 @@ The types of flags that give an individual user super powers
type UserFeatureFlags {
standups: Boolean!
azureDevOps: Boolean!
msTeams: Boolean!
insights: Boolean!
recurrence: Boolean!
noAISummary: Boolean!
Expand Down
1 change: 0 additions & 1 deletion packages/server/graphql/public/types/UserFeatureFlags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import {UserFeatureFlagsResolvers} from '../resolverTypes'

const UserFeatureFlags: UserFeatureFlagsResolvers = {
azureDevOps: ({azureDevOps}) => !!azureDevOps,
msTeams: ({msTeams}) => !!msTeams,
insights: ({insights}) => !!insights,
noAISummary: ({noAISummary}) => !!noAISummary,
noMeetingHistoryLimit: ({noMeetingHistoryLimit}) => !!noMeetingHistoryLimit,
Expand Down
1 change: 0 additions & 1 deletion packages/server/graphql/types/UserFlagEnum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const UserFlagEnum = new GraphQLEnumType({
description: 'A flag to give an individual user super powers',
values: {
azureDevOps: {},
msTeams: {},
noAISummary: {},
noMeetingHistoryLimit: {},
adHocTeams: {},
Expand Down

0 comments on commit 1ed2796

Please sign in to comment.